Home
last modified time | relevance | path

Searched refs:orig_pte (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_64_mmu_host.c82 int kvmppc_mmu_map_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *orig_pte, in kvmppc_mmu_map_page() argument
100 unsigned long gfn = orig_pte->raddr >> PAGE_SHIFT; in kvmppc_mmu_map_page()
108 pfn = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); in kvmppc_mmu_map_page()
111 orig_pte->raddr); in kvmppc_mmu_map_page()
118 vcpu->arch.mmu.esid_to_vsid(vcpu, orig_pte->eaddr >> SID_SHIFT, &vsid); in kvmppc_mmu_map_page()
121 ret = kvmppc_mmu_map_segment(vcpu, orig_pte->eaddr); in kvmppc_mmu_map_page()
127 vsid, orig_pte->eaddr); in kvmppc_mmu_map_page()
133 vpn = hpt_vpn(orig_pte->eaddr, map->host_vsid, MMU_SEGSIZE_256M); in kvmppc_mmu_map_page()
136 if (!orig_pte->may_write || !writable) in kvmppc_mmu_map_page()
143 if (!orig_pte->may_execute) in kvmppc_mmu_map_page()
[all …]
Dbook3s_32_mmu_host.c142 int kvmppc_mmu_map_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *orig_pte, in kvmppc_mmu_map_page() argument
150 u32 eaddr = orig_pte->eaddr; in kvmppc_mmu_map_page()
160 hpaddr = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); in kvmppc_mmu_map_page()
163 orig_pte->raddr); in kvmppc_mmu_map_page()
170 vcpu->arch.mmu.esid_to_vsid(vcpu, orig_pte->eaddr >> SID_SHIFT, &vsid); in kvmppc_mmu_map_page()
210 if (orig_pte->may_write && writable) { in kvmppc_mmu_map_page()
212 mark_page_dirty(vcpu->kvm, orig_pte->raddr >> PAGE_SHIFT); in kvmppc_mmu_map_page()
217 if (orig_pte->may_execute) in kvmppc_mmu_map_page()
253 orig_pte->may_write ? 'w' : '-', in kvmppc_mmu_map_page()
254 orig_pte->may_execute ? 'x' : '-', in kvmppc_mmu_map_page()
[all …]
Dtrace_pr.h32 struct kvmppc_pte *orig_pte),
33 TP_ARGS(rflags, hpteg, va, hpaddr, orig_pte),
48 __entry->eaddr = orig_pte->eaddr;
51 __entry->vpage = orig_pte->vpage;
/arch/sparc/mm/
Dtlb.c210 pte_t orig_pte = __pte(pmd_val(orig)); in set_pmd_at() local
211 bool exec = pte_exec(orig_pte); in set_pmd_at()
/arch/x86/kvm/
Dpaging_tmpl.h142 pt_element_t orig_pte, pt_element_t new_pte) in FNAME()
155 ret = CMPXCHG(&table[index], orig_pte, new_pte); in FNAME()
160 return (ret != orig_pte); in FNAME()
205 pt_element_t pte, orig_pte; in FNAME() local
215 pte = orig_pte = walker->ptes[level - 1]; in FNAME()
228 if (pte == orig_pte) in FNAME()
247 ret = FNAME(cmpxchg_gpte)(vcpu, mmu, ptep_user, index, orig_pte, pte); in FNAME()