Symbol: cpu_hw_events
arch/alpha/kernel/perf_event.c
391
static void maybe_change_configuration(struct cpu_hw_events *cpuc)
arch/alpha/kernel/perf_event.c
435
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/alpha/kernel/perf_event.c
487
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/alpha/kernel/perf_event.c
53
DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
arch/alpha/kernel/perf_event.c
535
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/alpha/kernel/perf_event.c
555
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/alpha/kernel/perf_event.c
718
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/alpha/kernel/perf_event.c
744
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/alpha/kernel/perf_event.c
803
struct cpu_hw_events *cpuc;
arch/alpha/kernel/perf_event.c
810
cpuc = this_cpu_ptr(&cpu_hw_events);
arch/loongarch/kernel/perf_event.c
104
static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = {
arch/loongarch/kernel/perf_event.c
253
static int loongarch_pmu_alloc_counter(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc)
arch/loongarch/kernel/perf_event.c
269
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/loongarch/kernel/perf_event.c
288
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/loongarch/kernel/perf_event.c
388
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/loongarch/kernel/perf_event.c
422
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/loongarch/kernel/perf_event.c
471
static void handle_associated_event(struct cpu_hw_events *cpuc, int idx,
arch/loongarch/kernel/perf_event.c
492
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/loongarch/kernel/perf_event.c
643
struct cpu_hw_events fake_cpuc;
arch/loongarch/kernel/perf_event.c
831
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/loongarch/kernel/perf_event.c
846
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/mips/kernel/perf_event_mipsxx.c
1547
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/mips/kernel/perf_event_mipsxx.c
1563
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/mips/kernel/perf_event_mipsxx.c
1574
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/mips/kernel/perf_event_mipsxx.c
314
static int mipsxx_pmu_alloc_counter(struct cpu_hw_events *cpuc,
arch/mips/kernel/perf_event_mipsxx.c
351
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/mips/kernel/perf_event_mipsxx.c
397
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/mips/kernel/perf_event_mipsxx.c
48
DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = {
arch/mips/kernel/perf_event_mipsxx.c
501
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/mips/kernel/perf_event_mipsxx.c
537
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/mips/kernel/perf_event_mipsxx.c
763
struct cpu_hw_events fake_cpuc;
arch/mips/kernel/perf_event_mipsxx.c
782
static void handle_associated_event(struct cpu_hw_events *cpuc,
arch/powerpc/perf/core-book3s.c
1215
static void freeze_limited_counters(struct cpu_hw_events *cpuhw,
arch/powerpc/perf/core-book3s.c
1235
static void thaw_limited_counters(struct cpu_hw_events *cpuhw,
arch/powerpc/perf/core-book3s.c
1264
static void write_mmcr0(struct cpu_hw_events *cpuhw, unsigned long mmcr0)
arch/powerpc/perf/core-book3s.c
129
static unsigned long ebb_switch_in(bool ebb, struct cpu_hw_events *cpuhw)
arch/powerpc/perf/core-book3s.c
1305
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-book3s.c
1311
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
140
static inline void power_pmu_bhrb_read(struct perf_event *event, struct cpu_hw_events *cpuhw) {}
arch/powerpc/perf/core-book3s.c
1418
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-book3s.c
1432
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
161
struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
1626
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-book3s.c
1638
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
1702
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-book3s.c
1711
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
1821
struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
1840
struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
1860
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-book3s.c
1866
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
2010
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-book3s.c
2124
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
2332
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-book3s.c
2333
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
2417
struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
2514
struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu);
arch/powerpc/perf/core-book3s.c
413
struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
429
struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
488
static void power_pmu_bhrb_read(struct perf_event *event, struct cpu_hw_events *cpuhw)
arch/powerpc/perf/core-book3s.c
645
static unsigned long ebb_switch_in(bool ebb, struct cpu_hw_events *cpuhw)
arch/powerpc/perf/core-book3s.c
65
static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
arch/powerpc/perf/core-book3s.c
793
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-book3s.c
802
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-book3s.c
887
static int any_pmc_overflown(struct cpu_hw_events *cpuhw)
arch/powerpc/perf/core-book3s.c
967
static int power_check_constraints(struct cpu_hw_events *cpuhw,
arch/powerpc/perf/core-fsl-emb.c
192
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-fsl-emb.c
196
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-fsl-emb.c
231
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-fsl-emb.c
235
cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-fsl-emb.c
25
static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
arch/powerpc/perf/core-fsl-emb.c
278
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-fsl-emb.c
285
cpuhw = &get_cpu_var(cpu_hw_events);
arch/powerpc/perf/core-fsl-emb.c
331
put_cpu_var(cpu_hw_events);
arch/powerpc/perf/core-fsl-emb.c
339
struct cpu_hw_events *cpuhw;
arch/powerpc/perf/core-fsl-emb.c
348
cpuhw = &get_cpu_var(cpu_hw_events);
arch/powerpc/perf/core-fsl-emb.c
369
put_cpu_var(cpu_hw_events);
arch/powerpc/perf/core-fsl-emb.c
646
struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/powerpc/perf/core-fsl-emb.c
676
struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu);
arch/sh/kernel/perf_event.c
201
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sh/kernel/perf_event.c
219
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sh/kernel/perf_event.c
236
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sh/kernel/perf_event.c
246
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sh/kernel/perf_event.c
336
struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu);
arch/sh/kernel/perf_event.c
338
memset(cpuhw, 0, sizeof(struct cpu_hw_events));
arch/sh/kernel/perf_event.c
34
DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
arch/sparc/kernel/perf_event.c
1017
static void update_pcrs_for_enable(struct cpu_hw_events *cpuc)
arch/sparc/kernel/perf_event.c
1031
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1049
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1068
static int active_event_index(struct cpu_hw_events *cpuc,
arch/sparc/kernel/perf_event.c
1083
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1100
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1116
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
115
static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { .enabled = 1, };
arch/sparc/kernel/perf_event.c
1151
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1163
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1374
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1514
struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1532
struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1552
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
1618
struct cpu_hw_events *cpuc;
arch/sparc/kernel/perf_event.c
1639
cpuc = this_cpu_ptr(&cpu_hw_events);
arch/sparc/kernel/perf_event.c
827
static inline void sparc_pmu_enable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx)
arch/sparc/kernel/perf_event.c
845
static inline void sparc_pmu_disable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx)
arch/sparc/kernel/perf_event.c
923
static void read_in_all_counters(struct cpu_hw_events *cpuc)
arch/sparc/kernel/perf_event.c
947
static void calculate_single_pcr(struct cpu_hw_events *cpuc)
arch/sparc/kernel/perf_event.c
983
static void calculate_multiple_pcrs(struct cpu_hw_events *cpuc)
arch/x86/events/amd/brs.c
205
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/brs.c
221
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/brs.c
228
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/brs.c
257
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/brs.c
283
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/brs.c
387
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/brs.c
408
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/core.c
1054
amd_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/amd/core.c
1066
static void amd_put_event_constraints(struct cpu_hw_events *cpuc,
arch/x86/events/amd/core.c
1163
amd_get_event_constraints_f15h(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/amd/core.c
1238
amd_get_event_constraints_f17h(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/amd/core.c
1249
static void amd_put_event_constraints_f17h(struct cpu_hw_events *cpuc,
arch/x86/events/amd/core.c
1279
amd_get_event_constraints_f19h(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/amd/core.c
1579
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/core.c
1590
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/core.c
397
static inline int amd_has_nb(struct cpu_hw_events *cpuc)
arch/x86/events/amd/core.c
425
static void __amd_put_nb_event_constraints(struct cpu_hw_events *cpuc,
arch/x86/events/amd/core.c
484
__amd_get_nb_event_constraints(struct cpu_hw_events *cpuc, struct perf_event *event,
arch/x86/events/amd/core.c
582
struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/amd/core.c
606
struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/amd/core.c
621
nb = per_cpu(cpu_hw_events, i).amd_nb;
arch/x86/events/amd/core.c
638
struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/amd/core.c
727
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/core.c
759
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/core.c
898
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/core.c
933
struct cpu_hw_events *cpuc;
arch/x86/events/amd/core.c
944
cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/core.c
958
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/lbr.c
102
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/lbr.c
166
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/lbr.c
326
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/lbr.c
345
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/lbr.c
365
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/lbr.c
381
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/lbr.c
394
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/amd/lbr.c
417
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
1005
int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign)
arch/x86/events/core.c
1142
static int add_nr_metric_event(struct cpu_hw_events *cpuc,
arch/x86/events/core.c
1155
static void del_nr_metric_event(struct cpu_hw_events *cpuc,
arch/x86/events/core.c
1162
static int collect_event(struct cpu_hw_events *cpuc, struct perf_event *event,
arch/x86/events/core.c
1186
static int collect_events(struct cpu_hw_events *cpuc, struct perf_event *leader, bool dogrp)
arch/x86/events/core.c
1239
struct cpu_hw_events *cpuc, int i)
arch/x86/events/core.c
1298
struct cpu_hw_events *cpuc,
arch/x86/events/core.c
1313
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
1468
if (__this_cpu_read(cpu_hw_events.enabled))
arch/x86/events/core.c
1481
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
1539
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
1565
struct cpu_hw_events *cpuc;
arch/x86/events/core.c
1572
cpuc = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/core.c
1627
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
1649
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
1711
struct cpu_hw_events *cpuc;
arch/x86/events/core.c
1717
cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
1831
struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/core.c
1850
struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/core.c
2298
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
2307
__this_cpu_write(cpu_hw_events.n_txn, 0);
arch/x86/events/core.c
2308
__this_cpu_write(cpu_hw_events.n_txn_pair, 0);
arch/x86/events/core.c
2309
__this_cpu_write(cpu_hw_events.n_txn_metric, 0);
arch/x86/events/core.c
2320
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
2333
__this_cpu_sub(cpu_hw_events.n_added, __this_cpu_read(cpu_hw_events.n_txn));
arch/x86/events/core.c
2334
__this_cpu_sub(cpu_hw_events.n_events, __this_cpu_read(cpu_hw_events.n_txn));
arch/x86/events/core.c
2335
__this_cpu_sub(cpu_hw_events.n_pair, __this_cpu_read(cpu_hw_events.n_txn_pair));
arch/x86/events/core.c
2336
__this_cpu_sub(cpu_hw_events.n_metric, __this_cpu_read(cpu_hw_events.n_txn_metric));
arch/x86/events/core.c
2349
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
2387
static void free_fake_cpuc(struct cpu_hw_events *cpuc)
arch/x86/events/core.c
2393
static struct cpu_hw_events *allocate_fake_cpuc(struct pmu *event_pmu)
arch/x86/events/core.c
2395
struct cpu_hw_events *cpuc;
arch/x86/events/core.c
2428
struct cpu_hw_events *fake_cpuc;
arch/x86/events/core.c
2463
struct cpu_hw_events *fake_cpuc;
arch/x86/events/core.c
2550
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
55
DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = {
arch/x86/events/core.c
707
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
747
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
764
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/core.c
795
struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/intel/bts.c
148
struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds;
arch/x86/events/intel/bts.c
187
struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds;
arch/x86/events/intel/bts.c
263
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/bts.c
308
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/bts.c
463
struct debug_store *ds = this_cpu_ptr(&cpu_hw_events)->ds;
arch/x86/events/intel/bts.c
538
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
2762
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
2779
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
2813
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
2866
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
2931
static void intel_set_tfa(struct cpu_hw_events *cpuc, bool on)
arch/x86/events/intel/core.c
2941
static void intel_tfa_commit_scheduling(struct cpu_hw_events *cpuc, int idx, int cntr)
arch/x86/events/intel/core.c
2952
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
2985
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
2997
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3006
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3012
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3031
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3125
this_cpu_ptr(&cpu_hw_events)->n_late_setup--;
arch/x86/events/intel/core.c
3214
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3239
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3318
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3350
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3356
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3403
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3451
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3581
if (!__this_cpu_read(cpu_hw_events.enabled))
arch/x86/events/intel/core.c
3594
static void intel_pmu_acr_late_setup(struct cpu_hw_events *cpuc)
arch/x86/events/intel/core.c
3640
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3657
this_cpu_ptr(&cpu_hw_events)->n_late_setup++;
arch/x86/events/intel/core.c
3699
struct debug_store *ds = __this_cpu_read(cpu_hw_events.ds);
arch/x86/events/intel/core.c
3700
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3755
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3783
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
3944
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
4045
static int intel_alt_er(struct cpu_hw_events *cpuc,
arch/x86/events/intel/core.c
4115
__intel_shared_reg_get_constraints(struct cpu_hw_events *cpuc,
arch/x86/events/intel/core.c
4190
__intel_shared_reg_put_constraints(struct cpu_hw_events *cpuc,
arch/x86/events/intel/core.c
4216
intel_shared_regs_constraints(struct cpu_hw_events *cpuc,
arch/x86/events/intel/core.c
4240
x86_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
4259
__intel_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
4284
intel_start_scheduling(struct cpu_hw_events *cpuc)
arch/x86/events/intel/core.c
4313
static void intel_commit_scheduling(struct cpu_hw_events *cpuc, int idx, int cntr)
arch/x86/events/intel/core.c
4340
intel_stop_scheduling(struct cpu_hw_events *cpuc)
arch/x86/events/intel/core.c
4367
dyn_constraint(struct cpu_hw_events *cpuc, struct event_constraint *c, int idx)
arch/x86/events/intel/core.c
4396
intel_get_excl_constraints(struct cpu_hw_events *cpuc, struct perf_event *event,
arch/x86/events/intel/core.c
4496
intel_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
4528
static void intel_put_excl_constraints(struct cpu_hw_events *cpuc,
arch/x86/events/intel/core.c
4574
intel_put_shared_regs_event_constraints(struct cpu_hw_events *cpuc,
arch/x86/events/intel/core.c
4588
static void intel_put_event_constraints(struct cpu_hw_events *cpuc,
arch/x86/events/intel/core.c
5277
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
5357
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
5391
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
5467
hsw_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5485
icl_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5500
glc_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5525
glp_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5540
tnt_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5565
tfa_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5583
adl_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5598
cmt_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5636
rwc_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5660
mtl_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5699
arl_h_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/intel/core.c
5885
int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu)
arch/x86/events/intel/core.c
5929
ret = intel_cpuc_prepare(&per_cpu(cpu_hw_events, cpu), cpu);
arch/x86/events/intel/core.c
6315
struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/intel/core.c
6350
struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/intel/core.c
6406
pc = per_cpu(cpu_hw_events, i).shared_regs;
arch/x86/events/intel/core.c
6422
struct cpu_hw_events *sibling;
arch/x86/events/intel/core.c
6425
sibling = &per_cpu(cpu_hw_events, i);
arch/x86/events/intel/core.c
6440
static void free_excl_cntrs(struct cpu_hw_events *cpuc)
arch/x86/events/intel/core.c
6461
void intel_cpuc_finish(struct cpu_hw_events *cpuc)
arch/x86/events/intel/core.c
6477
struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu);
arch/x86/events/intel/core.c
7070
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/core.c
8928
free_excl_cntrs(&per_cpu(cpu_hw_events, c));
arch/x86/events/intel/ds.c
1077
struct cpu_hw_events *cpuc = per_cpu_ptr(&cpu_hw_events, cpu);
arch/x86/events/intel/ds.c
1137
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1154
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1592
static inline bool pebs_needs_sched_cb(struct cpu_hw_events *cpuc)
arch/x86/events/intel/ds.c
1602
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1608
static inline void pebs_update_threshold(struct cpu_hw_events *cpuc)
arch/x86/events/intel/ds.c
1648
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1694
void intel_pmu_pebs_late_setup(struct cpu_hw_events *cpuc)
arch/x86/events/intel/ds.c
1766
pebs_update_state(bool needed_cb, struct cpu_hw_events *cpuc,
arch/x86/events/intel/ds.c
1806
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1825
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1840
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1851
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1877
static inline void intel_pmu_drain_large_pebs(struct cpu_hw_events *cpuc)
arch/x86/events/intel/ds.c
1886
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1895
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1950
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1965
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1975
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
1994
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
2002
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
2010
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
2185
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
2377
WARN_ON(this_cpu_read(cpu_hw_events.enabled));
arch/x86/events/intel/ds.c
2387
static inline void __setup_pebs_counter_group(struct cpu_hw_events *cpuc,
arch/x86/events/intel/ds.c
2517
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
2635
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
2755
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
2807
WARN_ON(this_cpu_read(cpu_hw_events.enabled));
arch/x86/events/intel/ds.c
2941
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
2962
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
2998
static void intel_pmu_pebs_event_update_no_drain(struct cpu_hw_events *cpuc, u64 mask)
arch/x86/events/intel/ds.c
3020
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
3142
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
3169
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
3189
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
3240
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/ds.c
3455
struct debug_store *ds = __this_cpu_read(cpu_hw_events.ds);
arch/x86/events/intel/ds.c
778
struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds;
arch/x86/events/intel/ds.c
788
if (!per_cpu(cpu_hw_events, cpu).ds)
arch/x86/events/intel/ds.c
847
struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu);
arch/x86/events/intel/ds.c
890
struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu);
arch/x86/events/intel/ds.c
911
struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu);
arch/x86/events/intel/ds.c
940
struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu);
arch/x86/events/intel/ds.c
958
per_cpu(cpu_hw_events, cpu).ds = ds;
arch/x86/events/intel/ds.c
964
per_cpu(cpu_hw_events, cpu).ds = NULL;
arch/x86/events/intel/knc.c
217
struct cpu_hw_events *cpuc;
arch/x86/events/intel/knc.c
222
cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
1000
static void intel_pmu_arch_lbr_read_xsave(struct cpu_hw_events *cpuc)
arch/x86/events/intel/lbr.c
1015
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
108
static void intel_pmu_lbr_filter(struct cpu_hw_events *cpuc);
arch/x86/events/intel/lbr.c
1212
intel_pmu_lbr_filter(struct cpu_hw_events *cpuc)
arch/x86/events/intel/lbr.c
125
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
1279
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
194
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
364
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
435
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
462
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
512
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
530
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
572
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
624
struct cpu_hw_events *cpuc;
arch/x86/events/intel/lbr.c
631
cpuc = per_cpu_ptr(&cpu_hw_events, cpu);
arch/x86/events/intel/lbr.c
643
struct cpu_hw_events *cpuc;
arch/x86/events/intel/lbr.c
650
cpuc = per_cpu_ptr(&cpu_hw_events, cpu);
arch/x86/events/intel/lbr.c
663
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
714
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
722
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
730
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/lbr.c
740
void intel_pmu_lbr_read_32(struct cpu_hw_events *cpuc)
arch/x86/events/intel/lbr.c
774
void intel_pmu_lbr_read_64(struct cpu_hw_events *cpuc)
arch/x86/events/intel/lbr.c
902
static void intel_pmu_store_lbr(struct cpu_hw_events *cpuc,
arch/x86/events/intel/lbr.c
951
static void intel_pmu_lbr_counters_reorder(struct cpu_hw_events *cpuc,
arch/x86/events/intel/lbr.c
983
struct cpu_hw_events *cpuc,
arch/x86/events/intel/lbr.c
995
static void intel_pmu_arch_lbr_read(struct cpu_hw_events *cpuc)
arch/x86/events/intel/p4.c
1000
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/p4.c
1037
struct cpu_hw_events *cpuc;
arch/x86/events/intel/p4.c
1043
cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/intel/p4.c
1241
static int p4_pmu_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign)
arch/x86/events/intel/p4.c
921
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/perf_event.h
1005
void (*lbr_read)(struct cpu_hw_events *cpuc);
arch/x86/events/perf_event.h
1190
DECLARE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
arch/x86/events/perf_event.h
1279
u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask);
arch/x86/events/perf_event.h
1298
int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign);
arch/x86/events/perf_event.h
1304
u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask);
arch/x86/events/perf_event.h
1509
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/perf_event.h
1521
struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/perf_event.h
1650
x86_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
arch/x86/events/perf_event.h
1653
extern int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu);
arch/x86/events/perf_event.h
1654
extern void intel_cpuc_finish(struct cpu_hw_events *cpuc);
arch/x86/events/perf_event.h
1755
void intel_pmu_pebs_late_setup(struct cpu_hw_events *cpuc);
arch/x86/events/perf_event.h
1764
struct cpu_hw_events *cpuc,
arch/x86/events/perf_event.h
1788
void intel_pmu_lbr_read_32(struct cpu_hw_events *cpuc);
arch/x86/events/perf_event.h
1790
void intel_pmu_lbr_read_64(struct cpu_hw_events *cpuc);
arch/x86/events/perf_event.h
1894
static inline int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu)
arch/x86/events/perf_event.h
1899
static inline void intel_cpuc_finish(struct cpu_hw_events *cpuc)
arch/x86/events/perf_event.h
847
int (*schedule_events)(struct cpu_hw_events *cpuc, int n, int *assign);
arch/x86/events/perf_event.h
887
(*get_event_constraints)(struct cpu_hw_events *cpuc,
arch/x86/events/perf_event.h
891
void (*put_event_constraints)(struct cpu_hw_events *cpuc,
arch/x86/events/perf_event.h
894
void (*start_scheduling)(struct cpu_hw_events *cpuc);
arch/x86/events/perf_event.h
896
void (*commit_scheduling)(struct cpu_hw_events *cpuc, int idx, int cntr);
arch/x86/events/perf_event.h
898
void (*stop_scheduling)(struct cpu_hw_events *cpuc);
arch/x86/events/zhaoxin/core.c
359
struct cpu_hw_events *cpuc;
arch/x86/events/zhaoxin/core.c
364
cpuc = this_cpu_ptr(&cpu_hw_events);
arch/x86/events/zhaoxin/core.c
423
zhaoxin_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
drivers/perf/riscv_pmu.c
260
struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events);
drivers/perf/riscv_pmu.c
284
struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events);
drivers/perf/riscv_pmu.c
390
struct cpu_hw_events *cpuc;
drivers/perf/riscv_pmu.c
396
pmu->hw_events = alloc_percpu_gfp(struct cpu_hw_events, GFP_KERNEL);
drivers/perf/riscv_pmu_sbi.c
1032
struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events);
drivers/perf/riscv_pmu_sbi.c
1051
struct cpu_hw_events *cpu_hw_evt = dev;
drivers/perf/riscv_pmu_sbi.c
1150
struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events);
drivers/perf/riscv_pmu_sbi.c
1194
struct cpu_hw_events __percpu *hw_events = pmu->hw_events;
drivers/perf/riscv_pmu_sbi.c
1245
struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events);
drivers/perf/riscv_pmu_sbi.c
541
struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events);
drivers/perf/riscv_pmu_sbi.c
600
struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events);
drivers/perf/riscv_pmu_sbi.c
660
struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu);
drivers/perf/riscv_pmu_sbi.c
677
struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu);
drivers/perf/riscv_pmu_sbi.c
707
struct cpu_hw_events *cpu_hw_evt;
drivers/perf/riscv_pmu_sbi.c
745
struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events);
drivers/perf/riscv_pmu_sbi.c
826
struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events);
drivers/perf/riscv_pmu_sbi.c
911
struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events);
drivers/perf/riscv_pmu_sbi.c
953
static inline void pmu_sbi_start_ovf_ctrs_sbi(struct cpu_hw_events *cpu_hw_evt,
drivers/perf/riscv_pmu_sbi.c
994
static inline void pmu_sbi_start_ovf_ctrs_snapshot(struct cpu_hw_events *cpu_hw_evt,
include/linux/perf/riscv_pmu.h
71
struct cpu_hw_events __percpu *hw_events;