Lines Matching refs:cpu_hw_events

44 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = {
575 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_disable_all()
593 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_disable()
610 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_enable_all()
813 int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign) in x86_schedule_events()
929 static int collect_events(struct cpu_hw_events *cpuc, struct perf_event *leader, bool dogrp) in collect_events()
963 struct cpu_hw_events *cpuc, int i) in x86_assign_hw_event()
986 struct cpu_hw_events *cpuc, in match_prev_assignment()
998 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_enable()
1139 if (__this_cpu_read(cpu_hw_events.enabled)) in x86_pmu_enable_event()
1152 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_add()
1201 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_start()
1228 struct cpu_hw_events *cpuc; in perf_event_print_debug()
1238 cpuc = &per_cpu(cpu_hw_events, cpu); in perf_event_print_debug()
1286 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_stop()
1308 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_del()
1360 struct cpu_hw_events *cpuc; in x86_pmu_handle_irq()
1365 cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_handle_irq()
1452 struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu); in x86_pmu_notifier()
1746 __this_cpu_or(cpu_hw_events.group_flag, PERF_EVENT_TXN); in x86_pmu_start_txn()
1747 __this_cpu_write(cpu_hw_events.n_txn, 0); in x86_pmu_start_txn()
1757 __this_cpu_and(cpu_hw_events.group_flag, ~PERF_EVENT_TXN); in x86_pmu_cancel_txn()
1762 __this_cpu_sub(cpu_hw_events.n_added, __this_cpu_read(cpu_hw_events.n_txn)); in x86_pmu_cancel_txn()
1763 __this_cpu_sub(cpu_hw_events.n_events, __this_cpu_read(cpu_hw_events.n_txn)); in x86_pmu_cancel_txn()
1776 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_commit_txn()
1807 static void free_fake_cpuc(struct cpu_hw_events *cpuc) in free_fake_cpuc()
1813 static struct cpu_hw_events *allocate_fake_cpuc(void) in allocate_fake_cpuc()
1815 struct cpu_hw_events *cpuc; in allocate_fake_cpuc()
1840 struct cpu_hw_events *fake_cpuc; in validate_event()
1875 struct cpu_hw_events *fake_cpuc; in validate_group()