Searched refs:is_long_mode (Results 1 – 6 of 6) sorted by relevance
84 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() function97 if (!is_long_mode(vcpu)) in is_64_bit_mode()144 return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu); in is_pae_paging()
4845 if (!kvm_read_cr4_bits(vcpu, X86_CR4_PKE) || !is_long_mode(vcpu)) { in update_pkru_bitmask()5026 } else if (is_long_mode(vcpu)) { in init_kvm_tdp_mmu()5062 if (!is_long_mode(vcpu)) in kvm_calc_shadow_mmu_root_page_role()5084 else if (is_long_mode(vcpu)) in kvm_init_shadow_mmu()5197 } else if (is_long_mode(vcpu)) { in init_kvm_nested_mmu()
335 ASSERT(!(is_long_mode(vcpu) && !is_pae(vcpu))); in FNAME()
926 if (is_long_mode(vcpu)) { in kvm_set_cr4()940 if ((kvm_read_cr3(vcpu) & X86_CR3_PCID_MASK) || !is_long_mode(vcpu)) in kvm_set_cr4()978 if (is_long_mode(vcpu) && in kvm_set_cr3()2515 int lm = is_long_mode(vcpu); in xen_hvm_config()6297 (cs_l && is_long_mode(vcpu)) ? X86EMUL_MODE_PROT64 : in init_emulate_ctxt()
4261 if (is_long_mode(vcpu)) { in get_vmx_mem_address()
1668 if (is_long_mode(&vmx->vcpu) && (vmx->vcpu.arch.efer & EFER_SCE)) { in setup_msrs()