Lines Matching refs:kvm_pmc
28 * - Each perf counter is defined as "struct kvm_pmc";
44 * code. Each pmc, stored in kvm_pmc.idx field, is unique across
64 struct kvm_pmc *pmc = perf_event->overflow_handler_context;
77 struct kvm_pmc *pmc = perf_event->overflow_handler_context;
99 static void pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type,
144 static void pmc_pause_counter(struct kvm_pmc *pmc)
156 static bool pmc_resume_counter(struct kvm_pmc *pmc)
181 void reprogram_gp_counter(struct kvm_pmc *pmc, u64 eventsel)
241 void reprogram_fixed_counter(struct kvm_pmc *pmc, u8 ctrl, int idx)
279 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->pmc_idx_to_pmc(pmu, pmc_idx);
301 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->pmc_idx_to_pmc(pmu, bit);
364 struct kvm_pmc *pmc;
401 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->msr_idx_to_pmc(vcpu, msr);
447 static inline bool pmc_speculative_in_use(struct kvm_pmc *pmc)
462 struct kvm_pmc *pmc = NULL;