Searched refs:is_long_mode (Results 1 – 6 of 6) sorted by relevance
44 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() function
845 if (is_long_mode(&vmx->vcpu)) in vmx_save_host_state()862 if (is_long_mode(&vmx->vcpu)) in __vmx_load_host_state()1102 if (is_long_mode(&vmx->vcpu)) { in setup_msrs()1131 if (is_long_mode(&vmx->vcpu)) in setup_msrs()1914 if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) { in ept_load_pdptrs()1924 if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) { in ept_save_pdptrs()
470 if (is_long_mode(vcpu) || !is_pae(vcpu)) in pdptrs_changed()612 if (is_long_mode(vcpu)) { in kvm_set_cr4()644 if (is_long_mode(vcpu)) { in kvm_set_cr3()1312 int lm = is_long_mode(vcpu); in xen_hvm_config()4767 if (is_long_mode(vcpu)) in hc_gpa()4790 longmode = is_long_mode(vcpu) && cs_l == 1; in kvm_hv_hypercall()4851 if (!is_long_mode(vcpu)) { in kvm_emulate_hypercall()5636 if (!is_long_mode(vcpu) && is_pae(vcpu)) { in kvm_arch_vcpu_ioctl_set_sregs()
3003 } else if (is_long_mode(vcpu)) { in init_kvm_tdp_mmu()3031 else if (is_long_mode(vcpu)) in kvm_init_shadow_mmu()3073 } else if (is_long_mode(vcpu)) { in init_kvm_nested_mmu()3687 if (!is_long_mode(vcpu) && !is_pae(vcpu)) in kvm_pv_mmu_write()
149 ASSERT((!is_long_mode(vcpu) && is_pae(vcpu)) || in FNAME()
1609 if (is_long_mode(ctxt->vcpu)) { in emulate_syscall()1619 if (is_long_mode(ctxt->vcpu)) { in emulate_syscall()1680 || is_long_mode(ctxt->vcpu)) { in emulate_sysenter()