Searched refs:is_paging (Results 1 – 5 of 5) sorted by relevance
68 static inline int is_paging(struct kvm_vcpu *vcpu) in is_paging() function
1895 if (enable_ept && is_paging(vcpu)) in vmx_decache_cr3()1914 if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) { in ept_load_pdptrs()1924 if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) { in ept_save_pdptrs()1952 } else if (!is_paging(vcpu)) { in ept_update_paging_mode_cr0()1985 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) in vmx_set_cr0()1987 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) in vmx_set_cr0()2024 guest_cr3 = is_paging(vcpu) ? kvm_read_cr3(vcpu) : in vmx_set_cr3()2040 if (!is_paging(vcpu)) { in vmx_set_cr4()
2999 if (!is_paging(vcpu)) { in init_kvm_tdp_mmu()3029 if (!is_paging(vcpu)) in kvm_init_shadow_mmu()3069 if (!is_paging(vcpu)) { in init_kvm_nested_mmu()
1395 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0()1400 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0()1814 || !is_paging(&svm->vcpu)) { in nested_svm_check_permissions()
510 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in kvm_set_cr0()615 } else if (is_paging(vcpu) && (cr4 & X86_CR4_PAE) in kvm_set_cr4()651 if (is_paging(vcpu) && in kvm_set_cr3()822 if (is_paging(vcpu) in set_efer()