Lines Matching refs:kvm_pmc
86 static inline bool pmc_is_enabled(struct kvm_pmc *pmc) in pmc_is_enabled()
99 static inline void __kvm_perf_overflow(struct kvm_pmc *pmc, bool in_pmi) in __kvm_perf_overflow()
148 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow()
153 static void pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, in pmc_reprogram_counter()
217 static void pmc_pause_counter(struct kvm_pmc *pmc) in pmc_pause_counter()
230 static bool pmc_resume_counter(struct kvm_pmc *pmc) in pmc_resume_counter()
260 static bool check_pmu_event_filter(struct kvm_pmc *pmc) in check_pmu_event_filter()
296 void reprogram_counter(struct kvm_pmc *pmc) in reprogram_counter()
346 struct kvm_pmc *pmc = static_call(kvm_x86_pmu_pmc_idx_to_pmc)(pmu, bit); in kvm_pmu_handle_event()
408 struct kvm_pmc *pmc; in kvm_pmu_rdpmc()
447 struct kvm_pmc *pmc = static_call(kvm_x86_pmu_msr_idx_to_pmc)(vcpu, msr); in kvm_pmu_mark_pmc_in_use()
497 struct kvm_pmc *pmc = NULL; in kvm_pmu_cleanup()
523 static void kvm_pmu_incr_counter(struct kvm_pmc *pmc) in kvm_pmu_incr_counter()
535 static inline bool eventsel_match_perf_hw_id(struct kvm_pmc *pmc, in eventsel_match_perf_hw_id()
542 static inline bool cpl_is_matched(struct kvm_pmc *pmc) in cpl_is_matched()
561 struct kvm_pmc *pmc; in kvm_pmu_trigger_event()