Lines Matching full:best
118 struct kvm_cpuid_entry2 *best; in guest_cpuid_is_amd() local
120 best = kvm_find_cpuid_entry(vcpu, 0, 0); in guest_cpuid_is_amd()
121 return best && best->ebx == X86EMUL_CPUID_VENDOR_AuthenticAMD_ebx; in guest_cpuid_is_amd()
126 struct kvm_cpuid_entry2 *best; in guest_cpuid_family() local
128 best = kvm_find_cpuid_entry(vcpu, 0x1, 0); in guest_cpuid_family()
129 if (!best) in guest_cpuid_family()
132 return x86_family(best->eax); in guest_cpuid_family()
137 struct kvm_cpuid_entry2 *best; in guest_cpuid_model() local
139 best = kvm_find_cpuid_entry(vcpu, 0x1, 0); in guest_cpuid_model()
140 if (!best) in guest_cpuid_model()
143 return x86_model(best->eax); in guest_cpuid_model()
148 struct kvm_cpuid_entry2 *best; in guest_cpuid_stepping() local
150 best = kvm_find_cpuid_entry(vcpu, 0x1, 0); in guest_cpuid_stepping()
151 if (!best) in guest_cpuid_stepping()
154 return x86_stepping(best->eax); in guest_cpuid_stepping()