Home
last modified time | relevance | path

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

1234

/xnu-11417.140.69/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.c75 static TUNABLE(bool, trap_telemetry_disable_ca, "trap_telemetry_disable_ca", false);
80 static TUNABLE(bool, trap_telemetry_disable_all, "trap_telemetry_disable_all", false);
86 static TUNABLE(uint32_t, trap_telemetry_dump_type, "trap_telemetry_dump_type",
88 static TUNABLE(uint64_t, trap_telemetry_dump_code, "trap_telemetry_dump_code",
H A Dstartup.h258 #define TUNABLE(type_t, var, boot_arg, default_value) \ macro
290 TUNABLE(type_t, var, boot_arg, default_value)
H A Dprocessor.c147 TUNABLE(bool, support_bootcpu_shutdown, "support_bootcpu_shutdown", true);
149 TUNABLE(bool, support_bootcpu_shutdown, "support_bootcpu_shutdown", false);
153 TUNABLE(bool, enable_processor_exit, "processor_exit", true);
155 TUNABLE(bool, enable_processor_exit, "processor_exit", false);
837 TUNABLE(uint32_t, cpu_boot_timeout_secs, "cpu_boot_timeout_secs", 1); /* seconds, default to 1 seco…
H A Dstartup.c219 TUNABLE(startup_debug_t, startup_debug, "startup_debug", 0);
222 TUNABLE(int, serverperfmode, "serverperfmode", 0);
H A Dexclaves_log.c57 TUNABLE(bool, oslog_exclaves, "oslog_exclaves", true);
H A Dexception.c164 static TUNABLE(bool, pac_replace_ptrs_user, "pac_replace_ptrs_user", true);
796 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);
387 TUNABLE(uint32_t, phys_carveout_mb, "phys_carveout_mb", 0);
2159 TUNABLE(uint32_t, kern_feature_overrides, "validation_disables", 0);
H A Dtelemetry.c237 TUNABLE(uint32_t, telemetry_buffer_size, "telemetry_buffer_size", TELEMETRY_DEFAULT_BUFFER_SIZE);
238 TUNABLE(uint8_t, telemetry_kernel_buffer_size_pow_2, "telemetry_kernel_buffer_size_pow_2", 16);
239 TUNABLE(uint32_t, telemetry_notification_leeway, "telemetry_notification_leeway", TELEMETRY_DEFAULT…
H A Dsmr.c393 static TUNABLE(vm_size_t, smr_call_size_cap, "smr_call_size_cap", 256 << 10);
394 static TUNABLE(vm_size_t, smr_call_cnt_cap, "smr_call_cnt_cap", 128);
396 static TUNABLE(vm_size_t, smr_call_size_cap, "smr_call_size_cap", 64 << 10);
397 static TUNABLE(vm_size_t, smr_call_cnt_cap, "smr_call_cnt_cap", 32);
400 static TUNABLE(uint32_t, smr_wait_spin_us, "smr_wait_spin_us", 20);
/xnu-11417.140.69/osfmk/corpses/
H A Dcorpse.c164 static TUNABLE(bool, corpses_disabled, "-no_corpses", false);
168 static TUNABLE(bool, lw_corpses_enabled, "lw_corpses", true);
170 static TUNABLE(bool, lw_corpses_enabled, "lw_corpses", false);
175 TUNABLE(bool, corpse_threshold_system_limit, "corpse_threshold_system_limit", false);
179 TUNABLE(bool, exc_via_corpse_forking, "exc_via_corpse_forking", true);
182 TUNABLE(bool, corpse_for_fatal_memkill, "corpse_for_fatal_memkill", true);
/xnu-11417.140.69/bsd/kern/
H A Dsubr_xxx.c77 TUNABLE(bool, no_sigsys, "-no_sigsys", false);
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 Dbsd_init.c259 TUNABLE(int, minimalboot, "-minimalboot", 0);
286 __private_extern__ TUNABLE(int, bootarg_no32exec, "no32exec", 1);
291 __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-11417.140.69/osfmk/vm/
H A Dvm_init.c87 TUNABLE(bool, iokit_iomd_setownership_enabled,
/xnu-11417.140.69/osfmk/ipc/
H A Dipc_init.c124 TUNABLE(ipc_control_port_options_t, ipc_control_port_options,
/xnu-11417.140.69/osfmk/i386/
H A Dlocks_i386_opt.c75 TUNABLE(bool, LckDisablePreemptCheck, "-disable_mtx_chk", false);
/xnu-11417.140.69/osfmk/arm/
H A Darm_init.c113 TUNABLE(bool, restore_boot, "-restore", false);
159 TUNABLE(uint32_t, arm_diag, "diag", 0);
H A Dcaches.c58 TUNABLE(bool, up_style_idle_exit, "up_style_idle_exit", false);
/xnu-11417.140.69/doc/lifecycle/
H A Dstartup.md55 - `TUNABLE_WRITEABLE`: same as `TUNABLE` but the global will not be locked down.
59 - Rank 1: `TUNABLE`, `TUNABLE_WRITEABLE`
/xnu-11417.140.69/libkern/os/
H A Dlog_queue.c128 TUNABLE(size_t, lq_bootarg_size_order, "lq_size_order", LQ_DEFAULT_SZ_ORDER);
129 TUNABLE(size_t, lq_bootarg_nslots, "lq_nslots", LQ_MAX_LM_SLOTS);
/xnu-11417.140.69/pexpert/arm/hwtrace/
H A Dhwtrace.c120 TUNABLE(unsigned int, bootarg_stop_clocks, "stop_clocks", 0);
/xnu-11417.140.69/osfmk/console/
H A Dserial_console.c117 TUNABLE(bool, allow_printf_from_interrupts_disabled_context, "nointr_consio", false);
/xnu-11417.140.69/osfmk/arm64/
H A Dcpu.c125 TUNABLE(unsigned int, wfi, "wfi", 1);
142 TUNABLE(uint32_t, expecting_ipi_wfe_timeout_usec,

1234