Lines Matching refs:n_events
994 n0 = cpuc->n_events; in x86_schedule_events()
1170 n = cpuc->n_events; in collect_events()
1171 if (!cpuc->n_events) in collect_events()
1299 int n_running = cpuc->n_events - cpuc->n_added; in x86_pmu_enable()
1333 for (i = 0; i < cpuc->n_events; i++) { in x86_pmu_enable()
1448 n0 = cpuc->n_events; in x86_pmu_add()
1482 cpuc->n_events = n; in x86_pmu_add()
1631 for (i = 0; i < cpuc->n_events; i++) { in x86_pmu_del()
1636 if (WARN_ON_ONCE(i == cpuc->n_events)) /* called ->del() without ->add() ? */ in x86_pmu_del()
1640 if (i >= cpuc->n_events - cpuc->n_added) in x86_pmu_del()
1646 while (++i < cpuc->n_events) { in x86_pmu_del()
1651 --cpuc->n_events; in x86_pmu_del()
2259 __this_cpu_sub(cpu_hw_events.n_events, __this_cpu_read(cpu_hw_events.n_txn)); in x86_pmu_cancel_txn()
2285 n = cpuc->n_events; in x86_pmu_commit_txn()
2424 fake_cpuc->n_events = n; in validate_group()
2429 fake_cpuc->n_events = 0; in validate_group()
2479 for (i = 0; i < cpuc->n_events; i++) in perf_clear_dirty_counters()