Lines Matching refs:kvm_pmc
96 static inline bool pmc_is_enabled(struct kvm_pmc *pmc) in pmc_is_enabled()
109 static inline void __kvm_perf_overflow(struct kvm_pmc *pmc, bool in_pmi) in __kvm_perf_overflow()
153 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow()
168 static u64 pmc_get_pebs_precise_level(struct kvm_pmc *pmc) in pmc_get_pebs_precise_level()
190 static int pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, u64 config, in pmc_reprogram_counter()
244 static void pmc_pause_counter(struct kvm_pmc *pmc) in pmc_pause_counter()
257 static bool pmc_resume_counter(struct kvm_pmc *pmc) in pmc_resume_counter()
385 static bool check_pmu_event_filter(struct kvm_pmc *pmc) in check_pmu_event_filter()
403 static void reprogram_counter(struct kvm_pmc *pmc) in reprogram_counter()
467 struct kvm_pmc *pmc = static_call(kvm_x86_pmu_pmc_idx_to_pmc)(pmu, bit); in kvm_pmu_handle_event()
530 struct kvm_pmc *pmc; in kvm_pmu_rdpmc()
569 struct kvm_pmc *pmc = static_call(kvm_x86_pmu_msr_idx_to_pmc)(vcpu, msr); in kvm_pmu_mark_pmc_in_use()
619 struct kvm_pmc *pmc = NULL; in kvm_pmu_cleanup()
645 static void kvm_pmu_incr_counter(struct kvm_pmc *pmc) in kvm_pmu_incr_counter()
652 static inline bool eventsel_match_perf_hw_id(struct kvm_pmc *pmc, in eventsel_match_perf_hw_id()
659 static inline bool cpl_is_matched(struct kvm_pmc *pmc) in cpl_is_matched()
681 struct kvm_pmc *pmc; in kvm_pmu_trigger_event()