Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/
Dpmu.h9 #define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu) macro
60 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask()
152 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_speculative_in_use()
207 set_bit(pmc->idx, pmc_to_pmu(pmc)->reprogram_pmi); in kvm_pmu_request_counter_reprogram()
230 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_is_globally_enabled()
Dpmu.c98 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in __kvm_perf_overflow()
134 if (test_and_set_bit(pmc->idx, pmc_to_pmu(pmc)->reprogram_pmi)) in kvm_perf_overflow()
168 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_reprogram_counter()
212 pmc_to_pmu(pmc)->event_count++; in pmc_reprogram_counter()
242 if (test_bit(pmc->idx, (unsigned long *)&pmc_to_pmu(pmc)->pebs_enable) != in pmc_resume_counter()
259 pmc_to_pmu(pmc)->event_count--; in pmc_release_perf_event()
401 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in reprogram_counter()
450 clear_bit(pmc->idx, (unsigned long *)&pmc_to_pmu(pmc)->reprogram_pmi); in reprogram_counter()
772 config = fixed_ctrl_field(pmc_to_pmu(pmc)->fixed_ctr_ctrl, in cpl_is_matched()
/linux-6.6.21/arch/x86/kvm/vmx/
Dpmu_intel.c106 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_hw_event_available()