Home
last modified time | relevance | path

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

/Linux-v5.10/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()
153 hpte_group = (hash & htab_hash_mask) * 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()
308 hpte_group = (hash & htab_hash_mask) * in __hash_page_64K()
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()
100 hpte_group = (hash & htab_hash_mask) * in __hash_page_4K()
Dhash_utils.c109 unsigned long htab_hash_mask; variable
110 EXPORT_SYMBOL_GPL(htab_hash_mask);
299 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
318 hpteg = ((~hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
897 htab_hash_mask = pteg_count - 1; in htab_initialize()
1745 gslot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pte_get_hash_gslot()
1819 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_hugepage()
1873 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1881 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1887 hpte_group = (hash & htab_hash_mask) * in hpte_insert_repeating()
[all …]
Dhash_native.c525 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
529 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
673 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hugepage_invalidate()
752 vpi = (vsid ^ pteg) & htab_hash_mask; in hpte_decode()
762 vpi = (vsid ^ (vsid << 25) ^ pteg) & htab_hash_mask; in hpte_decode()
799 pteg_count = htab_hash_mask + 1; in native_hpte_clear()
858 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_flush_hash_range()
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_64_mmu_host.c158 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page()
189 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page()
/Linux-v5.10/arch/powerpc/mm/ptdump/
Dhashpagetable.c223 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_find()
256 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pseries_find()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dlpar.c954 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find()
958 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find()
1228 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hugepage_invalidate()
1292 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in compute_slot()
1590 htab_hash_mask = (htab_size_bytes >> 7) - 1; in pseries_lpar_resize_hpt_commit()
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h182 extern unsigned long htab_hash_mask;