| /xnu-11215/bsd/kern/ |
| H A D | kdebug_triage.c | 126 uint8_t subsystem = KDBG_TRIAGE_EXTRACT_CLASS(debugid); in ktriage_convert_to_string() local 129 if (subsystem == 0) { in ktriage_convert_to_string() 133 if (subsystem > KDBG_TRIAGE_SUBSYS_MAX) { in ktriage_convert_to_string() 138 int subsystem_num_strings = ktriage_subsystems_strings[subsystem].num_strings; in ktriage_convert_to_string() 252 if (subsystem == 0 || subsystem > KDBG_TRIAGE_SUBSYS_MAX || subsystem_strings == NULL) { in ktriage_register_subsystem_strings() 259 ktriage_subsystems_strings[subsystem].strings = subsystem_strings->strings; in ktriage_register_subsystem_strings() 268 ktriage_unregister_subsystem_strings(uint8_t subsystem) in ktriage_unregister_subsystem_strings() argument 270 if (subsystem == 0 || subsystem > KDBG_TRIAGE_SUBSYS_MAX) { in ktriage_unregister_subsystem_strings() 276 if (ktriage_subsystems_strings[subsystem].num_strings == -1) { in ktriage_unregister_subsystem_strings() 282 ktriage_subsystems_strings[subsystem].num_strings = -1; in ktriage_unregister_subsystem_strings() [all …]
|
| H A D | sys_record_event.c | 53 record_system_event_no_varargs((uint8_t)(uap->type), (uint8_t)(uap->subsystem), event, payload); in sys_record_system_event()
|
| /xnu-11215/libkern/os/ |
| H A D | system_event_log.c | 9 convert_subsystem_to_string(uint8_t subsystem) in convert_subsystem_to_string() argument 11 switch (subsystem) { in convert_subsystem_to_string() 55 _record_system_event_internal(uint8_t type, uint8_t subsystem, const char *event, const char *paylo… in _record_system_event_internal() argument 58 const char *subsystem_string = convert_subsystem_to_string(subsystem); in _record_system_event_internal() 68 record_system_event(uint8_t type, uint8_t subsystem, const char *event, const char *format, ...) in record_system_event() argument 81 _record_system_event_internal(type, subsystem, event, payload); in record_system_event() 85 record_system_event_no_varargs(uint8_t type, uint8_t subsystem, const char *event, const char *payl… in record_system_event_no_varargs() argument 91 _record_system_event_internal(type, subsystem, event, payload); in record_system_event_no_varargs()
|
| H A D | system_event_log.h | 40 record_system_event(uint8_t type, uint8_t subsystem, const char *event, const char *format, ...) __… 45 record_system_event_no_varargs(uint8_t type, uint8_t subsystem, const char *event, const char *payl…
|
| /xnu-11215/libsyscall/mach/ |
| H A D | error_codes.c | 83 .subsystem = err_os_sub, 89 .subsystem = err_us_sub, 95 .subsystem = err_server_sub, 101 .subsystem = err_ipc_sub, 107 .subsystem = err_mach_ipc_sub, 145 .subsystem = err_libkern_sub, 152 .subsystem = err_iokit_sub,
|
| H A D | mach_error_string.c | 134 return (char *) (sys_p->subsystem[sub].subsys_name); in mach_error_type() 165 sub_p = &sys_p->subsystem[sub]; in mach_error_string_int()
|
| H A D | err_libkern.sub | 102 /* subsystem 0 */ 109 /* subsystem 1 */ 116 /* subsystem 2 */
|
| /xnu-11215/doc/lifecycle/ |
| H A D | startup.md | 17 The subsystem module will basically run hooks in that order: 20 for (subsystem 0 -> N) { 22 // run in no particular order for a given rank in the given subsystem 23 init(subsystem, rank); 106 Initializes the kprintf subsystem. 181 Initializes the percpu subsystem. 200 Initializes the codesigning subsystem. 223 Initializes the Mach IPC subsystem. 236 Initializes the Thread call subsystem (and dependent subsystems). 240 - Rank 1: Initiailizes the thread call subsystem [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | startup.c | 251 if (a->subsystem == b->subsystem) { in startup_entry_cmp() 257 return a->subsystem > b->subsystem ? 1 : -1; in startup_entry_cmp() 349 kernel_startup_log(startup_subsystem_id_t subsystem) in kernel_startup_log() argument 375 if (subsystem <= logged) { in kernel_startup_log() 379 if (subsystem < sizeof(names) / sizeof(names[0]) && names[subsystem]) { in kernel_startup_log() 380 kernel_bootstrap_log(names[subsystem]); in kernel_startup_log() 382 logged = subsystem; in kernel_startup_log() 403 while (cur < startup_entries_end && cur->subsystem <= upto) { in kernel_startup_initialize_upto() 407 cur->subsystem, cur->rank, cur->func, cur->arg); in kernel_startup_initialize_upto() 409 startup_phase = cur->subsystem - 1; in kernel_startup_initialize_upto() [all …]
|
| H A D | startup.h | 215 #define STARTUP(subsystem, rank, func) \ argument 216 __STARTUP(func, __LINE__, subsystem, rank, func) 224 #define STARTUP_ARG(subsystem, rank, func, arg) \ argument 225 __STARTUP_ARG(func, __LINE__, subsystem, rank, func, arg) 753 #define __STARTUP1(name, line, subsystem, rank, func, a, b) \ 756 __startup_ ## subsystem ## _entry_ ## name ## _ ## line = { \ 757 STARTUP_SUB_ ## subsystem, \ 761 #define __STARTUP(name, line, subsystem, rank, func) \ 762 __STARTUP1(name, line, subsystem, rank, func, , NULL) 765 __STARTUP1(name, line, subsystem, rank, func, arg, arg) [all …]
|
| /xnu-11215/libsyscall/wrappers/ |
| H A D | event_wrappers.c | 30 record_system_event_as_kernel(system_event_type type, system_event_subsystem subsystem, const char … in record_system_event_as_kernel() argument 33 return __record_system_event((uint32_t)type, (uint32_t)subsystem, event, payload); in record_system_event_as_kernel()
|
| /xnu-11215/bsd/skywalk/lib/ |
| H A D | net_filter_event.c | 127 net_filter_event_mark(enum net_filter_event_subsystems subsystem, bool compatible) in net_filter_event_mark() argument 133 os_atomic_or(&net_filter_event_state, subsystem, relaxed); in net_filter_event_mark() 135 os_atomic_andnot(&net_filter_event_state, subsystem, relaxed); in net_filter_event_mark()
|
| H A D | net_filter_event.h | 46 net_filter_event_mark(enum net_filter_event_subsystems subsystem, bool compatible);
|
| /xnu-11215/doc/observability/ |
| H A D | cpu_counters.md | 22 - kpc: The Kernel Performance Counter system is the oldest subsystem and still manages the configur… 28 - cpc: The CPU Performance Counter subsystem provides a policy layer on top of kpc and Monotonic to… 34 - The Recount subsystem makes extensive use of the fixed CPMU counters to attribute CPU resources b…
|
| /xnu-11215/osfmk/mach/ |
| H A D | clock_reply.defs | 33 * Purpose: Kernel clock subsystem definitions. This 37 subsystem
|
| H A D | clock_priv.defs | 33 * Purpose: Kernel clock subsystem definitions. This 37 subsystem
|
| H A D | clock.defs | 33 * Purpose: Kernel clock subsystem definitions. This 37 subsystem
|
| H A D | iocompressionstats_notification.defs | 9 subsystem
|
| H A D | telemetry_notification.defs | 9 subsystem
|
| H A D | coalition_notification.defs | 9 subsystem
|
| /xnu-11215/bsd/sys/ |
| H A D | variant_internal.h | 70 bool os_variant_has_internal_diagnostics(const char *subsystem);
|
| H A D | event_log.h | 71 record_system_event_as_kernel(system_event_type type, system_event_subsystem subsystem, const char …
|
| /xnu-11215/doc/vm/ |
| H A D | memorystatus.md | 8 The xnu memorystatus subsystem is responsible for recovering the system when we're running dangerou… 55 The memorystatus subsystem is designed around a central health check. 58 Most of the monitoring and actions taken by the memorystatus subsystem happen in the `memorystatus_… 73 The memorystatus subsystem has 210 priority levels. Every process in the system (except launchd) ha… 98 The memorystatus subsystem is heavily intertwined with daemon lifecycle. A full discussion of daemo… 130 …otifications and trigger sustained-pressure jetsams), which is monitored via a different subsystem. 135 This section lists the threads that comprise the memorystatus subsystem. More details on each threa… 147 It's woken up via a call to `memorystatus_thread_wake` whenever any subsystem determines we're runn… 170 The memorystatus subsystem provides a snapshot mechanism so that
|
| /xnu-11215/libsyscall/mach/mach/ |
| H A D | errorlib.h | 92 const struct error_subsystem *subsystem; member
|
| /xnu-11215/tests/vm/ |
| H A D | vm_parameter_validation_replacement_host_priv.defs | 5 subsystem KernelServer replacement_host_priv 400;
|