Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/mm/book3s64/
Dhash_64k.c41 unsigned long hpte_group; in __hash_page_4K() local
157 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
160 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K()
168 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
169 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_4K()
183 mmu_hash_ops.hpte_invalidate(hpte_group + gslot, vpn, in __hash_page_4K()
196 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
198 mmu_hash_ops.hpte_remove(hpte_group); in __hash_page_4K()
228 unsigned long hpte_group; in __hash_page_64K() local
290 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_64K()
[all …]
Dhash_4k.c24 unsigned long hpte_group; in __hash_page_4K() local
83 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
86 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K()
92 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K()
93 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_4K()
100 hpte_group = (hash & htab_hash_mask) * in __hash_page_4K()
102 mmu_hash_ops.hpte_remove(hpte_group); in __hash_page_4K()
Dhash_hugepage.c129 unsigned long hpte_group; in __hash_page_thp() local
137 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
140 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_thp()
146 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp()
147 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_thp()
153 hpte_group = (hash & htab_hash_mask) * in __hash_page_thp()
156 mmu_hash_ops.hpte_remove(hpte_group); in __hash_page_thp()
Dhash_native.c344 static long native_hpte_insert(unsigned long hpte_group, unsigned long vpn, in native_hpte_insert() argument
348 struct hash_pte *hptep = htab_address + hpte_group; in native_hpte_insert()
355 hpte_group, vpn, pa, rflags, vflags, psize); in native_hpte_insert()
400 static long native_hpte_remove(unsigned long hpte_group) in native_hpte_remove() argument
407 DBG_LOW(" remove(group=%lx)\n", hpte_group); in native_hpte_remove()
413 hptep = htab_address + hpte_group + slot_offset; in native_hpte_remove()
513 unsigned long hpte_group; in native_hpte_find() local
525 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
526 slot = __native_hpte_find(want_v, hpte_group); in native_hpte_find()
529 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
[all …]
Dhash_utils.c1869 unsigned long hpte_group; in hpte_insert_repeating() local
1873 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1876 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, vflags, in hpte_insert_repeating()
1881 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1882 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, in hpte_insert_repeating()
1887 hpte_group = (hash & htab_hash_mask) * in hpte_insert_repeating()
1890 mmu_hash_ops.hpte_remove(hpte_group); in hpte_insert_repeating()
/Linux-v5.10/arch/powerpc/platforms/ps3/
Dhtab.c35 static long ps3_hpte_insert(unsigned long hpte_group, unsigned long vpn, in ps3_hpte_insert() argument
59 result = lv1_insert_htab_entry(PS3_LPAR_VAS_ID_CURRENT, hpte_group, in ps3_hpte_insert()
68 __func__, ps3_result(result), vpn, pa, hpte_group, in ps3_hpte_insert()
93 static long ps3_hpte_remove(unsigned long hpte_group) in ps3_hpte_remove() argument
/Linux-v5.10/arch/powerpc/mm/ptdump/
Dhashpagetable.c210 unsigned long hash, vsid, vpn, hpte_group, want_v, hpte_v; in native_find() local
223 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_find()
225 hptep = htab_address + hpte_group; in native_find()
234 ++hpte_group; in native_find()
242 unsigned long vsid, vpn, hash, hpte_group, want_v; in pseries_find() local
256 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pseries_find()
258 for (i = 0; i < HPTES_PER_GROUP; i += 4, hpte_group += 4) { in pseries_find()
259 lpar_rc = plpar_pte_read_4(0, hpte_group, (void *)ptes); in pseries_find()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dlpar.c714 static long pSeries_lpar_hpte_insert(unsigned long hpte_group, in pSeries_lpar_hpte_insert() argument
727 hpte_group, vpn, pa, rflags, vflags, psize); in pSeries_lpar_hpte_insert()
746 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()
772 static long pSeries_lpar_hpte_remove(unsigned long hpte_group) in pSeries_lpar_hpte_remove() argument
785 lpar_rc = plpar_pte_remove(H_ANDCOND, hpte_group + slot_offset, in pSeries_lpar_hpte_remove()
912 static long __pSeries_lpar_hpte_find(unsigned long want_v, unsigned long hpte_group) in __pSeries_lpar_hpte_find() argument
921 for (i = 0; i < HPTES_PER_GROUP; i += 4, hpte_group += 4) { in __pSeries_lpar_hpte_find()
923 lpar_rc = plpar_pte_read_4(0, hpte_group, (void *)ptes); in __pSeries_lpar_hpte_find()
926 hpte_group, lpar_rc); in __pSeries_lpar_hpte_find()
945 unsigned long hpte_group; in pSeries_lpar_hpte_find() local
[all …]
/Linux-v5.10/arch/powerpc/include/asm/
Dplpar_wrappers.h94 unsigned long hpte_group, unsigned long hpte_v, in plpar_pte_enter() argument
100 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r); in plpar_pte_enter()
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h148 long (*hpte_insert)(unsigned long hpte_group,
155 long (*hpte_remove)(unsigned long hpte_group);