Searched refs:lbr_users (Results 1 – 5 of 5) sorted by relevance
167 if (!cpuc->lbr_users) in amd_pmu_lbr_read()357 if (!cpuc->lbr_users++ && !event->total_time_running) in amd_pmu_lbr_add()371 cpuc->lbr_users--; in amd_pmu_lbr_del()372 WARN_ON_ONCE(cpuc->lbr_users < 0); in amd_pmu_lbr_del()385 if (cpuc->lbr_users && sched_in) in amd_pmu_lbr_sched_task()394 if (!cpuc->lbr_users || !x86_pmu.lbr_nr) in amd_pmu_lbr_enable_all()415 if (!cpuc->lbr_users || !x86_pmu.lbr_nr) in amd_pmu_lbr_disable_all()
222 if (cpuc->lbr_users) in amd_brs_enable_all()258 if (cpuc->lbr_users) in amd_brs_disable_all()389 if (!cpuc->lbr_users) in amd_pmu_brs_sched_task()
869 if (cpuc->lbr_users) in amd_pmu_handle_irq()
546 if (!cpuc->lbr_users) in intel_pmu_lbr_sched_task()615 if (!cpuc->lbr_users++ && !event->total_time_running) in intel_pmu_lbr_add()675 cpuc->lbr_users--; in intel_pmu_lbr_del()676 WARN_ON_ONCE(cpuc->lbr_users < 0); in intel_pmu_lbr_del()693 if (cpuc->lbr_users && !vlbr_exclude_host()) in intel_pmu_lbr_enable_all()701 if (cpuc->lbr_users && !vlbr_exclude_host()) { in intel_pmu_lbr_disable_all()934 if (!cpuc->lbr_users || vlbr_exclude_host() || in intel_pmu_lbr_read()935 cpuc->lbr_users == cpuc->lbr_pebs_users) in intel_pmu_lbr_read()
282 int lbr_users; member1336 cpuc->lbr_users++; in amd_pmu_brs_add()1347 cpuc->lbr_users--; in amd_pmu_brs_del()1348 WARN_ON_ONCE(cpuc->lbr_users < 0); in amd_pmu_brs_del()