Home
last modified time | relevance | path

Searched refs:walk_mmu (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/arch/x86/kvm/
Dkvm_cache_regs.h113 return vcpu->arch.walk_mmu->pdptrs[index]; in kvm_pdptr_read()
Dx86.h125 return vcpu->arch.walk_mmu == &vcpu->arch.nested_mmu; in mmu_is_nested()
Dx86.c652 vcpu->arch.walk_mmu; in kvm_inject_emulated_page_fault()
737 return kvm_read_guest_page_mmu(vcpu, vcpu->arch.walk_mmu, gfn, in kvm_read_nested_guest_page()
785 u64 pdpte[ARRAY_SIZE(vcpu->arch.walk_mmu->pdptrs)]; in pdptrs_changed()
803 return memcmp(pdpte, vcpu->arch.walk_mmu->pdptrs, sizeof(pdpte)) != 0; in pdptrs_changed()
842 !load_pdptrs(vcpu, vcpu->arch.walk_mmu, kvm_read_cr3(vcpu))) in kvm_set_cr0()
996 && !load_pdptrs(vcpu, vcpu->arch.walk_mmu, in kvm_set_cr4()
1047 !load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3)) in kvm_set_cr3()
5869 return vcpu->arch.walk_mmu->gva_to_gpa(vcpu, gva, access, exception); in kvm_mmu_gva_to_gpa_read()
5877 return vcpu->arch.walk_mmu->gva_to_gpa(vcpu, gva, access, exception); in kvm_mmu_gva_to_gpa_fetch()
5885 return vcpu->arch.walk_mmu->gva_to_gpa(vcpu, gva, access, exception); in kvm_mmu_gva_to_gpa_write()
[all …]
/Linux-v5.10/arch/x86/kvm/svm/
Dnested.c89 vcpu->arch.walk_mmu = &vcpu->arch.nested_mmu; in nested_svm_init_mmu_context()
95 vcpu->arch.walk_mmu = &vcpu->arch.root_mmu; in nested_svm_uninit_mmu_context()
356 if (!load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3)) in nested_svm_load_cr3()
Dsvm.c1454 load_pdptrs(vcpu, vcpu->arch.walk_mmu, kvm_read_cr3(vcpu)); in svm_cache_reg()
/Linux-v5.10/arch/x86/kvm/vmx/
Dnested.c367 vcpu->arch.walk_mmu = &vcpu->arch.nested_mmu; in nested_ept_init_mmu_context()
373 vcpu->arch.walk_mmu = &vcpu->arch.root_mmu; in nested_ept_uninit_mmu_context()
1135 if (CC(!load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3))) { in nested_vmx_load_cr3()
2610 vcpu->arch.walk_mmu->inject_page_fault = vmx_inject_page_fault_nested; in prepare_vmcs02()
4193 vcpu->arch.walk_mmu->inject_page_fault = kvm_inject_page_fault; in load_vmcs12_host_state()
5445 struct kvm_mmu *mmu = vcpu->arch.walk_mmu; in nested_vmx_eptp_switching()
Dvmx.c2948 struct kvm_mmu *mmu = vcpu->arch.walk_mmu; in vmx_ept_load_pdptrs()
2963 struct kvm_mmu *mmu = vcpu->arch.walk_mmu; in ept_save_pdptrs()
/Linux-v5.10/arch/x86/kvm/mmu/
Dpaging_tmpl.h505 walker->fault.nested_page_fault = mmu != vcpu->arch.walk_mmu; in FNAME()
Dmmu.c5329 vcpu->arch.walk_mmu = &vcpu->arch.root_mmu; in kvm_mmu_create()
/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h591 struct kvm_mmu *walk_mmu; member