Searched refs:is_long_mode (Results 1 – 5 of 5) sorted by relevance
41 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() function54 if (!is_long_mode(vcpu)) in is_64_bit_mode()
1855 if (is_long_mode(&vmx->vcpu)) in vmx_save_host_state()1874 if (is_long_mode(&vmx->vcpu)) in __vmx_load_host_state()2192 if (is_long_mode(vcpu)) in vmx_set_msr_bitmap()2197 if (is_long_mode(vcpu)) in vmx_set_msr_bitmap()2217 if (is_long_mode(&vmx->vcpu)) { in setup_msrs()3510 if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) { in ept_load_pdptrs()3522 if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) { in ept_save_pdptrs()6613 if (is_long_mode(vcpu) && !cs.l) { in handle_vmon()6680 (is_long_mode(vcpu) && !cs.l)) { in nested_vmx_check_permission()7039 &field_value, (is_long_mode(vcpu) ? 8 : 4), NULL); in handle_vmread()
553 if (is_long_mode(vcpu) || !is_pae(vcpu)) in pdptrs_changed()722 if (is_long_mode(vcpu)) { in kvm_set_cr4()736 if ((kvm_read_cr3(vcpu) & X86_CR3_PCID_MASK) || !is_long_mode(vcpu)) in kvm_set_cr4()766 if (is_long_mode(vcpu)) { in kvm_set_cr3()1930 int lm = is_long_mode(vcpu); in xen_hvm_config()5108 (cs_l && is_long_mode(vcpu)) ? X86EMUL_MODE_PROT64 : in init_emulate_ctxt()6860 if (!is_long_mode(vcpu) && is_pae(vcpu)) { in kvm_arch_vcpu_ioctl_set_sregs()
301 ASSERT(!(is_long_mode(vcpu) && !is_pae(vcpu))); in FNAME()
3852 } else if (is_long_mode(vcpu)) { in init_kvm_tdp_mmu()3883 else if (is_long_mode(vcpu)) in kvm_init_shadow_mmu()3952 } else if (is_long_mode(vcpu)) { in init_kvm_nested_mmu()