Lines Matching defs:mseg
4138 * address of the corresponding struct memseg in mseg, otherwise
4150 #define PAGE_NUM2MEMSEG_NOLOCK_PA(pfn, mseg, tsbmp, tmp1, tmp2, tmp3, label) \
4152 ldx [tmp3 + %lo(mhash_per_slot)], mseg ;\
4153 udivx pfn, mseg, mseg ;\
4155 and mseg, SFMMU_N_MEM_SLOTS - 1, mseg ;\
4156 sllx mseg, SFMMU_MEM_HASH_ENTRY_SHIFT, mseg ;\
4157 add tmp1, mseg, tmp1 ;\
4158 ldxa [tmp1]%asi, mseg ;\
4159 cmp mseg, MSEG_NULLPTR_PA ;\
4162 ldxa [mseg + MEMSEG_PAGES_BASE]%asi, tmp1 ;\
4165 ldxa [mseg + MEMSEG_PAGES_END]%asi, tmp2 ;\
4170 ldxa [mseg + MEMSEG_PAGESPA]%asi, tmp2 /* pages */ ;\
4178 ldx [tmp3 + %lo(memsegspa)], mseg ;\
4180 cmp mseg, MSEG_NULLPTR_PA ;\
4183 ldxa [mseg + MEMSEG_PAGES_BASE]%asi, tmp1 ;\
4186 ldxa [mseg + MEMSEG_NEXTPA]%asi, mseg ;\
4187 ldxa [mseg + MEMSEG_PAGES_END]%asi, tmp2 ;\
4190 ldxa [mseg + MEMSEG_NEXTPA]%asi, mseg ;\
4262 be,pn %xcc, sfmmu_kpm_exception /* if mseg not found */
4515 * if (mseg not found) sfmmu_kpm_exception
4522 be,pn %xcc, sfmmu_kpm_exception /* if mseg not found */