Lines Matching defs:pmc
96 static inline void __kvm_perf_overflow(struct kvm_pmc *pmc, bool in_pmi) in __kvm_perf_overflow()
127 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow() local
142 static u64 pmc_get_pebs_precise_level(struct kvm_pmc *pmc) in pmc_get_pebs_precise_level()
164 static int pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, u64 config, in pmc_reprogram_counter()
218 static void pmc_pause_counter(struct kvm_pmc *pmc) in pmc_pause_counter()
231 static bool pmc_resume_counter(struct kvm_pmc *pmc) in pmc_resume_counter()
359 static bool check_pmu_event_filter(struct kvm_pmc *pmc) in check_pmu_event_filter()
374 static bool pmc_event_is_allowed(struct kvm_pmc *pmc) in pmc_event_is_allowed()
381 static void reprogram_counter(struct kvm_pmc *pmc) in reprogram_counter()
442 struct kvm_pmc *pmc = static_call(kvm_x86_pmu_pmc_idx_to_pmc)(pmu, bit); in kvm_pmu_handle_event() local
505 struct kvm_pmc *pmc; in kvm_pmu_rdpmc() local
552 struct kvm_pmc *pmc = static_call(kvm_x86_pmu_msr_idx_to_pmc)(vcpu, msr); in kvm_pmu_mark_pmc_in_use() local
675 struct kvm_pmc *pmc = NULL; in kvm_pmu_cleanup() local
701 static void kvm_pmu_incr_counter(struct kvm_pmc *pmc) in kvm_pmu_incr_counter()
708 static inline bool eventsel_match_perf_hw_id(struct kvm_pmc *pmc, in eventsel_match_perf_hw_id()
715 static inline bool cpl_is_matched(struct kvm_pmc *pmc) in cpl_is_matched()
737 struct kvm_pmc *pmc; in kvm_pmu_trigger_event() local