Home
last modified time | relevance | path

Searched refs:hpte_v (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A Dhash_native.c309 hpte_v = hpte_old_to_new_v(hpte_v); in native_hpte_insert()
345 if ((hpte_v & HPTE_V_VALID) && !(hpte_v & HPTE_V_BOLTED)) { in native_hpte_remove()
393 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in native_hpte_updatepp()
437 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in __native_hpte_find()
565 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hpte_invalidate()
570 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hpte_invalidate()
628 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hugepage_invalidate()
633 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hugepage_invalidate()
671 hpte_v = hpte_new_to_old_v(hpte_v, hpte_r); in hpte_decode()
809 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) in native_flush_hash_range()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/ps3/
A Dhtab.c39 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.3-rc2/arch/powerpc/include/asm/
A Dkvm_book3s_64.h200 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()
A 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()
A Dkvm_host.h469 unsigned long hpte_v; member
/linux-6.3-rc2/arch/powerpc/kvm/
A Dtrace_hv.h301 __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)
A Dbook3s_hv_rm_mmu.c110 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()
A Dbook3s_64_mmu_hv.c1866 __be64 hpte_v; in kvm_htab_write() local
1870 if (__get_user(hpte_v, lbuf) || in kvm_htab_write()
1873 v = be64_to_cpu(hpte_v); in kvm_htab_write()
/linux-6.3-rc2/arch/powerpc/include/asm/book3s/64/
A Dmmu-hash.h377 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.3-rc2/arch/powerpc/mm/ptdump/
A Dhashpagetable.c210 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.3-rc2/arch/powerpc/platforms/pseries/
A Dlpar.c765 unsigned long hpte_v, hpte_r; in pSeries_lpar_hpte_insert() local
772 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert()
776 pr_devel(" hpte_v=%016lx, hpte_r=%016lx\n", hpte_v, hpte_r); in pSeries_lpar_hpte_insert()
789 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()

Completed in 28 milliseconds