Home
last modified time | relevance | path

Searched refs:is_paging (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/arch/x86/kvm/
Dx86.h183 static inline int is_paging(struct kvm_vcpu *vcpu) in is_paging() function
190 return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu); in is_pae_paging()
Dx86.c951 if ((vcpu->arch.efer & EFER_LME) && !is_paging(vcpu) && in kvm_set_cr0()
1175 } else if (is_paging(vcpu) && (cr4 & X86_CR4_PAE) in kvm_set_cr4()
1729 if (is_paging(vcpu) && in set_efer()
7413 if (vcpu_match_mmio_gva(vcpu, gva) && (!is_paging(vcpu) || in vcpu_mmio_gva_to_gpa()
13148 return is_paging(vcpu); in kvm_can_deliver_async_pf()
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c1770 bool old_paging = is_paging(vcpu); in svm_set_cr0()
1774 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0()
1779 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0()
1789 if (old_paging != is_paging(vcpu)) in svm_set_cr0()
1838 if (!is_paging(vcpu)) in svm_set_cr4()
Dnested.c1282 if (!(vcpu->arch.efer & EFER_SVME) || !is_paging(vcpu)) { in nested_svm_check_permissions()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c3256 if (!enable_unrestricted_guest && !is_paging(vcpu)) in vmx_load_mmu_pgd()
3322 if (!is_paging(vcpu)) { in vmx_set_cr4()
3341 if (!is_paging(vcpu)) in vmx_set_cr4()
/linux-6.1.9/arch/x86/kvm/mmu/
Dmmu.c5228 if (!is_paging(vcpu)) in init_kvm_nested_mmu()