Lines Matching refs:kvm_pmc
40 struct kvm_pmc *pmc; in reprogram_fixed_counters()
59 static struct kvm_pmc *intel_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in intel_pmc_idx_to_pmc()
74 struct kvm_pmc *pmc; in reprogram_counters()
83 static bool intel_hw_event_available(struct kvm_pmc *pmc) in intel_hw_event_available()
106 static bool intel_pmc_is_enabled(struct kvm_pmc *pmc) in intel_pmc_is_enabled()
127 static struct kvm_pmc *intel_rdpmc_ecx_to_pmc(struct kvm_vcpu *vcpu, in intel_rdpmc_ecx_to_pmc()
132 struct kvm_pmc *counters; in intel_rdpmc_ecx_to_pmc()
162 static inline struct kvm_pmc *get_fw_gp_pmc(struct kvm_pmu *pmu, u32 msr) in get_fw_gp_pmc()
223 static struct kvm_pmc *intel_msr_idx_to_pmc(struct kvm_vcpu *vcpu, u32 msr) in intel_msr_idx_to_pmc()
226 struct kvm_pmc *pmc; in intel_msr_idx_to_pmc()
343 struct kvm_pmc *pmc; in intel_pmu_get_msr()
393 struct kvm_pmc *pmc; in intel_pmu_set_msr()
493 struct kvm_pmc *pmc; in setup_fixed_pmc_eventsel()
643 struct kvm_pmc *pmc = NULL; in intel_pmu_reset()
778 struct kvm_pmc *pmc = NULL; in intel_pmu_cross_mapped_check()