Searched refs:kvm_pmu_ops (Results 1 – 5 of 5) sorted by relevance
21 struct kvm_pmu_ops { struct42 void kvm_pmu_ops_update(const struct kvm_pmu_ops *pmu_ops); argument163 static inline void kvm_init_pmu_capability(const struct kvm_pmu_ops *pmu_ops) in kvm_init_pmu_capability()255 extern struct kvm_pmu_ops intel_pmu_ops;256 extern struct kvm_pmu_ops amd_pmu_ops;
75 static struct kvm_pmu_ops kvm_pmu_ops __read_mostly;79 *(((struct kvm_pmu_ops *)0)->func));83 void kvm_pmu_ops_update(const struct kvm_pmu_ops *pmu_ops) in kvm_pmu_ops_update()85 memcpy(&kvm_pmu_ops, pmu_ops, sizeof(kvm_pmu_ops)); in kvm_pmu_ops_update()88 static_call_update(kvm_x86_pmu_##func, kvm_pmu_ops.func); in kvm_pmu_ops_update()90 WARN_ON(!kvm_pmu_ops.func); __KVM_X86_PMU_OP(func) in kvm_pmu_ops_update()321 u64 event_select = eventsel & kvm_pmu_ops.EVENTSEL_EVENT; in filter_contains_match()830 u64 mask = kvm_pmu_ops.EVENTSEL_EVENT | in is_masked_filter_valid()855 if (filter->events[i] & ~(kvm_pmu_ops.EVENTSEL_EVENT | in convert_to_masked_filter()
236 struct kvm_pmu_ops amd_pmu_ops __initdata = {
572 struct kvm_pmu_ops;1783 struct kvm_pmu_ops *pmu_ops;
759 struct kvm_pmu_ops intel_pmu_ops __initdata = {