Searched refs:hptep (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/mm/book3s64/ |
D | hash_native.c | 323 static inline void native_lock_hpte(struct hash_pte *hptep) in native_lock_hpte() argument 325 unsigned long *word = (unsigned long *)&hptep->v; in native_lock_hpte() 337 static inline void native_unlock_hpte(struct hash_pte *hptep) in native_unlock_hpte() argument 339 unsigned long *word = (unsigned long *)&hptep->v; in native_unlock_hpte() 348 struct hash_pte *hptep = htab_address + hpte_group; in native_hpte_insert() local 359 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) { in native_hpte_insert() 361 native_lock_hpte(hptep); in native_hpte_insert() 362 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) in native_hpte_insert() 364 native_unlock_hpte(hptep); in native_hpte_insert() 367 hptep++; in native_hpte_insert() [all …]
|
/arch/powerpc/kvm/ |
D | book3s_64_mmu_hv.c | 340 __be64 *hptep; in kvmppc_mmu_book3s_64_hv_xlate() local 366 hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); in kvmppc_mmu_book3s_64_hv_xlate() 367 v = orig_v = be64_to_cpu(hptep[0]) & ~HPTE_V_HVLOCK; in kvmppc_mmu_book3s_64_hv_xlate() 369 v = hpte_new_to_old_v(v, be64_to_cpu(hptep[1])); in kvmppc_mmu_book3s_64_hv_xlate() 372 unlock_hpte(hptep, orig_v); in kvmppc_mmu_book3s_64_hv_xlate() 489 __be64 *hptep; in kvmppc_book3s_hv_page_fault() local 531 hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); in kvmppc_book3s_hv_page_fault() 534 while (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) in kvmppc_book3s_hv_page_fault() 536 hpte[0] = be64_to_cpu(hptep[0]) & ~HPTE_V_HVLOCK; in kvmppc_book3s_hv_page_fault() 537 hpte[1] = be64_to_cpu(hptep[1]); in kvmppc_book3s_hv_page_fault() [all …]
|
D | trace_hv.h | 273 TP_PROTO(struct kvm_vcpu *vcpu, unsigned long *hptep, 277 TP_ARGS(vcpu, hptep, memslot, ea, dsisr), 292 __entry->hpte_v = hptep[0]; 293 __entry->hpte_r = hptep[1]; 294 __entry->gpte_r = hptep[2]; 309 TP_PROTO(struct kvm_vcpu *vcpu, unsigned long *hptep, long ret), 311 TP_ARGS(vcpu, hptep, ret), 322 __entry->hpte_v = hptep[0]; 323 __entry->hpte_r = hptep[1];
|
D | book3s_hv_rm_mmu.c | 1013 void kvmppc_invalidate_hpte(struct kvm *kvm, __be64 *hptep, in kvmppc_invalidate_hpte() argument 1019 hptep[0] &= ~cpu_to_be64(HPTE_V_VALID); in kvmppc_invalidate_hpte() 1020 hp0 = be64_to_cpu(hptep[0]); in kvmppc_invalidate_hpte() 1021 hp1 = be64_to_cpu(hptep[1]); in kvmppc_invalidate_hpte() 1031 void kvmppc_clear_ref_hpte(struct kvm *kvm, __be64 *hptep, in kvmppc_clear_ref_hpte() argument 1038 hp0 = be64_to_cpu(hptep[0]); in kvmppc_clear_ref_hpte() 1039 hp1 = be64_to_cpu(hptep[1]); in kvmppc_clear_ref_hpte() 1045 rbyte = (be64_to_cpu(hptep[1]) & ~HPTE_R_R) >> 8; in kvmppc_clear_ref_hpte() 1047 *((char *)hptep + 14) = rbyte; in kvmppc_clear_ref_hpte()
|
/arch/powerpc/mm/ptdump/ |
D | hashpagetable.c | 209 struct hash_pte *hptep; in native_find() local 225 hptep = htab_address + hpte_group; in native_find() 226 hpte_v = be64_to_cpu(hptep->v); in native_find() 230 *v = be64_to_cpu(hptep->v); in native_find() 231 *r = be64_to_cpu(hptep->r); in native_find()
|
/arch/powerpc/include/asm/book3s/64/ |
D | mmu-hash.h | 374 static inline unsigned long hpte_get_old_v(struct hash_pte *hptep) in hpte_get_old_v() argument 378 hpte_v = be64_to_cpu(hptep->v); in hpte_get_old_v() 380 hpte_v = hpte_new_to_old_v(hpte_v, be64_to_cpu(hptep->r)); in hpte_get_old_v()
|
/arch/powerpc/include/asm/ |
D | kvm_book3s.h | 242 extern void kvmppc_invalidate_hpte(struct kvm *kvm, __be64 *hptep, 244 void kvmppc_clear_ref_hpte(struct kvm *kvm, __be64 *hptep,
|