Lines Matching refs:sfmmup

373  * A sfmmup link in the link list of sfmmups that share the same region.
473 #define SFMMU_HMERID2RLINKP(sfmmup, rid, lnkp, alloc, lock) \
479 lnkp = (sfmmup)->sfmmu_hmeregion_links[_l1ix]; \
484 _hatlockp = sfmmu_hat_enter(sfmmup); \
485 if ((sfmmup)->sfmmu_hmeregion_links[_l1ix] != NULL) { \
488 lnkp = (sfmmup)->sfmmu_hmeregion_links[_l1ix]; \
491 (sfmmup)->sfmmu_hmeregion_links[_l1ix] = lnkp; \
497 ASSERT((sfmmup)->sfmmu_hmeregion_links[_l1ix] == NULL); \
498 (sfmmup)->sfmmu_hmeregion_links[_l1ix] = lnkp; \
722 #define SF_RGNMAP_ISNULL(sfmmup) \
723 (sfrgnmap_isnull(&(sfmmup)->sfmmu_region_map))
724 #define SF_HMERGNMAP_ISNULL(sfmmup) \
725 (sfhmergnmap_isnull(&(sfmmup)->sfmmu_hmeregion_map))
815 * Macros for sfmmup->sfmmu_flags access. The macros that change the flags
821 #define SFMMU_FLAGS_ISSET(sfmmup, flags) \
822 (((sfmmup)->sfmmu_flags & (flags)) == (flags))
824 #define SFMMU_FLAGS_CLEAR(sfmmup, flags) \
825 (ASSERT(sfmmu_hat_lock_held((sfmmup))), \
826 (sfmmup)->sfmmu_flags &= ~(flags))
828 #define SFMMU_FLAGS_SET(sfmmup, flags) \
829 (ASSERT(sfmmu_hat_lock_held((sfmmup))), \
830 (sfmmup)->sfmmu_flags |= (flags))
832 #define SFMMU_TTEFLAGS_ISSET(sfmmup, flags) \
833 ((((sfmmup)->sfmmu_tteflags | (sfmmup)->sfmmu_rtteflags) & (flags)) == \
862 #define SFMMU_LGPGS_INUSE(sfmmup) \
863 (((sfmmup)->sfmmu_tteflags | (sfmmup)->sfmmu_rtteflags) || \
864 ((sfmmup)->sfmmu_iblk != NULL))
1191 #define HME_REHASH(sfmmup) \
1192 ((sfmmup)->sfmmu_ttecnt[TTE512K] != 0 || \
1193 (sfmmup)->sfmmu_ttecnt[TTE4M] != 0 || \
1194 (sfmmup)->sfmmu_ttecnt[TTE32M] != 0 || \
1195 (sfmmup)->sfmmu_ttecnt[TTE256M] != 0)
1387 * The tsb miss handlers written in assembly know that sfmmup
1390 * The bspage and re-hash part is 64 bits, with the sfmmup being another 64
1589 #define SFMMU_XCALL_STATS(sfmmup) \
1591 if (sfmmup == ksfmmup) { \
1601 #define sfmmutoas(sfmmup) ((sfmmup)->sfmmu_as)
1603 #define sfmmutohtagid(sfmmup, rid) \
1604 (((rid) == SFMMU_INVALID_SHMERID) ? (void *)(sfmmup) : \
1605 (void *)((sfmmup)->sfmmu_srdp))
1665 #define DEMAP_RANGE_INIT(sfmmup, dmrp) \
1666 (dmrp)->dmr_sfmmup = (sfmmup); \
2018 * sfmmu - In, pass in "sfmmup" from the caller.
2025 add sfmmu, SFMMU_CTXS, scr; /* scr = sfmmup->sfmmu_ctxs[] */ \
2027 add scr, cnum, scr; /* scr = sfmmup->sfmmu_ctxs[id] */ \
2100 * Macro to setup arguments with kernel sfmmup context + page size before
2104 #define SET_KAS_CTXSEC_ARGS(sfmmup, arg0, arg1) \
2108 #define SET_KAS_CTXSEC_ARGS(sfmmup, arg0, arg1) \
2109 ldub [sfmmup + SFMMU_CEXT], arg1; \