Home
last modified time | relevance | path

Searched refs:TUNABLE (Results 1 – 25 of 87) sorted by relevance

1234

/xnu-12377.1.9/bsd/kern/
H A Dkdebug_common.c47 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 Dsubr_xxx.c77 TUNABLE(bool, no_sigsys, "-no_sigsys", false);
H A Dbsd_init.c260 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 Dsubr_log_stream.c120 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 Dbootprofile.c90 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 Dtrap_telemetry.c81 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 Dstartup.h266 #define TUNABLE(type_t, var, boot_arg, default_value) \ macro
298 TUNABLE(type_t, var, boot_arg, default_value)
H A Dprocessor.c173 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 Dstartup.c216 TUNABLE(startup_debug_t, startup_debug, "startup_debug", 0);
219 TUNABLE(int, serverperfmode, "serverperfmode", 0);
H A Dexclaves_log.c57 TUNABLE(bool, oslog_exclaves, "oslog_exclaves", true);
H A Dexception.c163 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 Ddebug.c280 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 Dtelemetry.c239 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 Dipc_policy.c72 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 Dcorpse.c165 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 Dvm_init.c87 TUNABLE(bool, iokit_iomd_setownership_enabled,
/xnu-12377.1.9/tests/sched/sched_test_harness/shadow_headers/
H A Dmisc_needed_defines.h65 #define TUNABLE(type_t, var, boot_arg, default_value) \ macro
/xnu-12377.1.9/osfmk/i386/
H A Dlocks_i386_opt.c75 TUNABLE(bool, LckDisablePreemptCheck, "-disable_mtx_chk", false);
/xnu-12377.1.9/osfmk/arm/
H A Darm_init.c113 TUNABLE(bool, restore_boot, "-restore", false);
166 TUNABLE(uint32_t, arm_diag, "diag", 0);
H A Dcaches.c58 TUNABLE(bool, up_style_idle_exit, "up_style_idle_exit", false);
/xnu-12377.1.9/doc/lifecycle/
H A Dstartup.md55 - `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 Dlog_queue.c130 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 Dhwtrace.c126 TUNABLE(unsigned int, bootarg_stop_clocks, "stop_clocks", 0);
/xnu-12377.1.9/osfmk/console/
H A Dserial_console.c117 TUNABLE(bool, allow_printf_from_interrupts_disabled_context, "nointr_consio", false);
/xnu-12377.1.9/osfmk/arm64/
H A Dcpu.c121 TUNABLE(unsigned int, wfi, "wfi", 1);
138 TUNABLE(uint32_t, expecting_ipi_wfe_timeout_usec,

1234