Lines Matching defs:mmu

23 #include "mmu.h"
28 #include "mmu/page_track.h"
802 fault_mmu = fault->nested_page_fault ? vcpu->arch.mmu :
868 struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
873 u64 pdpte[ARRAY_SIZE(mmu->pdptrs)];
879 real_gpa = kvm_translate_gpa(vcpu, mmu, gfn_to_gpa(pdpt_gfn),
901 if (!tdp_enabled && memcmp(mmu->pdptrs, pdpte, sizeof(mmu->pdptrs)))
902 kvm_mmu_free_roots(vcpu->kvm, mmu, KVM_MMU_ROOT_CURRENT);
904 memcpy(mmu->pdptrs, pdpte, sizeof(mmu->pdptrs));
1225 struct kvm_mmu *mmu = vcpu->arch.mmu;
1260 if (kvm_get_pcid(vcpu, mmu->prev_roots[i].pgd) == pcid)
1263 kvm_mmu_free_roots(vcpu->kvm, mmu, roots_to_free);
7305 struct kvm_mmu *mmu = vcpu->arch.mmu;
7312 t_gpa = mmu->gva_to_gpa(vcpu, mmu, gpa, access, exception);
7320 struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
7323 return mmu->gva_to_gpa(vcpu, mmu, gva, access, exception);
7330 struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
7334 return mmu->gva_to_gpa(vcpu, mmu, gva, access, exception);
7342 struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
7344 return mmu->gva_to_gpa(vcpu, mmu, gva, 0, exception);
7351 struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
7356 gpa_t gpa = mmu->gva_to_gpa(vcpu, mmu, addr, access, exception);
7384 struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
7390 gpa_t gpa = mmu->gva_to_gpa(vcpu, mmu, addr, access|PFERR_FETCH_MASK,
7443 struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
7448 gpa_t gpa = mmu->gva_to_gpa(vcpu, mmu, addr, access, exception);
7547 struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
7565 *gpa = mmu->gva_to_gpa(vcpu, mmu, gva, access, exception);
8596 if (!vcpu->arch.mmu->root_role.direct) {
8628 /* The instructions are well-emulated on direct mmu. */
8629 if (vcpu->arch.mmu->root_role.direct) {
8697 if (!vcpu->arch.mmu->root_role.direct)
8991 if (vcpu->arch.mmu->root_role.direct) {
13342 struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
13348 mmu->gva_to_gpa(vcpu, mmu, gva, access, &fault) != INVALID_GPA) {