Home
last modified time | relevance | path

Searched refs:ptegp (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_32_mmu.c187 hva_t ptegp; in kvmppc_mmu_book3s_32_xlate_pte() local
201 ptegp = kvmppc_mmu_book3s_32_get_pteg(vcpu, sre, eaddr, primary); in kvmppc_mmu_book3s_32_xlate_pte()
202 if (kvm_is_error_hva(ptegp)) { in kvmppc_mmu_book3s_32_xlate_pte()
209 if(copy_from_user(pteg, (void __user *)ptegp, sizeof(pteg))) { in kvmppc_mmu_book3s_32_xlate_pte()
211 "KVM: Can't copy data from 0x%lx!\n", ptegp); in kvmppc_mmu_book3s_32_xlate_pte()
256 char __user *addr = (char __user *) (ptegp + (i+1) * sizeof(u32)); in kvmppc_mmu_book3s_32_xlate_pte()
279 to_book3s(vcpu)->sdr1, ptegp); in kvmppc_mmu_book3s_32_xlate_pte()
Dbook3s_64_mmu.c196 hva_t ptegp; in kvmppc_mmu_book3s_64_xlate() local
247 ptegp = kvmppc_mmu_book3s_64_get_pteg(vcpu, slbe, eaddr, second); in kvmppc_mmu_book3s_64_xlate()
248 if (kvm_is_error_hva(ptegp)) in kvmppc_mmu_book3s_64_xlate()
251 if(copy_from_user(pteg, (void __user *)ptegp, sizeof(pteg))) { in kvmppc_mmu_book3s_64_xlate()
253 "KVM: Can't copy data from 0x%lx!\n", ptegp); in kvmppc_mmu_book3s_64_xlate()
336 char __user *addr = (char __user *) (ptegp + (i + 1) * sizeof(u64)); in kvmppc_mmu_book3s_64_xlate()
343 char __user *addr = (char __user *) (ptegp + (i + 1) * sizeof(u64)); in kvmppc_mmu_book3s_64_xlate()