Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/mm/
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; in __hash_page_thp()
140 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
147 hpte_group = (hash & htab_hash_mask) * in __hash_page_thp()
Dhash64_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()
308 hpte_group = (hash & htab_hash_mask) * in __hash_page_64K()
Dhash64_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()
100 hpte_group = (hash & htab_hash_mask) * in __hash_page_4K()
Dhash_native_64.c478 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
627 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hugepage_invalidate()
706 vpi = (vsid ^ pteg) & htab_hash_mask; in hpte_decode()
716 vpi = (vsid ^ (vsid << 25) ^ pteg) & htab_hash_mask; in hpte_decode()
753 pteg_count = htab_hash_mask + 1; in native_hpte_clear()
812 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_flush_hash_range()
Dhash_utils_64.c105 unsigned long htab_hash_mask; variable
106 EXPORT_SYMBOL_GPL(htab_hash_mask);
292 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
847 htab_hash_mask = pteg_count - 1; in htab_initialize()
1624 gslot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pte_get_hash_gslot()
1701 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_hugepage()
1755 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1763 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1769 hpte_group = (hash & htab_hash_mask) * in hpte_insert_repeating()
1820 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in kernel_unmap_linear_page()
Ddump_hashpagetable.c228 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_find()
262 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pseries_find()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dlpar.c371 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find()
498 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hugepage_invalidate()
579 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_flush_hash_range()
645 htab_hash_mask = (htab_size_bytes >> 7) - 1; in pseries_lpar_resize_hpt_commit()
/Linux-v4.19/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()
/Linux-v4.19/arch/powerpc/kernel/
Dsetup-common.c831 if (htab_hash_mask) in print_system_info()
832 pr_info("htab_hash_mask = 0x%lx\n", htab_hash_mask); in print_system_info()
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h186 extern unsigned long htab_hash_mask;