| /xnu-12377.1.9/bsd/kern/ |
| H A D | kdebug_common.c | 47 static TUNABLE(unsigned int, new_nkdbufs, "trace", 0); 49 TUNABLE(unsigned int, trace_wrap, "trace_wrap", 0); 54 TUNABLE(unsigned int, wake_nkdbufs, "trace_wake", 0); 56 TUNABLE(unsigned int, write_trace_on_panic, "trace_panic", 0); 59 TUNABLE(int, log_leaks, "-l", 0);
|
| H A D | subr_xxx.c | 77 TUNABLE(bool, no_sigsys, "-no_sigsys", false);
|
| H A D | bsd_init.c | 260 TUNABLE(int, minimalboot, "-minimalboot", 0); 289 __private_extern__ TUNABLE(int, bootarg_no32exec, "no32exec", 1); 294 __private_extern__ TUNABLE(bool, bootarg_disable_aslr, "-disable_aslr", 0);
|
| H A D | subr_log_stream.c | 120 TUNABLE(size_t, log_stream_size, "oslog_stream_size", LOG_STREAM_MIN_SIZE); 121 TUNABLE(size_t, log_stream_cache_size, "oslog_stream_csize", LOG_CACHE_MIN_SIZE); 123 TUNABLE(bool, log_stream_verify, "-oslog_stream_verify", false);
|
| /xnu-12377.1.9/osfmk/kern/ |
| H A D | bootprofile.c | 90 TUNABLE(uint32_t, bootprofile_buffer_size, "bootprofile_buffer_size", 0); 91 TUNABLE(uint32_t, bootprofile_interval_ms, "bootprofile_interval_ms", 0); 92 TUNABLE(uint64_t, bootprofile_stackshot_flags, "bootprofile_stackshot_flags", 0);
|
| H A D | trap_telemetry.c | 81 static TUNABLE(bool, trap_telemetry_disable_ca, "trap_telemetry_disable_ca", false); 86 static TUNABLE(bool, trap_telemetry_disable_all, "trap_telemetry_disable_all", false); 92 static TUNABLE(uint32_t, trap_telemetry_dump_type, "trap_telemetry_dump_type", 94 static TUNABLE(uint64_t, trap_telemetry_dump_code, "trap_telemetry_dump_code",
|
| H A D | startup.h | 266 #define TUNABLE(type_t, var, boot_arg, default_value) \ macro 298 TUNABLE(type_t, var, boot_arg, default_value)
|
| H A D | processor.c | 173 TUNABLE(bool, support_bootcpu_shutdown, "support_bootcpu_shutdown", true); 175 TUNABLE(bool, support_bootcpu_shutdown, "support_bootcpu_shutdown", false); 179 TUNABLE(bool, enable_processor_exit, "processor_exit", true); 181 TUNABLE(bool, enable_processor_exit, "processor_exit", false); 905 TUNABLE(uint32_t, cpu_boot_timeout_secs, "cpu_boot_timeout_secs", 1); /* seconds, default to 1 seco…
|
| H A D | startup.c | 216 TUNABLE(startup_debug_t, startup_debug, "startup_debug", 0); 219 TUNABLE(int, serverperfmode, "serverperfmode", 0);
|
| H A D | exclaves_log.c | 57 TUNABLE(bool, oslog_exclaves, "oslog_exclaves", true);
|
| H A D | exception.c | 163 static TUNABLE(bool, pac_replace_ptrs_user, "pac_replace_ptrs_user", true); 795 static TUNABLE(bool, pac_exception_telemetry, "-pac_exception_telemetry", false);
|
| H A D | debug.c | 280 static TUNABLE(unsigned int, max_debugger_entry_count, "nested_panic_max", 361 TUNABLE(unsigned int, debug_boot_arg, "debug", 0); 383 TUNABLE(uint32_t, phys_carveout_mb, "phys_carveout_mb", 0); 2184 TUNABLE(uint32_t, kern_feature_overrides, "validation_disables", 0);
|
| H A D | telemetry.c | 239 TUNABLE(uint32_t, telemetry_buffer_size, "telemetry_buffer_size", TELEMETRY_DEFAULT_BUFFER_SIZE); 240 TUNABLE(uint8_t, telemetry_kernel_buffer_size_pow_2, "telemetry_kernel_buffer_size_pow_2", 16); 241 TUNABLE(uint32_t, telemetry_notification_leeway, "telemetry_notification_leeway", TELEMETRY_DEFAULT…
|
| /xnu-12377.1.9/osfmk/ipc/ |
| H A D | ipc_policy.c | 72 static TUNABLE(bool, allow_legacy_mach_msg, "allow_legacy_mach_msg", false); 78 TUNABLE(bool, ool_port_array_enforced, "ool_port_array_enforced", false); 80 TUNABLE(bool, ool_port_array_enforced, "ool_port_array_enforced", true); 84 TUNABLE(ipc_control_port_options_t, ipc_control_port_options, 93 TUNABLE(bool, service_port_defense_enabled, "-service_port_defense_enabled", true); 96 TUNABLE(bool, ipcpv_telemetry_enabled, "-ipcpv_telemetry_enabled", true); 100 TUNABLE(bool, prp_enforcement_enabled, "-prp_enforcement_enabled", false); 102 TUNABLE(bool, prp_enforcement_enabled, "-prp_enforcement_enabled", true); 108 TUNABLE(bool, bootstrap_port_telemetry_enabled, "-bootstrap_port_telemetry_enabled", true); 109 TUNABLE(bool, bootstrap_port_enforcement_enabled, "-bootstrap_port_enforcement_enabled", true); [all …]
|
| /xnu-12377.1.9/osfmk/corpses/ |
| H A D | corpse.c | 165 static TUNABLE(bool, corpses_disabled, "-no_corpses", false); 169 static TUNABLE(bool, lw_corpses_enabled, "lw_corpses", true); 171 static TUNABLE(bool, lw_corpses_enabled, "lw_corpses", false); 176 TUNABLE(bool, corpse_threshold_system_limit, "corpse_threshold_system_limit", false); 180 TUNABLE(bool, exc_via_corpse_forking, "exc_via_corpse_forking", true); 183 TUNABLE(bool, corpse_for_fatal_memkill, "corpse_for_fatal_memkill", true);
|
| /xnu-12377.1.9/osfmk/vm/ |
| H A D | vm_init.c | 87 TUNABLE(bool, iokit_iomd_setownership_enabled,
|
| /xnu-12377.1.9/tests/sched/sched_test_harness/shadow_headers/ |
| H A D | misc_needed_defines.h | 65 #define TUNABLE(type_t, var, boot_arg, default_value) \ macro
|
| /xnu-12377.1.9/osfmk/i386/ |
| H A D | locks_i386_opt.c | 75 TUNABLE(bool, LckDisablePreemptCheck, "-disable_mtx_chk", false);
|
| /xnu-12377.1.9/osfmk/arm/ |
| H A D | arm_init.c | 113 TUNABLE(bool, restore_boot, "-restore", false); 166 TUNABLE(uint32_t, arm_diag, "diag", 0);
|
| H A D | caches.c | 58 TUNABLE(bool, up_style_idle_exit, "up_style_idle_exit", false);
|
| /xnu-12377.1.9/doc/lifecycle/ |
| H A D | startup.md | 55 - `TUNABLE_WRITEABLE`: same as `TUNABLE` but the global will not be locked down. 60 - All uses of `TUNABLE`, `TUNABLE_WRITEABLE`
|
| /xnu-12377.1.9/libkern/os/ |
| H A D | log_queue.c | 130 TUNABLE(size_t, lq_bootarg_size_order, "lq_size_order", LQ_DEFAULT_SZ_ORDER); 131 TUNABLE(size_t, lq_bootarg_nslots, "lq_nslots", LQ_MAX_LM_SLOTS);
|
| /xnu-12377.1.9/pexpert/arm/hwtrace/ |
| H A D | hwtrace.c | 126 TUNABLE(unsigned int, bootarg_stop_clocks, "stop_clocks", 0);
|
| /xnu-12377.1.9/osfmk/console/ |
| H A D | serial_console.c | 117 TUNABLE(bool, allow_printf_from_interrupts_disabled_context, "nointr_consio", false);
|
| /xnu-12377.1.9/osfmk/arm64/ |
| H A D | cpu.c | 121 TUNABLE(unsigned int, wfi, "wfi", 1); 138 TUNABLE(uint32_t, expecting_ipi_wfe_timeout_usec,
|