Lines Matching defs:pmc

99 static inline void __kvm_perf_overflow(struct kvm_pmc *pmc, bool in_pmi)  in __kvm_perf_overflow()
130 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow() local
145 static u64 pmc_get_pebs_precise_level(struct kvm_pmc *pmc) in pmc_get_pebs_precise_level()
167 static u64 get_sample_period(struct kvm_pmc *pmc, u64 counter_value) in get_sample_period()
176 static int pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, u64 config, in pmc_reprogram_counter()
230 static bool pmc_pause_counter(struct kvm_pmc *pmc) in pmc_pause_counter()
256 static bool pmc_resume_counter(struct kvm_pmc *pmc) in pmc_resume_counter()
278 static void pmc_release_perf_event(struct kvm_pmc *pmc) in pmc_release_perf_event()
288 static void pmc_stop_counter(struct kvm_pmc *pmc) in pmc_stop_counter()
296 static void pmc_update_sample_period(struct kvm_pmc *pmc) in pmc_update_sample_period()
306 void pmc_write_counter(struct kvm_pmc *pmc, u64 val) in pmc_write_counter()
429 static bool check_pmu_event_filter(struct kvm_pmc *pmc) in check_pmu_event_filter()
444 static bool pmc_event_is_allowed(struct kvm_pmc *pmc) in pmc_event_is_allowed()
450 static int reprogram_counter(struct kvm_pmc *pmc) in reprogram_counter()
499 struct kvm_pmc *pmc; in kvm_pmu_handle_event() local
585 struct kvm_pmc *pmc; in kvm_pmu_rdpmc() local
632 struct kvm_pmc *pmc = kvm_pmu_call(msr_idx_to_pmc)(vcpu, msr); in kvm_pmu_mark_pmc_in_use() local
725 struct kvm_pmc *pmc; in kvm_pmu_reset() local
807 struct kvm_pmc *pmc = NULL; in kvm_pmu_cleanup() local
831 static void kvm_pmu_incr_counter(struct kvm_pmc *pmc) in kvm_pmu_incr_counter()
837 static inline bool cpl_is_matched(struct kvm_pmc *pmc) in cpl_is_matched()
868 struct kvm_pmc *pmc; in kvm_pmu_trigger_event() local