Searched refs:pmc_to_pmu (Results 1 – 2 of 2) sorted by relevance
11 #define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu) macro100 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask()170 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_speculative_in_use()232 set_bit(pmc->idx, pmc_to_pmu(pmc)->reprogram_pmi); in kvm_pmu_request_counter_reprogram()255 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_is_globally_enabled()
101 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in __kvm_perf_overflow()137 if (test_and_set_bit(pmc->idx, pmc_to_pmu(pmc)->reprogram_pmi)) in kvm_perf_overflow()180 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_reprogram_counter()224 pmc_to_pmu(pmc)->event_count++; in pmc_reprogram_counter()267 if (test_bit(pmc->idx, (unsigned long *)&pmc_to_pmu(pmc)->pebs_enable) != in pmc_resume_counter()284 pmc_to_pmu(pmc)->event_count--; in pmc_release_perf_event()452 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in reprogram_counter()847 config = fixed_ctrl_field(pmc_to_pmu(pmc)->fixed_ctr_ctrl, in cpl_is_matched()