Home
last modified time | relevance | path

Searched refs:PE_parse_boot_argn (Results 1 – 25 of 138) sorted by relevance

123456

/xnu-11417.121.6/bsd/skywalk/core/
H A Dskywalk.c350 PE_parse_boot_argn("sk_debug", &sk_debug, sizeof(sk_debug)); in skywalk_init()
351 PE_parse_boot_argn("sk_verbose", &sk_verbose, sizeof(sk_verbose)); in skywalk_init()
352 (void) PE_parse_boot_argn("sk_opp_defunct", &sk_opp_defunct, in skywalk_init()
354 (void) PE_parse_boot_argn("sk_cksum_tx", &sk_cksum_tx, in skywalk_init()
356 (void) PE_parse_boot_argn("sk_cksum_rx", &sk_cksum_rx, in skywalk_init()
358 (void) PE_parse_boot_argn("sk_txring_sz", &sk_txring_sz, in skywalk_init()
360 (void) PE_parse_boot_argn("sk_rxring_sz", &sk_rxring_sz, in skywalk_init()
362 (void) PE_parse_boot_argn("sk_net_txring_sz", &sk_net_txring_sz, in skywalk_init()
364 (void) PE_parse_boot_argn("sk_net_rxring_sz", &sk_net_rxring_sz, in skywalk_init()
366 (void) PE_parse_boot_argn("sk_max_flows", &sk_max_flows, in skywalk_init()
[all …]
/xnu-11417.121.6/bsd/kern/
H A Dimageboot.c125 if (!(PE_parse_boot_argn("rp0", root_path, MAXPATHLEN) || in imageboot_desired()
127 PE_parse_boot_argn("arp0", root_path, MAXPATHLEN) || in imageboot_desired()
129 PE_parse_boot_argn("rp", root_path, MAXPATHLEN) || in imageboot_desired()
130 PE_parse_boot_argn(IMAGEBOOT_ROOT_ARG, root_path, MAXPATHLEN) || in imageboot_desired()
131 PE_parse_boot_argn(IMAGEBOOT_AUTHROOT_ARG, root_path, MAXPATHLEN))) { in imageboot_desired()
166 if (!(PE_parse_boot_argn("rp1", root_path, MAXPATHLEN) || in imageboot_needed()
167 PE_parse_boot_argn(IMAGEBOOT_CONTAINER_ARG, root_path, MAXPATHLEN))) { in imageboot_needed()
240 (void) PE_parse_boot_argn("-bsdmgroot-ramdisk", &ramdisk_arg, sizeof(ramdisk_arg)); in imageboot_pivot_image()
639 PE_parse_boot_argn("rootdmg-maxsize", &maxsize, sizeof(maxsize)); in imageboot_read_file_internal()
1038 if (PE_parse_boot_argn("-rootdmg-ramdisk", &imgboot_arg, sizeof(imgboot_arg))) { in imageboot_setup_new()
[all …]
H A Dbsd_init.c457 if (PE_parse_boot_argn("rd", dev_path, MAXPATHLEN)) { in bsd_rooted_ramdisk()
586 PE_parse_boot_argn("policy_check", &policy_check_flags, sizeof(policy_check_flags)); in bsd_init()
1022 PE_parse_boot_argn("bsdmgpath", dmgpath, sizeof(dmgpath)); in bsd_init()
1208 if (PE_parse_boot_argn("-s", namep, sizeof(namep))) { in parse_bsd_args()
1212 if (PE_parse_boot_argn("-x", namep, sizeof(namep))) { /* safe boot */ in parse_bsd_args()
1216 if (PE_parse_boot_argn("nbuf", &max_nbuf_headers, in parse_bsd_args()
1235 if (PE_parse_boot_argn("dyldsuffix", dyld_suffix, sizeof(dyld_suffix))) { in parse_bsd_args()
1241 if (PE_parse_boot_argn("alt-dyld", dyld_alt_path, sizeof(dyld_alt_path))) { in parse_bsd_args()
1265 …if (PE_i_can_has_debugger(NULL) && PE_parse_boot_argn("-hide_process_traced", namep, sizeof(namep)… in parse_bsd_args()
1514 boot_arg_bsdmgroot = PE_parse_boot_argn("-bsdmgroot", NULL, 0); in bsdmgroot_bootable()
[all …]
H A Dkern_codesigning.c237 PE_parse_boot_argn("amfi", &amfi_mask, sizeof(amfi_mask)); in code_signing_configuration()
240 PE_parse_boot_argn( in code_signing_configuration()
246 PE_parse_boot_argn( in code_signing_configuration()
252 PE_parse_boot_argn( in code_signing_configuration()
258 PE_parse_boot_argn( in code_signing_configuration()
264 PE_parse_boot_argn( in code_signing_configuration()
270 PE_parse_boot_argn( in code_signing_configuration()
360 bool override = PE_parse_boot_argn( in code_signing_configuration()
370 override = PE_parse_boot_argn( in code_signing_configuration()
380 override = PE_parse_boot_argn( in code_signing_configuration()
H A Dnetboot.c329 if (PE_parse_boot_argn("rp0", root_path, MAXPATHLEN) == TRUE in netboot_info_init()
330 || PE_parse_boot_argn("rp", root_path, MAXPATHLEN) == TRUE in netboot_info_init()
331 || PE_parse_boot_argn("rootpath", root_path, MAXPATHLEN) == TRUE) { in netboot_info_init()
364 if (PE_parse_boot_argn(IMAGEBOOT_ROOT_ARG, root_path, MAXPATHLEN) in netboot_info_init()
365 || PE_parse_boot_argn("rp1", root_path, MAXPATHLEN)) { in netboot_info_init()
/xnu-11417.121.6/pexpert/gen/
H A Dpe_gen.c60 if (!PE_parse_boot_argn("assertions", &boot_arg_value, sizeof(boot_arg_value))) { in pe_init_debug()
69 if (!PE_parse_boot_argn("statistics", &boot_arg_value, sizeof(boot_arg_value))) { in pe_init_debug()
83 } else if (!PE_parse_boot_argn("diagnostic_api", &boot_arg_value, sizeof(boot_arg_value))) { in pe_init_debug()
91 boolean_t have_bootarg = PE_parse_boot_argn("cpu-factor", &factor, sizeof(factor)); in pe_init_debug()
/xnu-11417.121.6/osfmk/i386/
H A Di386_init.c879 if (!PE_parse_boot_argn("diag", &dgWork.dgFlags, sizeof(dgWork.dgFlags))) { in i386_init()
883 if (PE_parse_boot_argn("insn_capcnt", &insn_copyin_count, sizeof(insn_copyin_count))) { in i386_init()
897 if (!PE_parse_boot_argn("panic_clmismatch", &panic_on_cacheline_mismatch, in i386_init()
902 if (!PE_parse_boot_argn("panic_on_trap_procname", &panic_on_trap_procname[0], in i386_init()
907 if (!PE_parse_boot_argn("panic_on_trap_mask", &panic_on_trap_mask, in i386_init()
917 if (!PE_parse_boot_argn("lbr_support", &last_branch_enabled_modes, in i386_init()
924 if (PE_parse_boot_argn("serial", &serialmode, sizeof(serialmode))) { in i386_init()
930 if (force_sync || PE_parse_boot_argn("drain_uart_sync", &force_sync, sizeof(force_sync))) { in i386_init()
953 if (!PE_parse_boot_argn("maxmem", &maxmem, sizeof(maxmem))) { in i386_init()
961 if (PE_parse_boot_argn("cpus", &cpus, sizeof(cpus))) { in i386_init()
[all …]
H A Dpanic_notify.c54 (void) PE_parse_boot_argn("panic_io_port", &panic_io_port, sizeof(panic_io_port)); in panic_notify_init()
63 (void) PE_parse_boot_argn("pvpanic_io_port", &pvpanic_io_port, sizeof(pvpanic_io_port)); in panic_notify_init()
H A Dmachine_routines.c973 if (PE_parse_boot_argn("slto_us", &slto, sizeof(slto))) { in ml_init_lock_timeout()
992 if (PE_parse_boot_argn("tlbto_us", &slto, sizeof(slto))) { in ml_init_lock_timeout()
1003 if (PE_parse_boot_argn("phyreadmaxus", &slto, sizeof(slto))) { in ml_init_lock_timeout()
1009 if (PE_parse_boot_argn("phywritemaxus", &slto, sizeof(slto))) { in ml_init_lock_timeout()
1014 if (PE_parse_boot_argn("tracephyreadus", &slto, sizeof(slto))) { in ml_init_lock_timeout()
1019 if (PE_parse_boot_argn("tracephywriteus", &slto, sizeof(slto))) { in ml_init_lock_timeout()
1024 if (PE_parse_boot_argn("mtxspin", &mtxspin, sizeof(mtxspin))) { in ml_init_lock_timeout()
1041 if (PE_parse_boot_argn("panic_restart_timeout", &prt, sizeof(prt))) { in ml_init_lock_timeout()
1049 if (!PE_parse_boot_argn("vti", &vti, sizeof(vti))) { in ml_init_lock_timeout()
H A Dcpu_topology.c100 PE_parse_boot_argn("cpus_per_pset", &cpus_per_pset, sizeof(cpus_per_pset)); in cpu_topology_sort()
360 (void) PE_parse_boot_argn(ena_prop, ena_valp, sizeof(*ena_valp)); in gentrace_configure_from_bootargs()
366 if (PE_parse_boot_argn(epc_prop, epcp, sizeof(*epcp)) && in gentrace_configure_from_bootargs()
H A Dcpuid.c969 if (!PE_parse_boot_argn("-enable_x86_64h", &enable_x86_64h, sizeof(enable_x86_64h))) { in cpuid_set_info()
972 if (PE_parse_boot_argn("-disable_x86_64h", &disable_x86_64h, sizeof(disable_x86_64h))) { in cpuid_set_info()
996 PE_parse_boot_argn("-nomsr35h", NULL, 0)) { in cpuid_set_info()
1222 PE_parse_boot_argn("-cpuid", &cpuid_dbg, sizeof(cpuid_dbg)); in cpuid_info()
1334 if (PE_parse_boot_argn("_fpu", &fpu_arg[0], sizeof(fpu_arg))) { in cpuid_features()
1524 if (!PE_parse_boot_argn("cwae", &bootarg_cpu_wa_enables, sizeof(bootarg_cpu_wa_enables))) { in cpuid_wa_required()
1528 if (!PE_parse_boot_argn("cwad", &bootarg_cpu_wa_disables, sizeof(bootarg_cpu_wa_disables))) { in cpuid_wa_required()
1689 if (PE_parse_boot_argn("hcalls", &hcalls, sizeof(hcalls)) && in cpuid_vmm_detect_pv_interface()
/xnu-11417.121.6/osfmk/arm/
H A Darm_init.c431 if (PE_parse_boot_argn("cpus_defeatures", &cpus_defeatures, sizeof(cpus_defeatures))) { in arm_init()
440 (void)PE_parse_boot_argn("enable_sme", &enable_sme, sizeof(enable_sme)); in arm_init()
493 if (PE_parse_boot_argn("maxmem", &maxmem, sizeof(maxmem))) { in arm_init()
504 …bool const wdt_disabled = (PE_parse_boot_argn("wdt", &wdt_boot_arg, sizeof(wdt_boot_arg)) && (wdt_… in arm_init()
519 PE_parse_boot_argn("bpret", &bp_ret, sizeof(bp_ret)); in arm_init()
523PE_parse_boot_argn("immediate_NMI", &force_immediate_debug_halt, sizeof(force_immediate_debug_halt… in arm_init()
572 if (PE_parse_boot_argn("serial", &serialmode, sizeof(serialmode))) { in arm_init()
578 if (force_sync || PE_parse_boot_argn("drain_uart_sync", &force_sync, sizeof(force_sync))) { in arm_init()
/xnu-11417.121.6/osfmk/arm64/
H A Dalternate_debugger.c121 if (PE_parse_boot_argn("alternate_debugger_init", (void*)&alt_size, sizeof(alt_size))) { in alternate_debugger_init()
126PE_parse_boot_argn("alternate_debugger_init_pages", (void*)&alt_pages_size, sizeof(alt_pages_size)… in alternate_debugger_init()
162 …if (PE_parse_boot_argn("alternate_debugger_pause_for_load_at_boot", &alt_init_test, sizeof(alt_ini… in alternate_debugger_init()
H A Dmachine_routines.c509 if (!PE_parse_boot_argn("fastipi", &gFastIPI, sizeof(gFastIPI))) { in machine_startup()
686 if (PE_parse_boot_argn("slto_us", &slto, sizeof(slto))) { in ml_init_lock_timeout()
697 if (PE_parse_boot_argn("tlto_us", &slto, sizeof(slto))) { in ml_init_lock_timeout()
706 if (PE_parse_boot_argn("mtxspin", &mtxspin, sizeof(mtxspin))) { in ml_init_lock_timeout()
727 PE_parse_boot_argn("max_wfe_us", &maxwfeus, sizeof(maxwfeus)); in ml_init_lock_timeout()
1089 PE_parse_boot_argn("kernPOST", &kernel_post, sizeof(kernel_post)); in ml_cluster_power_override()
1094 if (PE_parse_boot_argn("enable_skstb", NULL, 0)) { in ml_cluster_power_override()
1097 if (PE_parse_boot_argn("enable_skstsct", NULL, 0)) { in ml_cluster_power_override()
1102 PE_parse_boot_argn("cluster_power", flag, sizeof(*flag)); in ml_cluster_power_override()
1131 …const boolean_t cpus_boot_arg_present = PE_parse_boot_argn("cpus", &cpu_boot_arg, sizeof(cpu_boot_… in ml_parse_cpu_topology()
[all …]
/xnu-11417.121.6/osfmk/atm/
H A Datm.c56 (PE_parse_boot_argn("-disable_atm", temp_buf, sizeof(temp_buf)))) { in atm_init()
60 …if (!PE_parse_boot_argn("atm_diagnostic_config", &atm_diagnostic_config, sizeof(atm_diagnostic_con… in atm_init()
/xnu-11417.121.6/osfmk/kern/
H A Diotrace.c71 (void) PE_parse_boot_argn("iotrace", &enable, sizeof(enable)); in iotrace_init()
73 PE_parse_boot_argn("iotrace_epc", &entries_per_cpu, sizeof(entries_per_cpu)) && in iotrace_init()
H A Dstartup.c299 } else if (PE_parse_boot_argn(spec->name, spec->var_addr, spec->var_len)) { in kernel_startup_tunable_init()
350 if (PE_parse_boot_argn(spec->boot_arg_name, spec->var_addr, spec->var_len)) { in kernel_startup_tunable_dt_source_init()
398 if (PE_parse_boot_argn(spec->boot_arg_name, spec->var_addr, spec->var_len)) { in kernel_startup_tunable_dt_init()
533 if (PE_parse_boot_argn("-show_pointers", &namep, sizeof(namep))) { in kernel_bootstrap()
536 if (PE_parse_boot_argn("-no_slto_panic", &namep, sizeof(namep))) { in kernel_bootstrap()
H A Dcopyout_shim.c64 …if (!PE_parse_boot_argn("enable_copyout_shim", &copyout_shim_enabled, sizeof(copyout_shim_enabled)… in register_copyout_shim()
/xnu-11417.121.6/bsd/net/classq/
H A Dclassq_subr.c123 PE_parse_boot_argn("fq_codel_quantum", &fq_codel_quantum, in classq_init()
125 PE_parse_boot_argn("ifclassq_def_c_target_qdelay", &ifclassq_def_c_target_qdelay, in classq_init()
127 PE_parse_boot_argn("ifclassq_def_c_update_interval", in classq_init()
129 PE_parse_boot_argn("ifclassq_def_l4s_target_qdelay", &ifclassq_def_l4s_target_qdelay, in classq_init()
131 PE_parse_boot_argn("ifclassq_def_l4s_update_interval", in classq_init()
133 PE_parse_boot_argn("ifclassq_ll_c_target_qdelay", &ifclassq_ll_c_target_qdelay, in classq_init()
135 PE_parse_boot_argn("ifclassq_ll_c_update_interval", in classq_init()
137 PE_parse_boot_argn("ifclassq_ll_l4s_target_qdelay", &ifclassq_ll_l4s_target_qdelay, in classq_init()
139 PE_parse_boot_argn("ifclassq_ll_l4s_update_interval", in classq_init()
/xnu-11417.121.6/osfmk/arm64/sptm/
H A Darm_init_sptm.c753 (void)PE_parse_boot_argn("enable_sme", &enable_sme, sizeof(enable_sme)); in arm_init()
782 if (PE_parse_boot_argn("cpus_defeatures", &cpus_defeatures, sizeof(cpus_defeatures))) { in arm_init()
792 PE_parse_boot_argn("sptm_stability_hacks", &sptm_stability_hacks, sizeof(sptm_stability_hacks)); in arm_init()
840 if (PE_parse_boot_argn("maxmem", &maxmem, sizeof(maxmem))) { in arm_init()
851 …bool const wdt_disabled = (PE_parse_boot_argn("wdt", &wdt_boot_arg, sizeof(wdt_boot_arg)) && (wdt_… in arm_init()
866 PE_parse_boot_argn("bpret", &bp_ret, sizeof(bp_ret)); in arm_init()
870PE_parse_boot_argn("immediate_NMI", &force_immediate_debug_halt, sizeof(force_immediate_debug_halt… in arm_init()
895 if (PE_parse_boot_argn("serial", &serialmode, sizeof(serialmode))) { in arm_init()
901 if (force_sync || PE_parse_boot_argn("drain_uart_sync", &force_sync, sizeof(force_sync))) { in arm_init()
1478 PE_parse_boot_argn("keepsyms", &keep_linkedit, sizeof(keep_linkedit)); in arm_vm_prot_finalize()
/xnu-11417.121.6/iokit/bsddev/
H A DIOKitBSDInit.cpp274 if (PE_parse_boot_argn( "network-type", networkType, 128 )) { in IONetworkNamePrefixMatching()
725 if (!PE_parse_boot_argn("rd", rdBootVar, kMaxBootVar ) in IOFindBSDRoot()
726 && !PE_parse_boot_argn("rootdev", rdBootVar, kMaxBootVar )) { in IOFindBSDRoot()
852 if (!PE_parse_boot_argn( "boot-uuid", uuid.data(), kMaxBootVar )) { in IOFindBSDRoot()
898 || PE_parse_boot_argn("-s", namep, sizeof(namep))) { in IOFindBSDRoot()
902 PE_parse_boot_argn("wdt", &wdt, sizeof(wdt)); in IOFindBSDRoot()
1027 if (PE_parse_boot_argn("rd", rdBootVar, kMaxBootVar ) in IORamDiskBSDRoot()
1028 || PE_parse_boot_argn("rootdev", rdBootVar, kMaxBootVar )) { in IORamDiskBSDRoot()
1236 if (PE_parse_boot_argn("corefile_size_mb", &requested_corefile_size, in IOCoreFileGetSize()
/xnu-11417.121.6/pexpert/i386/
H A Dpe_serial.c272 if (PE_parse_boot_argn("mmio_uart", &new_mmio_uart_base, sizeof(new_mmio_uart_base))) { in mmio_uart_probe()
496 …if (PE_parse_boot_argn("pcie_mmio_uart", &new_pcie_mmio_uart_base, sizeof(new_pcie_mmio_uart_base)… in pcie_mmio_uart_probe()
597 if (PE_parse_boot_argn("serialbaud", &new_uart_baud_rate, sizeof(new_uart_baud_rate))) { in serial_init()
/xnu-11417.121.6/bsd/dev/
H A Dunix_startup.c288 (void) PE_parse_boot_argn("ncl", &ncl, sizeof(ncl)); in bsd_mbuf_cluster_reserve()
289 (void) PE_parse_boot_argn("mbuf_pool", &mbuf_pool, sizeof(mbuf_pool)); in bsd_mbuf_cluster_reserve()
/xnu-11417.121.6/osfmk/vm/
H A Dvm_compressor_algorithms.c460 PE_parse_boot_argn("vm_compressor_codec", &new_codec, sizeof(new_codec)); in vm_compressor_algorithm_init()
467 if (PE_parse_boot_argn("-vm_compressor_wk", &tmpc, sizeof(tmpc))) { in vm_compressor_algorithm_init()
469 } else if (PE_parse_boot_argn("-vm_compressor_hybrid", &tmpc, sizeof(tmpc))) { in vm_compressor_algorithm_init()
/xnu-11417.121.6/iokit/Kernel/
H A DIOInterruptAccounting.cpp52 if (PE_parse_boot_argn("interrupt_accounting", &bootArgValue, sizeof(bootArgValue))) { in interruptAccountingInit()

123456