| /xnu-12377.81.4/osfmk/kern/ |
| H A D | kpc.h | 61 #define FIXED_ACTIONID(ctr) (kpc_actionid[(ctr)]) argument 62 #define CONFIGURABLE_ACTIONID(ctr) (kpc_actionid[(ctr) + kpc_fixed_count()]) argument 65 #define FIXED_RELOAD(ctr) (current_cpu_datap()->cpu_kpc_reload[(ctr)]) argument 66 #define FIXED_RELOAD_CPU(cpu, ctr) (cpu_datap(cpu)->cpu_kpc_reload[(ctr)]) argument 67 #define CONFIGURABLE_RELOAD(ctr) (current_cpu_datap()->cpu_kpc_reload[(ctr) + kpc_fi… argument 68 #define CONFIGURABLE_RELOAD_CPU(cpu, ctr) (cpu_datap(cpu)->cpu_kpc_reload[(ctr) + kpc_fixed_c… argument 71 #define FIXED_SHADOW(ctr) (current_cpu_datap()->cpu_kpc_shadow[(ctr)]) argument 72 #define FIXED_SHADOW_CPU(cpu, ctr) (cpu_datap(cpu)->cpu_kpc_shadow[(ctr)]) argument 73 #define CONFIGURABLE_SHADOW(ctr) (current_cpu_datap()->cpu_kpc_shadow[(ctr) + kpc_fi… argument 74 #define CONFIGURABLE_SHADOW_CPU(cpu, ctr) (cpu_datap(cpu)->cpu_kpc_shadow[(ctr) + kpc_fixed_c… argument
|
| H A D | kern_monotonic.c | 49 mt_mtc_update_count(struct mt_cpu *mtc, unsigned int ctr) in mt_mtc_update_count() 72 mt_cpu_update_count(cpu_data_t *cpu, unsigned int ctr) in mt_cpu_update_count() 279 mt_microstackshot_start(unsigned int ctr, uint64_t period, mt_pmi_fn handler, in mt_microstackshot_start()
|
| H A D | kpc_common.c | 246 kpc_controls_counter(uint32_t ctr) in kpc_controls_counter()
|
| H A D | telemetry.c | 323 unsigned int ctr = 0; in telemetry_pmi_setup() local
|
| /xnu-12377.81.4/osfmk/x86_64/ |
| H A D | kpc_x86.c | 76 wrIA32_FIXED_CTRx(uint32_t ctr, uint64_t value) in wrIA32_FIXED_CTRx() 83 IA32_PMCx(uint32_t ctr) in IA32_PMCx() 93 wrIA32_PMCx(uint32_t ctr, uint64_t value) in wrIA32_PMCx() 99 IA32_PERFEVTSELx(uint32_t ctr) in IA32_PERFEVTSELx() 105 wrIA32_PERFEVTSELx(uint32_t ctr, uint64_t value) in wrIA32_PERFEVTSELx() 203 kpc_reload_fixed(int ctr) in kpc_reload_fixed() 212 kpc_reload_configurable(int ctr) in kpc_reload_configurable() 636 kpc_sample_kperf_x86(uint32_t ctr, uint32_t actionid, uint64_t count, in kpc_sample_kperf_x86() 656 uint32_t ctr; in kpc_pmi_handler() local
|
| H A D | monotonic_x86_64.c | 82 mt_core_snap(unsigned int ctr) in mt_core_snap() 104 mt_core_set_snap(unsigned int ctr, uint64_t count) in mt_core_set_snap()
|
| /xnu-12377.81.4/osfmk/arm64/ |
| H A D | monotonic_arm64.c | 205 mt_core_snap(unsigned int ctr) in mt_core_snap() 237 mt_core_set_snap(unsigned int ctr, uint64_t count) in mt_core_set_snap() 575 uncmon_read_counter_locked_l(__unused unsigned int monid, unsigned int ctr) in uncmon_read_counter_locked_l() 620 uncmon_write_counter_locked_l(__unused unsigned int monid, unsigned int ctr, in uncmon_write_counter_locked_l() 675 uncmon_read_counter_locked_r(unsigned int mon_id, unsigned int ctr) in uncmon_read_counter_locked_r() 683 uncmon_write_counter_locked_r(unsigned int mon_id, unsigned int ctr, in uncmon_write_counter_locked_r() 695 uncmon_update_locked(unsigned int monid, unsigned int ctr) in uncmon_update_locked() 933 for (unsigned int ctr = 0; ctr < UNCORE_NCTRS; ctr++) { in uncmon_read_all_counters() local 1024 for (unsigned int ctr = 0; ctr < UNCORE_NCTRS; ctr++) { in uncore_add() local 1040 uint32_t ctr = __builtin_ffsll(available) - 1; in uncore_add() local [all …]
|
| H A D | kpc.c | 695 uint64_t ctr = 0ULL; in kpc_get_configurable_counters() local 754 kpc_reload_counter(uint32_t ctr) in kpc_reload_counter() 825 kpc_pmi_handler(unsigned int ctr) in kpc_pmi_handler()
|
| /xnu-12377.81.4/tests/ |
| H A D | monotonic_uncore.c | 142 uint32_t ctr; in uncore_add() local 171 uint32_t ctr; variable
|
| /xnu-12377.81.4/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccrng_fortuna.h | 121 uint8_t ctr[16]; member
|
| H A D | ccmode_impl.h | 257 const struct ccmode_ctr *ctr; member 283 const struct ccmode_ctr *ctr; member
|
| /xnu-12377.81.4/tests/cpu_counters/ |
| H A D | kpc_tests.c | 245 unsigned int ctr = i * nctrs + j; in check_counters() local 277 unsigned int ctr = i * nctrs + j; in check_tally() local
|
| /xnu-12377.81.4/bsd/security/audit/ |
| H A D | audit_bsm.c | 616 int ctr; in kaudit_to_bsm() local
|
| H A D | audit_bsm_token.c | 1180 int ctr; in au_to_exec_strings() local
|
| /xnu-12377.81.4/bsd/sys/ |
| H A D | monotonic.h | 71 uint32_t ctr; member
|
| /xnu-12377.81.4/bsd/dev/ |
| H A D | monotonic.c | 188 uint32_t ctr; in mt_ctl_add() local
|
| /xnu-12377.81.4/osfmk/corecrypto/ |
| H A D | ccmode_internal.h | 284 ccctr_setctr(const struct ccmode_ctr *mode, ccctr_ctx *ctx, const void *ctr) in ccctr_setctr()
|