Searched refs:is_paging (Results 1 – 6 of 6) sorted by relevance
144 static inline int is_paging(struct kvm_vcpu *vcpu) in is_paging() function151 return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu); in is_pae_paging()
852 if ((vcpu->arch.efer & EFER_LME) && !is_paging(vcpu) && in kvm_set_cr0()1020 } else if (is_paging(vcpu) && (cr4 & X86_CR4_PAE) in kvm_set_cr4()1530 if (is_paging(vcpu) && in set_efer()
2333 (enable_ept && is_paging(vcpu))) in vmx_cache_reg()3090 } else if (!is_paging(vcpu)) { in ept_update_paging_mode_cr0()3122 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) in vmx_set_cr0()3124 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) in vmx_set_cr0()3183 if (!enable_unrestricted_guest && !is_paging(vcpu)) in vmx_load_mmu_pgd()3247 if (!is_paging(vcpu)) { in vmx_set_cr4()3266 if (!is_paging(vcpu)) in vmx_set_cr4()
4456 ext.cr0_pg = !!is_paging(vcpu); in kvm_calc_mmu_role_ext()4530 if (!is_paging(vcpu)) { in init_kvm_tdp_mmu()4578 role.base.direct = !is_paging(vcpu); in kvm_calc_shadow_mmu_root_page_role()4737 if (!is_paging(vcpu)) in kvm_calc_nested_mmu_role()4777 if (!is_paging(vcpu)) { in init_kvm_nested_mmu()
912 !is_paging(&svm->vcpu)) { in nested_svm_check_permissions()
1662 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0()1667 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0()