Lines Matching refs:cpu_hw_events
44 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = {
580 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_disable_all()
611 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_disable()
628 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_enable_all()
831 int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign) in x86_schedule_events()
944 static int collect_events(struct cpu_hw_events *cpuc, struct perf_event *leader, bool dogrp) in collect_events()
978 struct cpu_hw_events *cpuc, int i) in x86_assign_hw_event()
1001 struct cpu_hw_events *cpuc, in match_prev_assignment()
1013 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_enable()
1157 if (__this_cpu_read(cpu_hw_events.enabled)) in x86_pmu_enable_event()
1170 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_add()
1219 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_start()
1246 struct cpu_hw_events *cpuc; in perf_event_print_debug()
1256 cpuc = &per_cpu(cpu_hw_events, cpu); in perf_event_print_debug()
1304 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_stop()
1326 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_del()
1378 struct cpu_hw_events *cpuc; in x86_pmu_handle_irq()
1383 cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_handle_irq()
1474 struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu); in x86_pmu_notifier()
1771 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_start_txn()
1780 __this_cpu_write(cpu_hw_events.n_txn, 0); in x86_pmu_start_txn()
1791 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_cancel_txn()
1804 __this_cpu_sub(cpu_hw_events.n_added, __this_cpu_read(cpu_hw_events.n_txn)); in x86_pmu_cancel_txn()
1805 __this_cpu_sub(cpu_hw_events.n_events, __this_cpu_read(cpu_hw_events.n_txn)); in x86_pmu_cancel_txn()
1818 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_commit_txn()
1856 static void free_fake_cpuc(struct cpu_hw_events *cpuc) in free_fake_cpuc()
1862 static struct cpu_hw_events *allocate_fake_cpuc(void) in allocate_fake_cpuc()
1864 struct cpu_hw_events *cpuc; in allocate_fake_cpuc()
1889 struct cpu_hw_events *fake_cpuc; in validate_event()
1924 struct cpu_hw_events *fake_cpuc; in validate_group()