Lines Matching refs:best
24 struct kvm_cpuid_entry2 *best; in guest_cpuid_has_xsave() local
29 best = kvm_find_cpuid_entry(vcpu, 1, 0); in guest_cpuid_has_xsave()
30 return best && (best->ecx & bit(X86_FEATURE_XSAVE)); in guest_cpuid_has_xsave()
35 struct kvm_cpuid_entry2 *best; in guest_cpuid_has_smep() local
37 best = kvm_find_cpuid_entry(vcpu, 7, 0); in guest_cpuid_has_smep()
38 return best && (best->ebx & bit(X86_FEATURE_SMEP)); in guest_cpuid_has_smep()
43 struct kvm_cpuid_entry2 *best; in guest_cpuid_has_fsgsbase() local
45 best = kvm_find_cpuid_entry(vcpu, 7, 0); in guest_cpuid_has_fsgsbase()
46 return best && (best->ebx & bit(X86_FEATURE_FSGSBASE)); in guest_cpuid_has_fsgsbase()
51 struct kvm_cpuid_entry2 *best; in guest_cpuid_has_osvw() local
53 best = kvm_find_cpuid_entry(vcpu, 0x80000001, 0); in guest_cpuid_has_osvw()
54 return best && (best->ecx & bit(X86_FEATURE_OSVW)); in guest_cpuid_has_osvw()