Home
last modified time | relevance | path

Searched refs:is_long_mode (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.h85 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() function
98 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()
Dx86.c1015 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()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dmmu.c4349 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()
Dpaging_tmpl.h347 ASSERT(!(is_long_mode(vcpu) && !is_pae(vcpu))); in FNAME()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dnested.c4715 if (is_long_mode(vcpu)) { in get_vmx_mem_address()
Dvmx.c1807 if (is_long_mode(&vmx->vcpu) && (vmx->vcpu.arch.efer & EFER_SCE)) { in setup_msrs()