Home
last modified time | relevance | path

Searched refs:HPTES_PER_GROUP (Results 1 – 11 of 11) sorted by relevance

/arch/powerpc/mm/
Dhash64_64k.c133 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
166 hpte_group = ((hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in __hash_page_4K()
175 hpte_group = ((~hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in __hash_page_4K()
183 HPTES_PER_GROUP) & ~0x7UL; in __hash_page_4K()
273 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_64K()
288 hpte_group = ((hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in __hash_page_64K()
298 hpte_group = ((~hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in __hash_page_64K()
307 HPTES_PER_GROUP) & ~0x7UL; in __hash_page_64K()
Dhash64_4k.c70 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
84 hpte_group = ((hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in __hash_page_4K()
93 hpte_group = ((~hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in __hash_page_4K()
102 HPTES_PER_GROUP) & ~0x7UL; in __hash_page_4K()
Dhugepage-hash64.c103 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
131 hpte_group = ((hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in __hash_page_thp()
141 HPTES_PER_GROUP) & ~0x7UL; in __hash_page_thp()
149 HPTES_PER_GROUP) & ~0x7UL; in __hash_page_thp()
Dhash_native_64.c257 for (i = 0; i < HPTES_PER_GROUP; i++) { in native_hpte_insert()
269 if (i == HPTES_PER_GROUP) in native_hpte_insert()
311 for (i = 0; i < HPTES_PER_GROUP; i++) { in native_hpte_remove()
329 if (i == HPTES_PER_GROUP) in native_hpte_remove()
407 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
408 for (i = 0; i < HPTES_PER_GROUP; i++) { in native_hpte_find()
557 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hugepage_invalidate()
619 pteg = slot / HPTES_PER_GROUP; in hpte_decode()
679 slots = pteg_count * HPTES_PER_GROUP; in native_hpte_clear()
736 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_flush_hash_range()
Ddump_hashpagetable.c229 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_find()
230 for (i = 0; i < HPTES_PER_GROUP; i++) { in native_find()
263 hpte_group = ((hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in pseries_find()
265 for (i = 0; i < HPTES_PER_GROUP; i += 4, hpte_group += 4) { in pseries_find()
Dhugetlbpage-hash64.c80 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_huge()
Dhash_utils_64.c289 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
1624 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_page()
1686 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_hugepage()
1741 HPTES_PER_GROUP) & ~0x7UL; in hpte_insert_repeating()
1750 HPTES_PER_GROUP) & ~0x7UL; in hpte_insert_repeating()
1757 HPTES_PER_GROUP)&~0x7UL; in hpte_insert_repeating()
1807 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in kernel_unmap_linear_page()
/arch/powerpc/platforms/pseries/
Dlpar.c205 for (i = 0; i < HPTES_PER_GROUP; i++) { in pSeries_lpar_hpte_remove()
341 for (i = 0; i < HPTES_PER_GROUP; i += 4, hpte_group += 4) { in __pSeries_lpar_hpte_find()
368 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find()
495 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hugepage_invalidate()
576 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_flush_hash_range()
/arch/powerpc/kvm/
Dbook3s_64_mmu_host.c170 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page()
201 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page()
Dbook3s_64_mmu_hv.c1323 pteg = idx / HPTES_PER_GROUP; in resize_hpt_rehash_hpte()
1354 new_idx = new_pteg * HPTES_PER_GROUP + (idx % HPTES_PER_GROUP); in resize_hpt_rehash_hpte()
/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h70 #define HPTES_PER_GROUP 8 macro