/linux-6.12.1/arch/powerpc/mm/book3s64/ |
D | hash_native.c | 270 unsigned long hpte_v, hpte_r; in native_hpte_insert() local 299 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in native_hpte_insert() 304 i, hpte_v, hpte_r); in native_hpte_insert() 308 hpte_r = hpte_old_to_new_r(hpte_v, hpte_r); in native_hpte_insert() 309 hpte_v = hpte_old_to_new_v(hpte_v); in native_hpte_insert() 320 hptep->v = cpu_to_be64(hpte_v); in native_hpte_insert() 331 unsigned long hpte_v, flags; in native_hpte_remove() local 345 hpte_v = be64_to_cpu(hptep->v); in native_hpte_remove() 347 if ((hpte_v & HPTE_V_VALID) && !(hpte_v & HPTE_V_BOLTED)) { in native_hpte_remove() 350 hpte_v = be64_to_cpu(hptep->v); in native_hpte_remove() [all …]
|
/linux-6.12.1/arch/powerpc/platforms/ps3/ |
D | htab.c | 39 u64 hpte_v, hpte_r; in ps3_hpte_insert() local 52 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert() 59 hpte_v, hpte_r, in ps3_hpte_insert() 68 hpte_v, hpte_r); in ps3_hpte_insert() 103 u64 hpte_v, want_v, hpte_rs; in ps3_hpte_updatepp() local 123 hpte_v = hpte_v_array[slot % 4]; in ps3_hpte_updatepp() 132 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in ps3_hpte_updatepp()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 200 static inline void unlock_hpte(__be64 *hpte, unsigned long hpte_v) in unlock_hpte() argument 202 hpte_v &= ~HPTE_V_HVLOCK; in unlock_hpte() 204 hpte[0] = cpu_to_be64(hpte_v); in unlock_hpte() 208 static inline void __unlock_hpte(__be64 *hpte, unsigned long hpte_v) in __unlock_hpte() argument 210 hpte_v &= ~HPTE_V_HVLOCK; in __unlock_hpte() 211 hpte[0] = cpu_to_be64(hpte_v); in __unlock_hpte() 514 static inline int is_vrma_hpte(unsigned long hpte_v) in is_vrma_hpte() argument 516 return (hpte_v & ~0xffffffUL) == in is_vrma_hpte()
|
D | plpar_wrappers.h | 71 unsigned long hpte_group, unsigned long hpte_v, in plpar_pte_enter() argument 77 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r); in plpar_pte_enter()
|
D | kvm_host.h | 468 unsigned long hpte_v; member
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | trace_hv.h | 301 __field(unsigned long, hpte_v) 312 __entry->hpte_v = hptep[0]; 323 __entry->hpte_v, __entry->hpte_r, __entry->gpte_r, 335 __field(unsigned long, hpte_v) 342 __entry->hpte_v = hptep[0]; 349 __entry->hpte_v, __entry->hpte_r, __entry->ret)
|
D | book3s_hv_rm_mmu.c | 110 unsigned long hpte_v, unsigned long hpte_gr) in kvmppc_set_dirty_from_hpte() argument 116 psize = kvmppc_actual_pgsz(hpte_v, hpte_gr); in kvmppc_set_dirty_from_hpte() 124 static unsigned long *revmap_for_hpte(struct kvm *kvm, unsigned long hpte_v, in revmap_for_hpte() argument 133 gfn = hpte_rpn(hpte_gr, kvmppc_actual_pgsz(hpte_v, hpte_gr)); in revmap_for_hpte() 149 unsigned long hpte_v, unsigned long hpte_r) in remove_revmap_chain() argument 160 rmap = revmap_for_hpte(kvm, hpte_v, ptel, &memslot, &gfn); in remove_revmap_chain() 180 kvmppc_actual_pgsz(hpte_v, hpte_r)); in remove_revmap_chain() 1212 v = cache_entry->hpte_v; in kvmppc_hpte_hv_fault() 1288 cache_entry->hpte_v = v; in kvmppc_hpte_hv_fault()
|
D | book3s_64_mmu_hv.c | 1869 __be64 hpte_v; in kvm_htab_write() local 1873 if (__get_user(hpte_v, lbuf) || in kvm_htab_write() 1876 v = be64_to_cpu(hpte_v); in kvm_htab_write()
|
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/ |
D | mmu-hash.h | 377 unsigned long hpte_v; in hpte_get_old_v() local 379 hpte_v = be64_to_cpu(hptep->v); in hpte_get_old_v() 381 hpte_v = hpte_new_to_old_v(hpte_v, be64_to_cpu(hptep->r)); in hpte_get_old_v() 382 return hpte_v; in hpte_get_old_v()
|
/linux-6.12.1/arch/powerpc/mm/ptdump/ |
D | hashpagetable.c | 210 unsigned long hash, vsid, vpn, hpte_group, want_v, hpte_v; in native_find() local 226 hpte_v = be64_to_cpu(hptep->v); in native_find() 228 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_find()
|
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | lpar.c | 764 unsigned long hpte_v, hpte_r; in pSeries_lpar_hpte_insert() local 771 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert() 775 pr_devel(" hpte_v=%016lx, hpte_r=%016lx\n", hpte_v, hpte_r); in pSeries_lpar_hpte_insert() 788 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()
|