Lines Matching full:best
226 struct kvm_cpuid_entry2 *best; in guest_cpuid_is_amd_or_hygon() local
228 best = kvm_find_cpuid_entry(vcpu, 0, 0); in guest_cpuid_is_amd_or_hygon()
229 return best && in guest_cpuid_is_amd_or_hygon()
230 (is_guest_vendor_amd(best->ebx, best->ecx, best->edx) || in guest_cpuid_is_amd_or_hygon()
231 is_guest_vendor_hygon(best->ebx, best->ecx, best->edx)); in guest_cpuid_is_amd_or_hygon()
236 struct kvm_cpuid_entry2 *best; in guest_cpuid_family() local
238 best = kvm_find_cpuid_entry(vcpu, 0x1, 0); in guest_cpuid_family()
239 if (!best) in guest_cpuid_family()
242 return x86_family(best->eax); in guest_cpuid_family()
247 struct kvm_cpuid_entry2 *best; in guest_cpuid_model() local
249 best = kvm_find_cpuid_entry(vcpu, 0x1, 0); in guest_cpuid_model()
250 if (!best) in guest_cpuid_model()
253 return x86_model(best->eax); in guest_cpuid_model()
258 struct kvm_cpuid_entry2 *best; in guest_cpuid_stepping() local
260 best = kvm_find_cpuid_entry(vcpu, 0x1, 0); in guest_cpuid_stepping()
261 if (!best) in guest_cpuid_stepping()
264 return x86_stepping(best->eax); in guest_cpuid_stepping()