Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/mm/book3s64/
H A 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()
H A 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()
H A 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 …]
H A 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()
H A 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()
1918 gslot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pte_get_hash_gslot()
1992 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_hugepage()
2025 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
2033 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
2040 HPTES_PER_GROUP; in hpte_insert_repeating()
2061 for (i = 0; i < HPTES_PER_GROUP; i++) { in hpt_clear_stress()
2086 for (i = 0; i < HPTES_PER_GROUP; i++) { in hpt_do_stress()
2161 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in kernel_unmap_linear_page()
/openbmc/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c68 hptes = ppc_hash64_map_hptes(cpu, ptex, HPTES_PER_GROUP); in h_enter()
74 ppc_hash64_unmap_hptes(cpu, hptes, ptex, HPTES_PER_GROUP); in h_enter()
530 hwaddr ptex = pteg * HPTES_PER_GROUP; in rehash_hpt()
532 = ppc_hash64_map_hptes(cpu, ptex, HPTES_PER_GROUP); in rehash_hpt()
538 for (slot = 0; slot < HPTES_PER_GROUP; slot++) { in rehash_hpt()
542 ppc_hash64_unmap_hptes(cpu, hptes, ptex, HPTES_PER_GROUP); in rehash_hpt()
546 ppc_hash64_unmap_hptes(cpu, hptes, ptex, HPTES_PER_GROUP); in rehash_hpt()
/openbmc/qemu/target/ppc/
H A Dmmu-hash32.h42 #define HPTES_PER_GROUP 8 macro
44 #define HASH_PTEG_SIZE_32 (HASH_PTE_SIZE_32 * HPTES_PER_GROUP)
H A Dmmu-hash64.h66 #define HPTES_PER_GROUP 8 macro
68 #define HASH_PTEG_SIZE_64 (HASH_PTE_SIZE_64 * HPTES_PER_GROUP)
H A Dmmu-hash64.c592 if (((ptex & ~7ULL) / HPTES_PER_GROUP) & ~ppc_hash64_hpt_mask(cpu)) { in ppc_hash64_valid_ptex()
657 ptex = (hash & ppc_hash64_hpt_mask(cpu)) * HPTES_PER_GROUP; in ppc_hash64_pteg_search()
658 pteg = ppc_hash64_map_hptes(cpu, ptex, HPTES_PER_GROUP); in ppc_hash64_pteg_search()
662 for (i = 0; i < HPTES_PER_GROUP; i++) { in ppc_hash64_pteg_search()
696 ppc_hash64_unmap_hptes(cpu, pteg, ptex, HPTES_PER_GROUP); in ppc_hash64_pteg_search()
700 ppc_hash64_unmap_hptes(cpu, pteg, ptex, HPTES_PER_GROUP); in ppc_hash64_pteg_search()
H A Dmmu-hash32.c212 for (i = 0; i < HPTES_PER_GROUP; i++) { in ppc_hash32_pteg_search()
H A Dkvm.c2790 int m = n < HPTES_PER_GROUP ? n : HPTES_PER_GROUP; in kvmppc_read_hptes()
2791 char buf[sizeof(*hdr) + HPTES_PER_GROUP * HASH_PTE_SIZE_64]; in kvmppc_read_hptes()
/openbmc/linux/arch/powerpc/mm/ptdump/
H A 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()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A 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()
/openbmc/linux/arch/powerpc/kvm/
H A 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()
H A Dbook3s_64_mmu_hv.c1311 pteg = idx / HPTES_PER_GROUP; in resize_hpt_rehash_hpte()
1342 new_idx = new_pteg * HPTES_PER_GROUP + (idx % HPTES_PER_GROUP); in resize_hpt_rehash_hpte()
/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A Dmmu-hash.h66 #define HPTES_PER_GROUP 8 macro