/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_uncore.c | 80 uncore_pcpu_noop(struct pmc_mdep *md, int cpu) in uncore_pcpu_noop() 88 uncore_pcpu_init(struct pmc_mdep *md, int cpu) in uncore_pcpu_init() 125 uncore_pcpu_fini(struct pmc_mdep *md, int cpu) in uncore_pcpu_fini() 185 ucf_allocate_pmc(int cpu, int ri, struct pmc *pm, in ucf_allocate_pmc() 215 ucf_config_pmc(int cpu, int ri, struct pmc *pm) in ucf_config_pmc() 255 ucf_get_config(int cpu, int ri, struct pmc **ppm) in ucf_get_config() 285 ucf_release_pmc(int cpu, int ri, struct pmc *pmc) in ucf_release_pmc() 301 ucf_start_pmc(int cpu, int ri, struct pmc *pm) in ucf_start_pmc() 524 ucp_config_pmc(int cpu, int ri, struct pmc *pm) in ucp_config_pmc() 594 ucp_release_pmc(int cpu, int ri, struct pmc *pm) in ucp_release_pmc() [all …]
|
H A D | hwpmc_soft.c | 95 soft_allocate_pmc(int cpu, int ri, struct pmc *pm, in soft_allocate_pmc() 134 soft_config_pmc(int cpu, int ri, struct pmc *pm) in soft_config_pmc() 157 soft_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) in soft_describe() 185 soft_get_config(int cpu, int ri, struct pmc **ppm) in soft_get_config() 199 soft_pcpu_fini(struct pmc_mdep *md, int cpu) in soft_pcpu_fini() 223 soft_pcpu_init(struct pmc_mdep *md, int cpu) in soft_pcpu_init() 257 soft_read_pmc(int cpu, int ri, struct pmc *pm __unused, pmc_value_t *v) in soft_read_pmc() 273 soft_write_pmc(int cpu, int ri, struct pmc *pm __unused, pmc_value_t v) in soft_write_pmc() 288 soft_release_pmc(int cpu, int ri, struct pmc *pmc) in soft_release_pmc() 320 soft_start_pmc(int cpu, int ri, struct pmc *pm) in soft_start_pmc() [all …]
|
H A D | hwpmc_armv7.c | 135 armv7_allocate_pmc(int cpu, int ri, struct pmc *pm, in armv7_allocate_pmc() 160 armv7_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in armv7_read_pmc() 209 armv7_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) in armv7_write_pmc() 232 armv7_config_pmc(int cpu, int ri, struct pmc *pm) in armv7_config_pmc() 255 armv7_start_pmc(int cpu, int ri, struct pmc *pm) in armv7_start_pmc() 280 armv7_stop_pmc(int cpu, int ri, struct pmc *pm) in armv7_stop_pmc() 298 armv7_release_pmc(int cpu, int ri, struct pmc *pmc) in armv7_release_pmc() 320 int reg, cpu; in armv7_intr() local 394 armv7_get_config(int cpu, int ri, struct pmc **ppm) in armv7_get_config() 403 armv7_pcpu_init(struct pmc_mdep *md, int cpu) in armv7_pcpu_init() [all …]
|
H A D | hwpmc_arm64.c | 163 arm64_allocate_pmc(int cpu, int ri, struct pmc *pm, in arm64_allocate_pmc() 211 arm64_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in arm64_read_pmc() 257 arm64_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) in arm64_write_pmc() 277 arm64_config_pmc(int cpu, int ri, struct pmc *pm) in arm64_config_pmc() 300 arm64_start_pmc(int cpu, int ri, struct pmc *pm) in arm64_start_pmc() 324 arm64_stop_pmc(int cpu, int ri, struct pmc *pm __unused) in arm64_stop_pmc() 336 arm64_release_pmc(int cpu, int ri, struct pmc *pmc) in arm64_release_pmc() 358 int reg, cpu; in arm64_intr() local 430 arm64_get_config(int cpu, int ri, struct pmc **ppm) in arm64_get_config() 439 arm64_pcpu_init(struct pmc_mdep *md, int cpu) in arm64_pcpu_init() [all …]
|
H A D | hwpmc_powerpc.c | 130 powerpc_get_config(int cpu, int ri, struct pmc **ppm) in powerpc_get_config() 139 powerpc_pcpu_init(struct pmc_mdep *md, int cpu) in powerpc_pcpu_init() 170 powerpc_pcpu_fini(struct pmc_mdep *md, int cpu) in powerpc_pcpu_fini() 181 powerpc_allocate_pmc(int cpu, int ri, struct pmc *pm, in powerpc_allocate_pmc() 231 powerpc_release_pmc(int cpu, int ri, struct pmc *pmc) in powerpc_release_pmc() 248 powerpc_start_pmc(int cpu, int ri, struct pmc *pm) in powerpc_start_pmc() 258 powerpc_stop_pmc(int cpu, int ri, struct pmc *pm __unused) in powerpc_stop_pmc() 266 powerpc_config_pmc(int cpu, int ri, struct pmc *pm) in powerpc_config_pmc() 361 powerpc_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in powerpc_read_pmc() 408 powerpc_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) in powerpc_write_pmc() [all …]
|
H A D | hwpmc_core.c | 108 core_pcpu_noop(struct pmc_mdep *md, int cpu) in core_pcpu_noop() 116 core_pcpu_init(struct pmc_mdep *md, int cpu) in core_pcpu_init() 160 core_pcpu_fini(struct pmc_mdep *md, int cpu) in core_pcpu_fini() 222 iaf_allocate_pmc(int cpu, int ri, struct pmc *pm, in iaf_allocate_pmc() 312 iaf_config_pmc(int cpu, int ri, struct pmc *pm) in iaf_config_pmc() 352 iaf_get_config(int cpu, int ri, struct pmc **ppm) in iaf_get_config() 417 iaf_start_pmc(int cpu, int ri, struct pmc *pm) in iaf_start_pmc() 443 iaf_stop_pmc(int cpu, int ri, struct pmc *pm) in iaf_stop_pmc() 778 iap_config_pmc(int cpu, int ri, struct pmc *pm) in iap_config_pmc() 878 iap_start_pmc(int cpu, int ri, struct pmc *pm) in iap_start_pmc() [all …]
|
H A D | hwpmc_tsc.c | 90 tsc_config_pmc(int cpu, int ri, struct pmc *pm) in tsc_config_pmc() 112 tsc_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) in tsc_describe() 139 tsc_get_config(int cpu, int ri __diagused, struct pmc **ppm) in tsc_get_config() 164 tsc_pcpu_fini(struct pmc_mdep *md, int cpu) in tsc_pcpu_fini() 185 tsc_pcpu_init(struct pmc_mdep *md, int cpu) in tsc_pcpu_init() 220 tsc_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in tsc_read_pmc() 241 tsc_release_pmc(int cpu, int ri __diagused, struct pmc *pmc __unused) in tsc_release_pmc()
|
H A D | hwpmc_cmn600.c | 141 cmn600_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in cmn600_read_pmc() 168 cmn600_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) in cmn600_write_pmc() 200 cmn600_config_pmc(int cpu, int ri, struct pmc *pm) in cmn600_config_pmc() 225 cmn600_get_config(int cpu, int ri, struct pmc **ppm) in cmn600_get_config() 313 cmn600_allocate_pmc(int cpu, int ri, struct pmc *pm, in cmn600_allocate_pmc() 373 cmn600_release_pmc(int cpu, int ri, struct pmc *pmc) in cmn600_release_pmc() 416 cmn600_start_pmc(int cpu, int ri, struct pmc *pm) in cmn600_start_pmc() 525 cmn600_stop_pmc(int cpu, int ri, struct pmc *pm) in cmn600_stop_pmc() 593 cmn600_pcpu_init(struct pmc_mdep *md, int cpu) in cmn600_pcpu_init() 634 cmn600_pcpu_fini(struct pmc_mdep *md, int cpu) in cmn600_pcpu_fini() [all …]
|
H A D | hwpmc_power8.c | 50 power8_set_pmc(int cpu, int ri, int config) in power8_set_pmc() 84 power8_pcpu_init(struct pmc_mdep *md, int cpu) in power8_pcpu_init() 126 power8_pcpu_fini(struct pmc_mdep *md, int cpu) in power8_pcpu_fini() 153 power8_allocate_pmc(int cpu, int ri, struct pmc *pm, in power8_allocate_pmc()
|
H A D | hwpmc_amd.c | 214 amd_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in amd_read_pmc() 260 amd_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) in amd_write_pmc() 288 amd_config_pmc(int cpu, int ri, struct pmc *pm) in amd_config_pmc() 313 amd_get_config(int cpu, int ri, struct pmc **ppm) in amd_get_config() 452 amd_release_pmc(int cpu, int ri, struct pmc *pmc __unused) in amd_release_pmc() 558 int i, error, retval, cpu; in amd_intr() local 650 amd_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) in amd_describe() 694 amd_pcpu_init(struct pmc_mdep *md, int cpu) in amd_pcpu_init() 732 amd_pcpu_fini(struct pmc_mdep *md, int cpu) in amd_pcpu_fini()
|
H A D | hwpmc_dmc620.c | 140 dmc620desc(int class, int cpu, int ri) in dmc620desc() 192 CLASSDEP_FN4(dmc620_read_pmc, int, cpu, int, ri, struct pmc *, pm, in CLASSDEP_FN4() argument 224 CLASSDEP_FN4(dmc620_write_pmc, int, cpu, int, ri, struct pmc *, pm, in CLASSDEP_FN4() argument 248 CLASSDEP_FN3(dmc620_config_pmc, int, cpu, int, ri, struct pmc *, pm) in CLASSDEP_FN3() argument 273 CLASSDEP_FN3(dmc620_get_config, int, cpu, int, ri, struct pmc **, ppm) in CLASSDEP_FN3() argument 285 CLASSDEP_FN4(dmc620_allocate_pmc, int, cpu, int, ri, struct pmc *,pm, in CLASSDEP_FN4() argument 364 CLASSDEP_FN3(dmc620_start_pmc, int, cpu, int, ri, struct pmc *, pm) in CLASSDEP_FN3() argument 400 CLASSDEP_FN3(dmc620_stop_pmc, int, cpu, int, ri, struct pmc *, pm) in CLASSDEP_FN3() argument 457 CLASSDEP_FN2(dmc620_pcpu_init, struct pmc_mdep *, md, int, cpu) in CLASSDEP_FN2() argument 499 CLASSDEP_FN2(dmc620_pcpu_fini, struct pmc_mdep *, md, int, cpu) in CLASSDEP_FN2() argument [all …]
|
H A D | hwpmc_ppc970.c | 254 ppc970_set_pmc(int cpu, int ri, int config) in ppc970_set_pmc() 300 ppc970_pcpu_init(struct pmc_mdep *md, int cpu) in ppc970_pcpu_init() 315 ppc970_pcpu_fini(struct pmc_mdep *md, int cpu) in ppc970_pcpu_fini()
|
/freebsd/sys/dev/cpuctl/ |
H A D | cpuctl.c | 101 cpu_enabled(int cpu) in cpu_enabled() 125 set_cpu(int cpu, struct thread *td) in set_cpu() 156 int cpu, ret; in cpuctl_ioctl() local 209 cpuctl_do_cpuid_count(int cpu, cpuctl_cpuid_count_args_t *data, in cpuctl_do_cpuid_count() 336 int cpu; member 351 update_intel(int cpu, cpuctl_update_args_t *args, struct thread *td) in update_intel() 414 update_amd(int cpu, cpuctl_update_args_t *args, struct thread *td) in update_amd() 448 update_via(int cpu, cpuctl_update_args_t *args, struct thread *td) in update_via() 521 cpuctl_do_eval_cpu_features(int cpu, struct thread *td) in cpuctl_do_eval_cpu_features() 557 int cpu; in cpuctl_open() local [all …]
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-cpu.c | 52 struct pt_cpu cpu; in cpu_valid() local 88 struct pt_cpu cpu; in cpu_null() local 105 struct pt_cpu cpu; in cpu_incomplete() local 128 struct pt_cpu cpu; in cpu_invalid() local
|
/freebsd/lib/libmemstat/ |
H A D | memstat.c | 377 memstat_get_percpu_memalloced(const struct memory_type *mtp, int cpu) in memstat_get_percpu_memalloced() 384 memstat_get_percpu_memfreed(const struct memory_type *mtp, int cpu) in memstat_get_percpu_memfreed() 391 memstat_get_percpu_numallocs(const struct memory_type *mtp, int cpu) in memstat_get_percpu_numallocs() 398 memstat_get_percpu_numfrees(const struct memory_type *mtp, int cpu) in memstat_get_percpu_numfrees() 405 memstat_get_percpu_sizemask(const struct memory_type *mtp, int cpu) in memstat_get_percpu_sizemask() 412 memstat_get_percpu_caller_pointer(const struct memory_type *mtp, int cpu, in memstat_get_percpu_caller_pointer() 420 memstat_set_percpu_caller_pointer(struct memory_type *mtp, int cpu, in memstat_set_percpu_caller_pointer() 428 memstat_get_percpu_caller_uint64(const struct memory_type *mtp, int cpu, in memstat_get_percpu_caller_uint64() 436 memstat_set_percpu_caller_uint64(struct memory_type *mtp, int cpu, int index, in memstat_set_percpu_caller_uint64() 444 memstat_get_percpu_free(const struct memory_type *mtp, int cpu) in memstat_get_percpu_free()
|
/freebsd/sys/arm64/coresight/ |
H A D | coresight_cmd.c | 94 coresight_init_event(int cpu, struct coresight_event *event) in coresight_init_event() 126 coresight_enable(int cpu, struct coresight_event *event) in coresight_enable() 138 coresight_disable(int cpu, struct coresight_event *event) in coresight_disable() 150 coresight_read(int cpu, struct coresight_event *event) in coresight_read()
|
/freebsd/sys/kern/ |
H A D | kern_pmc.c | 148 pmc_cpu_is_active(int cpu) in pmc_cpu_is_active() 160 pmc_cpu_is_disabled(int cpu) in pmc_cpu_is_disabled() 166 pmc_cpu_is_present(int cpu) in pmc_cpu_is_present() 176 pmc_cpu_is_primary(int cpu) in pmc_cpu_is_primary() 338 int domain, cpu; in init_hwpmc() local
|
/freebsd/sys/powerpc/include/ |
H A D | openpicreg.h | 126 #define OPENPIC_PCPU_BASE(cpu) (0x20000 + (cpu) * 0x1000) argument 128 #define OPENPIC_PCPU_IPI_DISPATCH(cpu, ipi) \ argument 131 #define OPENPIC_PCPU_TPR(cpu) \ argument 134 #define OPENPIC_PCPU_WHOAMI(cpu) \ argument 137 #define OPENPIC_PCPU_IACK(cpu) \ argument 140 #define OPENPIC_PCPU_EOI(cpu) \ argument
|
/freebsd/usr.sbin/pmcstudy/ |
H A D | pmcstudy.c | 168 int cpu; /* CPU we are on */ member 670 splitload(struct counters *cpu, int pos) in splitload() 767 contested(struct counters *cpu, int pos) in contested() 869 cache2(struct counters *cpu, int pos) in cache2() 961 cache2ib(struct counters *cpu, int pos) in cache2ib() 987 cache2has(struct counters *cpu, int pos) in cache2has() 1052 cache1(struct counters *cpu, int pos) in cache1() 1076 cache1ib(struct counters *cpu, int pos) in cache1ib() 1183 itlb_miss(struct counters *cpu, int pos) in itlb_miss() 1338 clears(struct counters *cpu, int pos) in clears() [all …]
|
/freebsd/sys/cddl/dev/dtrace/ |
H A D | dtrace_debug.c | 47 dtrace_debug_lock(int cpu) in dtrace_debug_lock() 58 dtrace_debug_unlock(int cpu) in dtrace_debug_unlock() 153 dtrace_debug__putc(int cpu, char c) in dtrace_debug__putc() 175 int cpu; in dtrace_debug_putc() local 188 int cpu; in dtrace_debug_puts() local 228 dtrace_debug_vprintf(int cpu, const char *fmt, va_list ap) in dtrace_debug_vprintf() 538 int cpu; in dtrace_debug_printf() local
|
/freebsd/sys/riscv/riscv/ |
H A D | mp_machdep.c | 218 int cpu; in smp_after_idle_runnable() local 264 u_int cpu; in ipi_stop() local 421 u_int cpu; in cpu_mp_start() local 451 u_int cpu; in cpu_mp_announce() local 506 ipi_cpu(int cpu, u_int ipi) in ipi_cpu()
|
/freebsd/sys/dev/dpaa/ |
H A D | portals_common.c | 51 dpaa_portal_alloc_res(device_t dev, struct dpaa_portals_devinfo *di, int cpu) in dpaa_portal_alloc_res() 149 unsigned int cpu; in dpaa_portal_map_registers() local
|
/freebsd/sys/x86/x86/ |
H A D | mp_x86.c | 1147 int cpu; in smp_after_idle_runnable() local 1289 ipi_bitmap_set(int cpu, u_int ipi) in ipi_bitmap_set() 1311 ipi_send_cpu(int cpu, u_int ipi) in ipi_send_cpu() 1330 int cpu = PCPU_GET(cpuid); in ipi_bitmap_handler() local 1386 int cpu; in ipi_selected() local 1406 ipi_cpu(int cpu, u_int ipi) in ipi_cpu() 1428 int cpu, c; in ipi_all_but_self() local 1493 int cpu; in nmi_call_kdb_smp() local 1520 u_int cpu; in cpustop_handler() local 1563 cpustop_handler_post(u_int cpu) in cpustop_handler_post() [all …]
|
/freebsd/lib/libkvm/ |
H A D | kvm_pcpu.c | 152 kvm_getpcpu(kvm_t *kd, int cpu) in kvm_getpcpu() 208 _kvm_dpcpu_setcpu(kvm_t *kd, u_int cpu, int report_error) in _kvm_dpcpu_setcpu() 326 kvm_dpcpu_setcpu(kvm_t *kd, u_int cpu) in kvm_dpcpu_setcpu() 346 kvm_read_zpcpu(kvm_t *kd, u_long base, void *buf, size_t size, int cpu) in kvm_read_zpcpu()
|
/freebsd/contrib/bearssl/T0/ |
H A D | WordNative.cs | 38 internal delegate void NativeRun(CPU cpu); in NativeRun() 55 internal override void Run(CPU cpu) in Run()
|