Home
last modified time | relevance | path

Searched refs:pmc_cpu (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/sys/dev/hwpmc/
H A Dhwpmc_intel.c47 intel_switch_in(struct pmc_cpu *pc, struct pmc_process *pp) in intel_switch_in()
64 intel_switch_out(struct pmc_cpu *pc, struct pmc_process *pp) in intel_switch_out()
H A Dhwpmc_powerpc.c96 powerpc_switch_in(struct pmc_cpu *pc, struct pmc_process *pp) in powerpc_switch_in()
103 powerpc_switch_out(struct pmc_cpu *pc, struct pmc_process *pp) in powerpc_switch_out()
H A Dhwpmc_arm64.c414 arm64_switch_in(struct pmc_cpu *pc, struct pmc_process *pp) in arm64_switch_in()
421 arm64_switch_out(struct pmc_cpu *pc, struct pmc_process *pp) in arm64_switch_out()
432 struct pmc_cpu *pc; in arm64_pcpu_init()
H A Dhwpmc_armv7.c405 armv7_switch_in(struct pmc_cpu *pc, struct pmc_process *pp) in armv7_switch_in()
412 armv7_switch_out(struct pmc_cpu *pc, struct pmc_process *pp) in armv7_switch_out()
423 struct pmc_cpu *pc; in armv7_pcpu_init()
H A Dhwpmc_tsc.c184 struct pmc_cpu *pc; in tsc_pcpu_fini()
205 struct pmc_cpu *pc; in tsc_pcpu_init()
H A Dhwpmc_mips.c360 mips_pmc_switch_in(struct pmc_cpu *pc, struct pmc_process *pp) in mips_pmc_switch_in()
366 mips_pmc_switch_out(struct pmc_cpu *pc, struct pmc_process *pp) in mips_pmc_switch_out()
375 struct pmc_cpu *pc; in mips_pcpu_init()
H A Dhwpmc_amd.c527 amd_switch_in(struct pmc_cpu *pc, struct pmc_process *pp) in amd_switch_in()
547 amd_switch_out(struct pmc_cpu *pc, struct pmc_process *pp) in amd_switch_out()
914 struct pmc_cpu *pc; in amd_pcpu_init()
962 struct pmc_cpu *pc; in amd_pcpu_fini()
H A Dhwpmc_soft.c210 struct pmc_cpu *pc; in soft_pcpu_fini()
234 struct pmc_cpu *pc; in soft_pcpu_init()
H A Dhwpmc_uncore.c98 struct pmc_cpu *pc; in uncore_pcpu_init()
136 struct pmc_cpu *pc; in uncore_pcpu_fini()
H A Dhwpmc_mod.c101 struct pmc_cpu **pmc_pcpu; /* per-cpu state */
263 static int generic_switch_in(struct pmc_cpu *pc, struct pmc_process *pp);
264 static int generic_switch_out(struct pmc_cpu *pc, struct pmc_process *pp);
1351 struct pmc_cpu *pc; in pmc_process_csw_in()
1518 struct pmc_cpu *pc; in pmc_process_csw_out()
3727 struct pmc_cpu *pc; in pmc_syscall_handler()
5469 generic_switch_in(struct pmc_cpu *pc, struct pmc_process *pp) in generic_switch_in()
5477 generic_switch_out(struct pmc_cpu *pc, struct pmc_process *pp) in generic_switch_out()
5610 pmc_pcpu = malloc(maxcpu * sizeof(struct pmc_cpu *), M_PMC, in pmc_initialize()
5624 pmc_pcpu[cpu] = malloc(sizeof(struct pmc_cpu) + in pmc_initialize()
H A Dhwpmc_core.c121 struct pmc_cpu *pc; in core_pcpu_init()
161 struct pmc_cpu *pc; in core_pcpu_fini()
H A Dhwpmc_ppc970.c546 struct pmc_cpu *pc; in ppc970_pcpu_init()
H A Dhwpmc_e500.c437 struct pmc_cpu *pc; in e500_pcpu_init()
H A Dhwpmc_mpc7xxx.c555 struct pmc_cpu *pc; in mpc7xxx_pcpu_init()
/freebsd-12.1/sys/sys/
H A Dpmc.h973 struct pmc_cpu { struct
1061 int (*pmd_switch_in)(struct pmc_cpu *_p, struct pmc_process *_pp);
1062 int (*pmd_switch_out)(struct pmc_cpu *_p, struct pmc_process *_pp);
1078 extern struct pmc_cpu **pmc_pcpu;