Lines Matching refs:kvm_pmc
48 * - Each perf counter is defined as "struct kvm_pmc";
66 * code. Each pmc, stored in kvm_pmc.idx field, is unique across
96 static inline void __kvm_perf_overflow(struct kvm_pmc *pmc, bool in_pmi)
127 struct kvm_pmc *pmc = perf_event->overflow_handler_context;
142 static u64 pmc_get_pebs_precise_level(struct kvm_pmc *pmc)
164 static int pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, u64 config,
218 static void pmc_pause_counter(struct kvm_pmc *pmc)
231 static bool pmc_resume_counter(struct kvm_pmc *pmc)
253 static void pmc_release_perf_event(struct kvm_pmc *pmc)
263 static void pmc_stop_counter(struct kvm_pmc *pmc)
377 static bool check_pmu_event_filter(struct kvm_pmc *pmc)
392 static bool pmc_event_is_allowed(struct kvm_pmc *pmc)
399 static void reprogram_counter(struct kvm_pmc *pmc)
460 struct kvm_pmc *pmc = static_call(kvm_x86_pmu_pmc_idx_to_pmc)(pmu, bit);
523 struct kvm_pmc *pmc;
570 struct kvm_pmc *pmc = static_call(kvm_x86_pmu_msr_idx_to_pmc)(vcpu, msr);
663 struct kvm_pmc *pmc;
722 struct kvm_pmc *pmc = NULL;
748 static void kvm_pmu_incr_counter(struct kvm_pmc *pmc)
755 static inline bool eventsel_match_perf_hw_id(struct kvm_pmc *pmc,
762 static inline bool cpl_is_matched(struct kvm_pmc *pmc)
784 struct kvm_pmc *pmc;