cpu_hw_events 53 arch/alpha/kernel/perf_event.c DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); cpu_hw_events 391 arch/alpha/kernel/perf_event.c static void maybe_change_configuration(struct cpu_hw_events *cpuc) cpu_hw_events 435 arch/alpha/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 487 arch/alpha/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 535 arch/alpha/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 555 arch/alpha/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 722 arch/alpha/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 748 arch/alpha/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 807 arch/alpha/kernel/perf_event.c struct cpu_hw_events *cpuc; cpu_hw_events 814 arch/alpha/kernel/perf_event.c cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 48 arch/mips/kernel/perf_event_mipsxx.c DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { cpu_hw_events 285 arch/mips/kernel/perf_event_mipsxx.c static int mipsxx_pmu_alloc_counter(struct cpu_hw_events *cpuc, cpu_hw_events 318 arch/mips/kernel/perf_event_mipsxx.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 358 arch/mips/kernel/perf_event_mipsxx.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 458 arch/mips/kernel/perf_event_mipsxx.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 494 arch/mips/kernel/perf_event_mipsxx.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 714 arch/mips/kernel/perf_event_mipsxx.c struct cpu_hw_events fake_cpuc; cpu_hw_events 733 arch/mips/kernel/perf_event_mipsxx.c static void handle_associated_event(struct cpu_hw_events *cpuc, cpu_hw_events 1356 arch/mips/kernel/perf_event_mipsxx.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1372 arch/mips/kernel/perf_event_mipsxx.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1383 arch/mips/kernel/perf_event_mipsxx.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 33 arch/nds32/kernel/perf_event_cpu.c static DEFINE_PER_CPU(struct pmu_hw_events, cpu_hw_events); cpu_hw_events 1068 arch/nds32/kernel/perf_event_cpu.c return this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1109 arch/nds32/kernel/perf_event_cpu.c struct pmu_hw_events *events = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 64 arch/powerpc/perf/core-book3s.c static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); cpu_hw_events 122 arch/powerpc/perf/core-book3s.c static unsigned long ebb_switch_in(bool ebb, struct cpu_hw_events *cpuhw) cpu_hw_events 130 arch/powerpc/perf/core-book3s.c static inline void power_pmu_bhrb_read(struct cpu_hw_events *cpuhw) {} cpu_hw_events 369 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 385 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 447 arch/powerpc/perf/core-book3s.c static void power_pmu_bhrb_read(struct cpu_hw_events *cpuhw) cpu_hw_events 596 arch/powerpc/perf/core-book3s.c static unsigned long ebb_switch_in(bool ebb, struct cpu_hw_events *cpuhw) cpu_hw_events 866 arch/powerpc/perf/core-book3s.c static int power_check_constraints(struct cpu_hw_events *cpuhw, cpu_hw_events 1113 arch/powerpc/perf/core-book3s.c static void freeze_limited_counters(struct cpu_hw_events *cpuhw, cpu_hw_events 1133 arch/powerpc/perf/core-book3s.c static void thaw_limited_counters(struct cpu_hw_events *cpuhw, cpu_hw_events 1162 arch/powerpc/perf/core-book3s.c static void write_mmcr0(struct cpu_hw_events *cpuhw, unsigned long mmcr0) cpu_hw_events 1203 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw; cpu_hw_events 1209 arch/powerpc/perf/core-book3s.c cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1277 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw; cpu_hw_events 1291 arch/powerpc/perf/core-book3s.c cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1471 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw; cpu_hw_events 1483 arch/powerpc/perf/core-book3s.c cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1540 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw; cpu_hw_events 1549 arch/powerpc/perf/core-book3s.c cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1659 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1678 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1698 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw; cpu_hw_events 1704 arch/powerpc/perf/core-book3s.c cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1848 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw; cpu_hw_events 1951 arch/powerpc/perf/core-book3s.c cpuhw = &get_cpu_var(cpu_hw_events); cpu_hw_events 1959 arch/powerpc/perf/core-book3s.c put_cpu_var(cpu_hw_events); cpu_hw_events 1965 arch/powerpc/perf/core-book3s.c put_cpu_var(cpu_hw_events); cpu_hw_events 2093 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw; cpu_hw_events 2094 arch/powerpc/perf/core-book3s.c cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2175 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2266 arch/powerpc/perf/core-book3s.c struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 25 arch/powerpc/perf/core-fsl-emb.c static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); cpu_hw_events 205 arch/powerpc/perf/core-fsl-emb.c struct cpu_hw_events *cpuhw; cpu_hw_events 209 arch/powerpc/perf/core-fsl-emb.c cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 244 arch/powerpc/perf/core-fsl-emb.c struct cpu_hw_events *cpuhw; cpu_hw_events 248 arch/powerpc/perf/core-fsl-emb.c cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 291 arch/powerpc/perf/core-fsl-emb.c struct cpu_hw_events *cpuhw; cpu_hw_events 298 arch/powerpc/perf/core-fsl-emb.c cpuhw = &get_cpu_var(cpu_hw_events); cpu_hw_events 344 arch/powerpc/perf/core-fsl-emb.c put_cpu_var(cpu_hw_events); cpu_hw_events 352 arch/powerpc/perf/core-fsl-emb.c struct cpu_hw_events *cpuhw; cpu_hw_events 361 arch/powerpc/perf/core-fsl-emb.c cpuhw = &get_cpu_var(cpu_hw_events); cpu_hw_events 384 arch/powerpc/perf/core-fsl-emb.c put_cpu_var(cpu_hw_events); cpu_hw_events 658 arch/powerpc/perf/core-fsl-emb.c struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 702 arch/powerpc/perf/core-fsl-emb.c struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 36 arch/riscv/kernel/perf_event.c static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); cpu_hw_events 299 arch/riscv/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 330 arch/riscv/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 34 arch/sh/kernel/perf_event.c DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); cpu_hw_events 219 arch/sh/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 237 arch/sh/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 254 arch/sh/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 264 arch/sh/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 354 arch/sh/kernel/perf_event.c struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 356 arch/sh/kernel/perf_event.c memset(cpuhw, 0, sizeof(struct cpu_hw_events)); cpu_hw_events 115 arch/sparc/kernel/perf_event.c static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { .enabled = 1, }; cpu_hw_events 827 arch/sparc/kernel/perf_event.c static inline void sparc_pmu_enable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx) cpu_hw_events 845 arch/sparc/kernel/perf_event.c static inline void sparc_pmu_disable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx) cpu_hw_events 923 arch/sparc/kernel/perf_event.c static void read_in_all_counters(struct cpu_hw_events *cpuc) cpu_hw_events 947 arch/sparc/kernel/perf_event.c static void calculate_single_pcr(struct cpu_hw_events *cpuc) cpu_hw_events 983 arch/sparc/kernel/perf_event.c static void calculate_multiple_pcrs(struct cpu_hw_events *cpuc) cpu_hw_events 1017 arch/sparc/kernel/perf_event.c static void update_pcrs_for_enable(struct cpu_hw_events *cpuc) cpu_hw_events 1031 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1049 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1068 arch/sparc/kernel/perf_event.c static int active_event_index(struct cpu_hw_events *cpuc, cpu_hw_events 1083 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1100 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1116 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1151 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1163 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1374 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1514 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1532 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1552 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1618 arch/sparc/kernel/perf_event.c struct cpu_hw_events *cpuc; cpu_hw_events 1639 arch/sparc/kernel/perf_event.c cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 347 arch/x86/events/amd/core.c static inline int amd_has_nb(struct cpu_hw_events *cpuc) cpu_hw_events 375 arch/x86/events/amd/core.c static void __amd_put_nb_event_constraints(struct cpu_hw_events *cpuc, cpu_hw_events 432 arch/x86/events/amd/core.c __amd_get_nb_event_constraints(struct cpu_hw_events *cpuc, struct perf_event *event, cpu_hw_events 508 arch/x86/events/amd/core.c struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 524 arch/x86/events/amd/core.c struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 538 arch/x86/events/amd/core.c nb = per_cpu(cpu_hw_events, i).amd_nb; cpu_hw_events 555 arch/x86/events/amd/core.c struct cpu_hw_events *cpuhw; cpu_hw_events 560 arch/x86/events/amd/core.c cpuhw = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 603 arch/x86/events/amd/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 667 arch/x86/events/amd/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 698 arch/x86/events/amd/core.c amd_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 710 arch/x86/events/amd/core.c static void amd_put_event_constraints(struct cpu_hw_events *cpuc, cpu_hw_events 807 arch/x86/events/amd/core.c amd_get_event_constraints_f15h(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 882 arch/x86/events/amd/core.c amd_get_event_constraints_f17h(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 1019 arch/x86/events/amd/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1031 arch/x86/events/amd/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 48 arch/x86/events/core.c DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { cpu_hw_events 616 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 647 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 664 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 871 arch/x86/events/core.c int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign) cpu_hw_events 1004 arch/x86/events/core.c static int collect_events(struct cpu_hw_events *cpuc, struct perf_event *leader, bool dogrp) cpu_hw_events 1059 arch/x86/events/core.c struct cpu_hw_events *cpuc, int i) cpu_hw_events 1103 arch/x86/events/core.c struct cpu_hw_events *cpuc, cpu_hw_events 1115 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1256 arch/x86/events/core.c if (__this_cpu_read(cpu_hw_events.enabled)) cpu_hw_events 1269 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1329 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1356 arch/x86/events/core.c struct cpu_hw_events *cpuc; cpu_hw_events 1366 arch/x86/events/core.c cpuc = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 1414 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1437 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1494 arch/x86/events/core.c struct cpu_hw_events *cpuc; cpu_hw_events 1499 arch/x86/events/core.c cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1580 arch/x86/events/core.c struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 1599 arch/x86/events/core.c struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 1897 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1906 arch/x86/events/core.c __this_cpu_write(cpu_hw_events.n_txn, 0); cpu_hw_events 1917 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1930 arch/x86/events/core.c __this_cpu_sub(cpu_hw_events.n_added, __this_cpu_read(cpu_hw_events.n_txn)); cpu_hw_events 1931 arch/x86/events/core.c __this_cpu_sub(cpu_hw_events.n_events, __this_cpu_read(cpu_hw_events.n_txn)); cpu_hw_events 1944 arch/x86/events/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1982 arch/x86/events/core.c static void free_fake_cpuc(struct cpu_hw_events *cpuc) cpu_hw_events 1988 arch/x86/events/core.c static struct cpu_hw_events *allocate_fake_cpuc(void) cpu_hw_events 1990 arch/x86/events/core.c struct cpu_hw_events *cpuc; cpu_hw_events 2012 arch/x86/events/core.c struct cpu_hw_events *fake_cpuc; cpu_hw_events 2047 arch/x86/events/core.c struct cpu_hw_events *fake_cpuc; cpu_hw_events 147 arch/x86/events/intel/bts.c struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds; cpu_hw_events 186 arch/x86/events/intel/bts.c struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds; cpu_hw_events 256 arch/x86/events/intel/bts.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 301 arch/x86/events/intel/bts.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 446 arch/x86/events/intel/bts.c struct debug_store *ds = this_cpu_ptr(&cpu_hw_events)->ds; cpu_hw_events 516 arch/x86/events/intel/bts.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1951 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1969 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2008 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2073 arch/x86/events/intel/core.c static void intel_set_tfa(struct cpu_hw_events *cpuc, bool on) cpu_hw_events 2083 arch/x86/events/intel/core.c static void intel_tfa_commit_scheduling(struct cpu_hw_events *cpuc, int idx, int cntr) cpu_hw_events 2094 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2152 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2234 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2237 arch/x86/events/intel/core.c if (!__this_cpu_read(cpu_hw_events.enabled)) cpu_hw_events 2294 arch/x86/events/intel/core.c struct debug_store *ds = __this_cpu_read(cpu_hw_events.ds); cpu_hw_events 2333 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2446 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2519 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc; cpu_hw_events 2525 arch/x86/events/intel/core.c cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2640 arch/x86/events/intel/core.c __intel_shared_reg_get_constraints(struct cpu_hw_events *cpuc, cpu_hw_events 2715 arch/x86/events/intel/core.c __intel_shared_reg_put_constraints(struct cpu_hw_events *cpuc, cpu_hw_events 2741 arch/x86/events/intel/core.c intel_shared_regs_constraints(struct cpu_hw_events *cpuc, cpu_hw_events 2765 arch/x86/events/intel/core.c x86_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 2783 arch/x86/events/intel/core.c __intel_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 2804 arch/x86/events/intel/core.c intel_start_scheduling(struct cpu_hw_events *cpuc) cpu_hw_events 2833 arch/x86/events/intel/core.c static void intel_commit_scheduling(struct cpu_hw_events *cpuc, int idx, int cntr) cpu_hw_events 2860 arch/x86/events/intel/core.c intel_stop_scheduling(struct cpu_hw_events *cpuc) cpu_hw_events 2887 arch/x86/events/intel/core.c dyn_constraint(struct cpu_hw_events *cpuc, struct event_constraint *c, int idx) cpu_hw_events 2916 arch/x86/events/intel/core.c intel_get_excl_constraints(struct cpu_hw_events *cpuc, struct perf_event *event, cpu_hw_events 3016 arch/x86/events/intel/core.c intel_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 3042 arch/x86/events/intel/core.c static void intel_put_excl_constraints(struct cpu_hw_events *cpuc, cpu_hw_events 3088 arch/x86/events/intel/core.c intel_put_shared_regs_event_constraints(struct cpu_hw_events *cpuc, cpu_hw_events 3102 arch/x86/events/intel/core.c static void intel_put_event_constraints(struct cpu_hw_events *cpuc, cpu_hw_events 3337 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 3369 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 3403 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 3467 arch/x86/events/intel/core.c hsw_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 3485 arch/x86/events/intel/core.c icl_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 3500 arch/x86/events/intel/core.c glp_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 3515 arch/x86/events/intel/core.c tnt_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 3540 arch/x86/events/intel/core.c tfa_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 3648 arch/x86/events/intel/core.c int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu) cpu_hw_events 3690 arch/x86/events/intel/core.c return intel_cpuc_prepare(&per_cpu(cpu_hw_events, cpu), cpu); cpu_hw_events 3708 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu); cpu_hw_events 3739 arch/x86/events/intel/core.c pc = per_cpu(cpu_hw_events, i).shared_regs; cpu_hw_events 3755 arch/x86/events/intel/core.c struct cpu_hw_events *sibling; cpu_hw_events 3758 arch/x86/events/intel/core.c sibling = &per_cpu(cpu_hw_events, i); cpu_hw_events 3773 arch/x86/events/intel/core.c static void free_excl_cntrs(struct cpu_hw_events *cpuc) cpu_hw_events 3796 arch/x86/events/intel/core.c void intel_cpuc_finish(struct cpu_hw_events *cpuc) cpu_hw_events 3812 arch/x86/events/intel/core.c intel_cpuc_finish(&per_cpu(cpu_hw_events, cpu)); cpu_hw_events 4342 arch/x86/events/intel/core.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 5209 arch/x86/events/intel/core.c free_excl_cntrs(&per_cpu(cpu_hw_events, c)); cpu_hw_events 265 arch/x86/events/intel/ds.c struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds; cpu_hw_events 277 arch/x86/events/intel/ds.c if (!per_cpu(cpu_hw_events, cpu).ds) cpu_hw_events 336 arch/x86/events/intel/ds.c struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); cpu_hw_events 374 arch/x86/events/intel/ds.c struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); cpu_hw_events 392 arch/x86/events/intel/ds.c struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); cpu_hw_events 421 arch/x86/events/intel/ds.c struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); cpu_hw_events 439 arch/x86/events/intel/ds.c per_cpu(cpu_hw_events, cpu).ds = ds; cpu_hw_events 445 arch/x86/events/intel/ds.c per_cpu(cpu_hw_events, cpu).ds = NULL; cpu_hw_events 565 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 582 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 903 arch/x86/events/intel/ds.c static inline bool pebs_needs_sched_cb(struct cpu_hw_events *cpuc) cpu_hw_events 913 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 919 arch/x86/events/intel/ds.c static inline void pebs_update_threshold(struct cpu_hw_events *cpuc) cpu_hw_events 945 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1012 arch/x86/events/intel/ds.c pebs_update_state(bool needed_cb, struct cpu_hw_events *cpuc, cpu_hw_events 1061 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1076 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1087 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1104 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1145 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1160 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1185 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1193 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1201 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1348 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1513 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1618 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1679 arch/x86/events/intel/ds.c WARN_ON(this_cpu_read(cpu_hw_events.enabled)); cpu_hw_events 1733 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1774 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1810 arch/x86/events/intel/ds.c static void intel_pmu_pebs_event_update_no_drain(struct cpu_hw_events *cpuc, int size) cpu_hw_events 1831 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1946 arch/x86/events/intel/ds.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 2096 arch/x86/events/intel/ds.c struct debug_store *ds = __this_cpu_read(cpu_hw_events.ds); cpu_hw_events 216 arch/x86/events/intel/knc.c struct cpu_hw_events *cpuc; cpu_hw_events 221 arch/x86/events/intel/knc.c cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 146 arch/x86/events/intel/lbr.c static void intel_pmu_lbr_filter(struct cpu_hw_events *cpuc); cpu_hw_events 155 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 219 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 342 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 390 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 422 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 459 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 500 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 522 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 530 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 536 arch/x86/events/intel/lbr.c static void intel_pmu_lbr_read_32(struct cpu_hw_events *cpuc) cpu_hw_events 572 arch/x86/events/intel/lbr.c static void intel_pmu_lbr_read_64(struct cpu_hw_events *cpuc) cpu_hw_events 664 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1042 arch/x86/events/intel/lbr.c intel_pmu_lbr_filter(struct cpu_hw_events *cpuc) cpu_hw_events 1096 arch/x86/events/intel/lbr.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 918 arch/x86/events/intel/p4.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 987 arch/x86/events/intel/p4.c struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1001 arch/x86/events/intel/p4.c struct cpu_hw_events *cpuc; cpu_hw_events 1007 arch/x86/events/intel/p4.c cpuc = this_cpu_ptr(&cpu_hw_events); cpu_hw_events 1206 arch/x86/events/intel/p4.c static int p4_pmu_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign) cpu_hw_events 581 arch/x86/events/perf_event.h int (*schedule_events)(struct cpu_hw_events *cpuc, int n, int *assign); cpu_hw_events 600 arch/x86/events/perf_event.h (*get_event_constraints)(struct cpu_hw_events *cpuc, cpu_hw_events 604 arch/x86/events/perf_event.h void (*put_event_constraints)(struct cpu_hw_events *cpuc, cpu_hw_events 607 arch/x86/events/perf_event.h void (*start_scheduling)(struct cpu_hw_events *cpuc); cpu_hw_events 609 arch/x86/events/perf_event.h void (*commit_scheduling)(struct cpu_hw_events *cpuc, int idx, int cntr); cpu_hw_events 611 arch/x86/events/perf_event.h void (*stop_scheduling)(struct cpu_hw_events *cpuc); cpu_hw_events 775 arch/x86/events/perf_event.h DECLARE_PER_CPU(struct cpu_hw_events, cpu_hw_events); cpu_hw_events 838 arch/x86/events/perf_event.h u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask); cpu_hw_events 849 arch/x86/events/perf_event.h int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign); cpu_hw_events 949 arch/x86/events/perf_event.h x86_get_event_constraints(struct cpu_hw_events *cpuc, int idx, cpu_hw_events 952 arch/x86/events/perf_event.h extern int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu); cpu_hw_events 953 arch/x86/events/perf_event.h extern void intel_cpuc_finish(struct cpu_hw_events *cpuc); cpu_hw_events 1093 arch/x86/events/perf_event.h static inline int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu) cpu_hw_events 1098 arch/x86/events/perf_event.h static inline void intel_cpuc_finish(struct cpu_hw_events *cpuc)