Searched refs:is_long_mode (Results 1 – 6 of 6) sorted by relevance
85 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() function98 if (!is_long_mode(vcpu)) in is_64_bit_mode()151 return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu); in is_pae_paging()
1015 if (is_long_mode(vcpu)) { in kvm_set_cr4()1031 if ((kvm_read_cr3(vcpu) & X86_CR3_PCID_MASK) || !is_long_mode(vcpu)) in kvm_set_cr4()1068 if (is_long_mode(vcpu) && in kvm_set_cr3()2920 int lm = is_long_mode(vcpu); in xen_hvm_config()7152 (cs_l && is_long_mode(vcpu)) ? X86EMUL_MODE_PROT64 : in init_emulate_ctxt()
4349 if (!kvm_read_cr4_bits(vcpu, X86_CR4_PKE) || !is_long_mode(vcpu)) { in update_pkru_bitmask()4534 } else if (is_long_mode(vcpu)) { in init_kvm_tdp_mmu()4580 if (!is_long_mode(vcpu)) in kvm_calc_shadow_mmu_root_page_role()4739 else if (is_long_mode(vcpu)) in kvm_calc_nested_mmu_role()4781 } else if (is_long_mode(vcpu)) { in init_kvm_nested_mmu()
347 ASSERT(!(is_long_mode(vcpu) && !is_pae(vcpu))); in FNAME()
4715 if (is_long_mode(vcpu)) { in get_vmx_mem_address()
1807 if (is_long_mode(&vmx->vcpu) && (vmx->vcpu.arch.efer & EFER_SCE)) { in setup_msrs()