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()
225 if (cpuc->lbr_users) in amd_brs_enable_all()261 if (cpuc->lbr_users) in amd_brs_disable_all()392 if (!cpuc->lbr_users) in amd_pmu_brs_sched_task()
867 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()
280 int lbr_users; member1334 cpuc->lbr_users++; in amd_pmu_brs_add()1345 cpuc->lbr_users--; in amd_pmu_brs_del()1346 WARN_ON_ONCE(cpuc->lbr_users < 0); in amd_pmu_brs_del()