Home
last modified time | relevance | path

Searched refs:boot_command_line (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v6.1/arch/hexagon/kernel/
Dsetup.c69 strlcpy(boot_command_line, p, COMMAND_LINE_SIZE); in setup_arch()
71 strlcpy(boot_command_line, default_command_line, in setup_arch()
79 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/Linux-v6.1/arch/powerpc/platforms/powermac/
Dsetup.c316 if (strstr(boot_command_line, "adb_sync")) { in pmac_setup_arch()
348 p = strstr(boot_command_line, "root="); in note_bootable_part()
349 if (p != NULL && (p == boot_command_line || p[-1] == ' ')) in note_bootable_part()
436 if (strstr(boot_command_line, "btextdbg")) { in pmac_init()
445 udbg_scc_init(!!strstr(boot_command_line, "sccdbg")); in pmac_init()
446 udbg_adb_init(!!strstr(boot_command_line, "btextdbg")); in pmac_init()
515 if (strstr(boot_command_line, "console=")) { in check_pmac_serial_console()
/Linux-v6.1/arch/nios2/kernel/
Dsetup.c132 strlcpy(boot_command_line, cmdline_passed, COMMAND_LINE_SIZE); in nios2_boot_init()
135 strlcpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in nios2_boot_init()
161 *cmdline_p = boot_command_line; in setup_arch()
/Linux-v6.1/arch/microblaze/kernel/
Dprom.c22 if (!strlen(boot_command_line)) in early_init_devtree()
23 strlcpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE); in early_init_devtree()
Dsetup.c53 *cmdline_p = boot_command_line; in setup_arch()
/Linux-v6.1/arch/mips/kernel/
Dsetup.c459 ret = parse_crashkernel(boot_command_line, total_mem, in mips_parse_crashkernel()
527 if (boot_command_line[0]) in bootcmdline_append()
528 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in bootcmdline_append()
530 strlcat(boot_command_line, s, max); in bootcmdline_append()
567 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
579 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
581 boot_command_line[0] = 0; in bootcmdline_init()
641 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in arch_mem_init()
Drelocate.c341 if (boot_command_line[0]) { in relocate_kernel()
343 strscpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in relocate_kernel()
/Linux-v6.1/arch/parisc/kernel/
Dsetup.c58 boot_command_line[0] = '\0'; in setup_cmdline()
60 strscpy(boot_command_line, (char *)__va(boot_args[1]), in setup_cmdline()
64 p = boot_command_line; in setup_cmdline()
86 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_cmdline()
/Linux-v6.1/arch/mips/pic32/pic32mzda/
Dinit.c41 pr_info(" boot_command_line: %s\n", boot_command_line); in plat_mem_setup()
47 strscpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup()
/Linux-v6.1/arch/x86/kernel/
Dsetup.c516 ret = parse_crashkernel_low(boot_command_line, low_mem_limit, &low_size, &base); in reserve_crashkernel_low()
565 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
568 ret = parse_crashkernel_high(boot_command_line, total_mem, in reserve_crashkernel()
889 printk(KERN_INFO "Command line: %s\n", boot_command_line); in setup_arch()
974 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
979 strlcat(builtin_cmdline, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
980 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
985 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/Linux-v6.1/arch/riscv/kernel/
Dsetup.c260 strscpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in parse_dtb()
261 pr_info("Forcing kernel command line to: %s\n", boot_command_line); in parse_dtb()
270 *cmdline_p = boot_command_line; in setup_arch()
/Linux-v6.1/arch/m68k/kernel/
Dsetup_no.c150 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
151 boot_command_line[COMMAND_LINE_SIZE-1] = 0; in setup_arch()
/Linux-v6.1/arch/powerpc/mm/nohash/
Dkaslr_booke.c43 early_init_dt_scan_chosen(boot_command_line); in kaslr_get_cmdline()
181 ret = parse_crashkernel(boot_command_line, size, &crash_size, in get_crash_kernel()
281 return strstr(boot_command_line, "nokaslr") != NULL; in kaslr_disabled()
/Linux-v6.1/init/
Dmain.c146 char __initdata boot_command_line[COMMAND_LINE_SIZE]; variable
427 strscpy(tmp_cmdline, boot_command_line, COMMAND_LINE_SIZE); in setup_boot_config()
627 len = xlen + strlen(boot_command_line) + 1; in setup_command_line()
646 strcpy(saved_command_line + xlen, boot_command_line); in setup_command_line()
662 boot_command_line + initargs_offs - 1); in setup_command_line()
767 strscpy(tmp_cmdline, boot_command_line, COMMAND_LINE_SIZE); in parse_early_param()
/Linux-v6.1/arch/sh/mm/
Dconsistent.c22 char *p = boot_command_line; in memchunk_cmdline_override()
/Linux-v6.1/arch/loongarch/kernel/
Denv.c29 strscpy(boot_command_line, cmdline, COMMAND_LINE_SIZE); in init_environ()
Dsetup.c234 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in arch_parse_crashkernel()
418 *cmdline_p = boot_command_line; in setup_arch()
/Linux-v6.1/arch/csky/kernel/
Dsetup.c74 *cmdline_p = boot_command_line; in setup_arch()
/Linux-v6.1/arch/x86/kernel/cpu/
Dtsx.c195 ret = cmdline_find_option(boot_command_line, "tsx", arg, sizeof(arg)); in tsx_init()
/Linux-v6.1/arch/powerpc/kernel/
Dudbg.c170 if (strstr(boot_command_line, "udbg-immortal")) { in register_early_udbg_console()
/Linux-v6.1/arch/xtensa/kernel/
Dsetup.c233 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in early_init_devtree()
292 strscpy(boot_command_line, *cmdline_p, COMMAND_LINE_SIZE); in setup_arch()
/Linux-v6.1/arch/x86/mm/
Dpti.c92 ret = cmdline_find_option(boot_command_line, "pti", arg, sizeof(arg)); in pti_check_boottime_disable()
110 if (cmdline_find_option_bool(boot_command_line, "nopti") || in pti_check_boottime_disable()
/Linux-v6.1/arch/arc/kernel/
Dsetup.c547 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in handle_uboot_args()
548 strlcat(boot_command_line, uboot_arg, COMMAND_LINE_SIZE); in handle_uboot_args()
557 *cmdline_p = boot_command_line; in setup_arch()
/Linux-v6.1/arch/sh/kernel/
Dmachine_kexec.c156 ret = parse_crashkernel(boot_command_line, memblock_phys_mem_size(), in reserve_crashkernel()
/Linux-v6.1/arch/s390/kernel/
Dsetup.c308 strcat(boot_command_line, " cio_ignore=all,!ipldev,!condev"); in setup_zfcpdump()
660 rc = parse_crashkernel(boot_command_line, ident_map_size, &crash_size, in reserve_crashkernel()
983 *cmdline_p = boot_command_line; in setup_arch()

123