Home
last modified time | relevance | path

Searched refs:x86_leaf (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kvm/
A Dreverse_cpuid.h103 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); in reverse_cpuid_check()
104 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); in reverse_cpuid_check()
105 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); in reverse_cpuid_check()
106 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); in reverse_cpuid_check()
107 BUILD_BUG_ON(x86_leaf == CPUID_LNX_5); in reverse_cpuid_check()
108 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); in reverse_cpuid_check()
109 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0); in reverse_cpuid_check()
140 reverse_cpuid_check(x86_leaf); in __feature_leaf()
141 return x86_leaf; in __feature_leaf()
162 unsigned int x86_leaf = __feature_leaf(x86_feature); in x86_feature_cpuid() local
[all …]
A Dcpuid.h189 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_clear() local
191 kvm_cpu_caps[x86_leaf] &= ~__feature_bit(x86_feature); in kvm_cpu_cap_clear()
196 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_set() local
198 kvm_cpu_caps[x86_leaf] |= __feature_bit(x86_feature); in kvm_cpu_cap_set()
203 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_get() local
205 return kvm_cpu_caps[x86_leaf] & __feature_bit(x86_feature); in kvm_cpu_cap_get()
231 unsigned int x86_leaf = __feature_leaf(x86_feature); in guest_cpu_cap_set() local
233 vcpu->arch.cpu_caps[x86_leaf] |= __feature_bit(x86_feature); in guest_cpu_cap_set()
239 unsigned int x86_leaf = __feature_leaf(x86_feature); in guest_cpu_cap_clear() local
241 vcpu->arch.cpu_caps[x86_leaf] &= ~__feature_bit(x86_feature); in guest_cpu_cap_clear()
[all …]

Completed in 5 milliseconds