Lines Matching refs:kvm_cpuid_entry2
69 struct kvm_cpuid_entry2 *best; in kvm_update_cpuid()
135 struct kvm_cpuid_entry2 *e, *entry; in cpuid_fix_nx_cap()
153 struct kvm_cpuid_entry2 *best; in cpuid_query_maxphyaddr()
211 struct kvm_cpuid_entry2 __user *entries) in kvm_vcpu_ioctl_set_cpuid2()
220 cpuid->nent * sizeof(struct kvm_cpuid_entry2))) in kvm_vcpu_ioctl_set_cpuid2()
232 struct kvm_cpuid_entry2 __user *entries) in kvm_vcpu_ioctl_get_cpuid2()
241 vcpu->arch.cpuid_nent * sizeof(struct kvm_cpuid_entry2))) in kvm_vcpu_ioctl_get_cpuid2()
255 static void do_cpuid_1_ent(struct kvm_cpuid_entry2 *entry, u32 function, in do_cpuid_1_ent()
265 static int __do_cpuid_ent_emulated(struct kvm_cpuid_entry2 *entry, in __do_cpuid_ent_emulated()
292 static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function, in __do_cpuid_ent()
681 static int do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 func, in do_cpuid_ent()
707 static bool sanity_check_entries(struct kvm_cpuid_entry2 __user *entries, in sanity_check_entries()
735 struct kvm_cpuid_entry2 __user *entries, in kvm_dev_ioctl_get_cpuid()
738 struct kvm_cpuid_entry2 *cpuid_entries; in kvm_dev_ioctl_get_cpuid()
758 cpuid_entries = vzalloc(sizeof(struct kvm_cpuid_entry2) * cpuid->nent); in kvm_dev_ioctl_get_cpuid()
789 nent * sizeof(struct kvm_cpuid_entry2))) in kvm_dev_ioctl_get_cpuid()
802 struct kvm_cpuid_entry2 *e = &vcpu->arch.cpuid_entries[i]; in move_to_next_stateful_cpuid_entry()
803 struct kvm_cpuid_entry2 *ej; in move_to_next_stateful_cpuid_entry()
821 static int is_matching_cpuid_entry(struct kvm_cpuid_entry2 *e, in is_matching_cpuid_entry()
834 struct kvm_cpuid_entry2 *kvm_find_cpuid_entry(struct kvm_vcpu *vcpu, in kvm_find_cpuid_entry()
838 struct kvm_cpuid_entry2 *best = NULL; in kvm_find_cpuid_entry()
841 struct kvm_cpuid_entry2 *e; in kvm_find_cpuid_entry()
860 static struct kvm_cpuid_entry2* check_cpuid_limit(struct kvm_vcpu *vcpu, in check_cpuid_limit()
863 struct kvm_cpuid_entry2 *maxlevel; in check_cpuid_limit()
879 struct kvm_cpuid_entry2 *best; in kvm_cpuid()