/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | hash_native.c | 349 unsigned long hpte_v, hpte_r; in native_hpte_insert() local 373 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in native_hpte_insert() 378 i, hpte_v, hpte_r); in native_hpte_insert() 382 hpte_r = hpte_old_to_new_r(hpte_v, hpte_r); in native_hpte_insert() 383 hpte_v = hpte_old_to_new_v(hpte_v); in native_hpte_insert() 393 hptep->v = cpu_to_be64(hpte_v); in native_hpte_insert() 405 unsigned long hpte_v; in native_hpte_remove() local 414 hpte_v = be64_to_cpu(hptep->v); in native_hpte_remove() 416 if ((hpte_v & HPTE_V_VALID) && !(hpte_v & HPTE_V_BOLTED)) { in native_hpte_remove() 419 hpte_v = be64_to_cpu(hptep->v); in native_hpte_remove() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/ |
D | htab.c | 40 u64 hpte_v, hpte_r; in ps3_hpte_insert() local 53 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert() 60 hpte_v, hpte_r, in ps3_hpte_insert() 69 hpte_v, hpte_r); in ps3_hpte_insert() 104 u64 hpte_v, want_v, hpte_rs; in ps3_hpte_updatepp() local 124 hpte_v = hpte_v_array[slot % 4]; in ps3_hpte_updatepp() 133 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in ps3_hpte_updatepp()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 203 static inline void unlock_hpte(__be64 *hpte, unsigned long hpte_v) in unlock_hpte() argument 205 hpte_v &= ~HPTE_V_HVLOCK; in unlock_hpte() 207 hpte[0] = cpu_to_be64(hpte_v); in unlock_hpte() 211 static inline void __unlock_hpte(__be64 *hpte, unsigned long hpte_v) in __unlock_hpte() argument 213 hpte_v &= ~HPTE_V_HVLOCK; in __unlock_hpte() 214 hpte[0] = cpu_to_be64(hpte_v); in __unlock_hpte() 513 static inline int is_vrma_hpte(unsigned long hpte_v) in is_vrma_hpte() argument 515 return (hpte_v & ~0xffffffUL) == in is_vrma_hpte()
|
D | plpar_wrappers.h | 94 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()
|
D | kvm_host.h | 478 unsigned long hpte_v; member
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | trace_hv.h | 281 __field(unsigned long, hpte_v) 292 __entry->hpte_v = hptep[0]; 303 __entry->hpte_v, __entry->hpte_r, __entry->gpte_r, 315 __field(unsigned long, hpte_v) 322 __entry->hpte_v = hptep[0]; 329 __entry->hpte_v, __entry->hpte_r, __entry->ret)
|
D | book3s_hv_rm_mmu.c | 123 unsigned long hpte_v, unsigned long hpte_gr) in kvmppc_set_dirty_from_hpte() argument 129 psize = kvmppc_actual_pgsz(hpte_v, hpte_gr); in kvmppc_set_dirty_from_hpte() 137 static unsigned long *revmap_for_hpte(struct kvm *kvm, unsigned long hpte_v, in revmap_for_hpte() argument 146 gfn = hpte_rpn(hpte_gr, kvmppc_actual_pgsz(hpte_v, hpte_gr)); in revmap_for_hpte() 162 unsigned long hpte_v, unsigned long hpte_r) in remove_revmap_chain() argument 173 rmap = revmap_for_hpte(kvm, hpte_v, ptel, &memslot, &gfn); in remove_revmap_chain() 193 kvmppc_actual_pgsz(hpte_v, hpte_r)); in remove_revmap_chain() 1210 v = cache_entry->hpte_v; in kvmppc_hpte_hv_fault() 1286 cache_entry->hpte_v = v; in kvmppc_hpte_hv_fault()
|
D | book3s_64_mmu_hv.c | 1883 __be64 hpte_v; in kvm_htab_write() local 1887 if (__get_user(hpte_v, lbuf) || in kvm_htab_write() 1890 v = be64_to_cpu(hpte_v); in kvm_htab_write()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | lpar.c | 722 unsigned long hpte_v, hpte_r; in pSeries_lpar_hpte_insert() local 729 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert() 733 pr_devel(" hpte_v=%016lx, hpte_r=%016lx\n", hpte_v, hpte_r); in pSeries_lpar_hpte_insert() 746 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()
|