Searched refs:pmc_to_pmu (Results 1 – 2 of 2) sorted by relevance
11 #define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu) macro113 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask()186 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_is_locally_enabled()204 kvm_pmu_recalc_pmc_emulation(pmc_to_pmu(pmc), pmc); in kvm_pmu_request_counter_reprogram()206 set_bit(pmc->idx, pmc_to_pmu(pmc)->reprogram_pmi); in kvm_pmu_request_counter_reprogram()229 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_is_globally_enabled()
175 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in __kvm_perf_overflow()211 if (test_and_set_bit(pmc->idx, pmc_to_pmu(pmc)->reprogram_pmi)) in kvm_perf_overflow()254 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_reprogram_counter()298 pmc_to_pmu(pmc)->event_count++; in pmc_reprogram_counter()341 if (test_bit(pmc->idx, (unsigned long *)&pmc_to_pmu(pmc)->pebs_enable) != in pmc_resume_counter()358 pmc_to_pmu(pmc)->event_count--; in pmc_release_perf_event()526 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_mediated_pmu_refresh_event_filter()544 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in reprogram_counter()1041 fixed_ctr_ctrl = fixed_ctrl_field(pmc_to_pmu(pmc)->fixed_ctr_ctrl, in pmc_is_pmi_enabled()1069 pmc_to_pmu(pmc)->global_status |= BIT_ULL(pmc->idx); in kvm_pmu_incr_counter()[all …]