Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhash_64k.c159 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
170 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
198 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
295 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_64K()
305 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_64K()
314 HPTES_PER_GROUP; in __hash_page_64K()
Dhash_hugepage.c106 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
134 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
143 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
151 HPTES_PER_GROUP; in __hash_page_thp()
Dhash_native.c282 for (i = 0; i < HPTES_PER_GROUP; i++) { in native_hpte_insert()
294 if (i == HPTES_PER_GROUP) { in native_hpte_insert()
343 for (i = 0; i < HPTES_PER_GROUP; i++) { in native_hpte_remove()
361 if (i == HPTES_PER_GROUP) { in native_hpte_remove()
438 for (i = 0; i < HPTES_PER_GROUP; i++) { in __native_hpte_find()
465 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
469 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
625 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hugepage_invalidate()
691 pteg = slot / HPTES_PER_GROUP; in hpte_decode()
751 slots = pteg_count * HPTES_PER_GROUP; in native_hpte_clear()
[all …]
Dhash_4k.c85 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
94 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
103 HPTES_PER_GROUP; in __hash_page_4K()
Dhash_utils.c406 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
425 hpteg = ((~hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
1928 gslot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pte_get_hash_gslot()
2002 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_hugepage()
2035 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
2043 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
2050 HPTES_PER_GROUP; in hpte_insert_repeating()
2071 for (i = 0; i < HPTES_PER_GROUP; i++) { in hpt_clear_stress()
2096 for (i = 0; i < HPTES_PER_GROUP; i++) { in hpt_do_stress()
2171 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in kernel_unmap_linear_page()
/linux-6.12.1/arch/powerpc/mm/ptdump/
Dhashpagetable.c223 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_find()
224 for (i = 0; i < HPTES_PER_GROUP; i++) { in native_find()
259 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pseries_find()
261 for (i = 0; i < HPTES_PER_GROUP; i += 4, hpte_group += 4) { in pseries_find()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dlpar.c824 for (i = 0; i < HPTES_PER_GROUP; i++) { in pSeries_lpar_hpte_remove()
967 for (i = 0; i < HPTES_PER_GROUP; i += 4, hpte_group += 4) { in __pSeries_lpar_hpte_find()
1000 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find()
1004 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find()
1276 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hugepage_invalidate()
1340 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in compute_slot()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_64_mmu_host.c160 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page()
191 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page()
Dbook3s_64_mmu_hv.c1299 pteg = idx / HPTES_PER_GROUP; in resize_hpt_rehash_hpte()
1330 new_idx = new_pteg * HPTES_PER_GROUP + (idx % HPTES_PER_GROUP); in resize_hpt_rehash_hpte()
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h66 #define HPTES_PER_GROUP 8 macro