Searched refs:N_MEM_SLOTS (Results 1 – 4 of 4) sorted by relevance
1158 #define N_MEM_SLOTS 0x200 /* must be a power of 2 */ macro1159 #define MEMSEG_PFN_HASH(pfn) (((pfn)/mhash_per_slot) & (N_MEM_SLOTS - 1))
5745 struct memseg *memseg_hash[N_MEM_SLOTS];6014 for (i = 0; i < N_MEM_SLOTS; i++) in build_pfn_hash()6017 hat_kpm_mseghash_clear(N_MEM_SLOTS); in build_pfn_hash()6027 if (index >= N_MEM_SLOTS) in build_pfn_hash()
2426 #if (SFMMU_N_MEM_SLOTS != N_MEM_SLOTS)2427 #error SFMMU_N_MEM_SLOTS != N_MEM_SLOTS
90 uint64_t memseg_phash[N_MEM_SLOTS]; /* use physical memseg addresses */