Searched refs:is_paging (Results 1 – 5 of 5) sorted by relevance
65 static inline int is_paging(struct kvm_vcpu *vcpu) in is_paging() function
2885 if (enable_ept && is_paging(vcpu)) in vmx_decache_cr3()2904 if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) { in ept_load_pdptrs()2914 if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) { in ept_save_pdptrs()2943 } else if (!is_paging(vcpu)) { in ept_update_paging_mode_cr0()2976 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) in vmx_set_cr0()2978 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) in vmx_set_cr0()3016 guest_cr3 = is_paging(vcpu) ? kvm_read_cr3(vcpu) : in vmx_set_cr3()3044 if (!is_paging(vcpu)) { in vmx_set_cr4()
3323 if (!is_paging(vcpu)) { in init_kvm_tdp_mmu()3354 if (!is_paging(vcpu)) in kvm_init_shadow_mmu()3398 if (!is_paging(vcpu)) { in init_kvm_nested_mmu()
514 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in kvm_set_cr0()600 } else if (is_paging(vcpu) && (cr4 & X86_CR4_PAE) in kvm_set_cr4()634 if (is_paging(vcpu) && in kvm_set_cr3()821 if (is_paging(vcpu) in set_efer()
1563 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0()1568 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0()1999 || !is_paging(&svm->vcpu)) { in nested_svm_check_permissions()