Home
last modified time | relevance | path

Searched refs:pmc_to_pmu (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kvm/
Dpmu.c63 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow()
76 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow_intr()
91 irq_work_queue(&pmc_to_pmu(pmc)->irq_work); in kvm_perf_overflow_intr()
135 pmc_to_pmu(pmc)->event_count++; in pmc_reprogram_counter()
136 clear_bit(pmc->idx, pmc_to_pmu(pmc)->reprogram_pmi); in pmc_reprogram_counter()
167 clear_bit(pmc->idx, (unsigned long *)&pmc_to_pmu(pmc)->reprogram_pmi); in pmc_resume_counter()
444 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_speculative_in_use()
Dpmu.h9 #define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu) macro
47 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask()
70 pmc_to_pmu(pmc)->event_count--; in pmc_release_perf_event()
/arch/x86/kvm/vmx/
Dpmu_intel.c73 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_perf_hw_id()
105 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_is_enabled()