Home
last modified time | relevance | path

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

/linux-6.1.9/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.c265 static long native_hpte_insert(unsigned long hpte_group, unsigned long vpn, in native_hpte_insert() argument
269 struct hash_pte *hptep = htab_address + hpte_group; in native_hpte_insert()
279 hpte_group, vpn, pa, rflags, vflags, psize); in native_hpte_insert()
329 static long native_hpte_remove(unsigned long hpte_group) in native_hpte_remove() argument
336 DBG_LOW(" remove(group=%lx)\n", hpte_group); in native_hpte_remove()
342 hptep = htab_address + hpte_group + slot_offset; in native_hpte_remove()
448 unsigned long hpte_group; in native_hpte_find() local
460 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
461 slot = __native_hpte_find(want_v, hpte_group); in native_hpte_find()
464 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
[all …]
Dhash_utils.c1954 unsigned long hpte_group; in hpte_insert_repeating() local
1958 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1961 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, vflags, in hpte_insert_repeating()
1966 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in hpte_insert_repeating()
1967 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, in hpte_insert_repeating()
1972 hpte_group = (hash & htab_hash_mask) * in hpte_insert_repeating()
1975 mmu_hash_ops.hpte_remove(hpte_group); in hpte_insert_repeating()
/linux-6.1.9/arch/powerpc/platforms/ps3/
Dhtab.c34 static long ps3_hpte_insert(unsigned long hpte_group, unsigned long vpn, in ps3_hpte_insert() argument
58 result = lv1_insert_htab_entry(PS3_LPAR_VAS_ID_CURRENT, hpte_group, in ps3_hpte_insert()
67 __func__, ps3_result(result), vpn, pa, hpte_group, in ps3_hpte_insert()
92 static long ps3_hpte_remove(unsigned long hpte_group) in ps3_hpte_remove() argument
/linux-6.1.9/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()
245 unsigned long vsid, vpn, hash, hpte_group, want_v; in pseries_find() local
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()
262 lpar_rc = plpar_pte_read_4(0, hpte_group, (void *)ptes); in pseries_find()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dlpar.c756 static long pSeries_lpar_hpte_insert(unsigned long hpte_group, in pSeries_lpar_hpte_insert() argument
769 hpte_group, vpn, pa, rflags, vflags, psize); in pSeries_lpar_hpte_insert()
788 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()
814 static long pSeries_lpar_hpte_remove(unsigned long hpte_group) in pSeries_lpar_hpte_remove() argument
827 lpar_rc = plpar_pte_remove(H_ANDCOND, hpte_group + slot_offset, in pSeries_lpar_hpte_remove()
958 static long __pSeries_lpar_hpte_find(unsigned long want_v, unsigned long hpte_group) in __pSeries_lpar_hpte_find() argument
967 for (i = 0; i < HPTES_PER_GROUP; i += 4, hpte_group += 4) { in __pSeries_lpar_hpte_find()
969 lpar_rc = plpar_pte_read_4(0, hpte_group, (void *)ptes); in __pSeries_lpar_hpte_find()
972 hpte_group, lpar_rc); in __pSeries_lpar_hpte_find()
991 unsigned long hpte_group; in pSeries_lpar_hpte_find() local
[all …]
/linux-6.1.9/arch/powerpc/include/asm/
Dplpar_wrappers.h97 unsigned long hpte_group, unsigned long hpte_v, in plpar_pte_enter() argument
103 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r); in plpar_pte_enter()
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h148 long (*hpte_insert)(unsigned long hpte_group,
155 long (*hpte_remove)(unsigned long hpte_group);