Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/mm/book3s64/
Dhash_hugepage.c109 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
137 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
146 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
154 HPTES_PER_GROUP; in __hash_page_thp()
Dhash_64k.c157 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
168 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
196 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
290 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_64K()
300 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_64K()
309 HPTES_PER_GROUP; in __hash_page_64K()
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()
341 for (i = 0; i < HPTES_PER_GROUP; i++) { in native_hpte_remove()
359 if (i == HPTES_PER_GROUP) in native_hpte_remove()
433 for (i = 0; i < HPTES_PER_GROUP; i++) { in __native_hpte_find()
460 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
464 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
620 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hugepage_invalidate()
686 pteg = slot / HPTES_PER_GROUP; in hpte_decode()
746 slots = pteg_count * HPTES_PER_GROUP; in native_hpte_clear()
[all …]
Dhash_4k.c83 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
92 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
101 HPTES_PER_GROUP; in __hash_page_4K()
Dhash_utils.c399 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
418 hpteg = ((~hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
1851 gslot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pte_get_hash_gslot()
1925 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_hugepage()
1958 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1966 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1973 HPTES_PER_GROUP; in hpte_insert_repeating()
2031 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in kernel_unmap_linear_page()
/linux-6.1.9/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.1.9/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.1.9/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.c1296 pteg = idx / HPTES_PER_GROUP; in resize_hpt_rehash_hpte()
1327 new_idx = new_pteg * HPTES_PER_GROUP + (idx % HPTES_PER_GROUP); in resize_hpt_rehash_hpte()
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h66 #define HPTES_PER_GROUP 8 macro