Searched refs:pmc_to_pmu (Results 1 – 3 of 3) sorted by relevance
101 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in __kvm_perf_overflow()139 irq_work_queue(&pmc_to_pmu(pmc)->irq_work); in __kvm_perf_overflow()157 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_reprogram_counter()211 pmc_to_pmu(pmc)->event_count++; in pmc_reprogram_counter()212 clear_bit(pmc->idx, pmc_to_pmu(pmc)->reprogram_pmi); in pmc_reprogram_counter()240 if (test_bit(pmc->idx, (unsigned long *)&pmc_to_pmu(pmc)->pebs_enable) != in pmc_resume_counter()248 clear_bit(pmc->idx, (unsigned long *)&pmc_to_pmu(pmc)->reprogram_pmi); in pmc_resume_counter()298 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in reprogram_counter()
9 #define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu) macro49 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask()72 pmc_to_pmu(pmc)->event_count--; in pmc_release_perf_event()152 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_speculative_in_use()
85 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_hw_event_available()108 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_is_enabled()