Searched refs:is_long_mode (Results 1 – 9 of 9) sorted by relevance
128 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() function143 if (!is_long_mode(vcpu)) in is_64_bit_mode()190 return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu); in is_pae_paging()
845 bool lm = is_long_mode(vcpu); in kvm_xen_write_hypercall_page()
1170 if (is_long_mode(vcpu)) { in kvm_set_cr4()1185 if ((kvm_read_cr3(vcpu) & X86_CR3_PCID_MASK) || !is_long_mode(vcpu)) in kvm_set_cr4()8326 (cs_l && is_long_mode(vcpu)) ? X86EMUL_MODE_PROT64 : in init_emulate_ctxt()
31 if (!is_long_mode(vcpu)) { in sgx_get_encls_gva()38 } else if (likely(is_long_mode(vcpu))) { in sgx_get_encls_gva()
4922 if (is_long_mode(vcpu)) { in get_vmx_mem_address()
1767 load_syscall_msrs = is_long_mode(&vmx->vcpu) && in vmx_setup_uret_msrs()
341 ASSERT(!(is_long_mode(vcpu) && !is_pae(vcpu))); in FNAME()
5230 else if (is_long_mode(vcpu)) in init_kvm_nested_mmu()
2382 if (!is_long_mode(vcpu)) in invlpga_interception()