/linux-6.3-rc2/arch/hexagon/kernel/ |
A D | setup.c | 24 char cmd_line[COMMAND_LINE_SIZE]; 25 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE; 69 strlcpy(boot_command_line, p, COMMAND_LINE_SIZE); in setup_arch() 72 COMMAND_LINE_SIZE); in setup_arch() 79 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | env.c | 23 char *cmdline = early_memremap_ro(fw_arg1, COMMAND_LINE_SIZE); in init_environ() 30 strscpy(boot_command_line, cmdline, COMMAND_LINE_SIZE); in init_environ() 31 strscpy(init_command_line, cmdline, COMMAND_LINE_SIZE); in init_environ() 32 early_memunmap(cmdline, COMMAND_LINE_SIZE); in init_environ()
|
A D | setup.c | 76 char init_command_line[COMMAND_LINE_SIZE] __initdata; 298 strscpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in bootcmdline_init() 311 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in bootcmdline_init() 313 strlcat(boot_command_line, init_command_line, COMMAND_LINE_SIZE); in bootcmdline_init()
|
/linux-6.3-rc2/arch/parisc/kernel/ |
A D | setup.c | 41 static char __initdata command_line[COMMAND_LINE_SIZE]; 61 COMMAND_LINE_SIZE); in setup_cmdline() 66 strlcat(p, " console=", COMMAND_LINE_SIZE); in setup_cmdline() 68 strlcat(p, "ttyS0", COMMAND_LINE_SIZE); in setup_cmdline() 70 strlcat(p, "tty0", COMMAND_LINE_SIZE); in setup_cmdline() 75 strlcat(p, " earlycon=pdc", COMMAND_LINE_SIZE); in setup_cmdline() 85 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_cmdline()
|
/linux-6.3-rc2/arch/nios2/kernel/ |
A D | setup.c | 111 char cmdline_passed[COMMAND_LINE_SIZE] __maybe_unused = { 0, }; in nios2_boot_init() 124 strlcpy(cmdline_passed, (char *)r7, COMMAND_LINE_SIZE); in nios2_boot_init() 132 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()
|
/linux-6.3-rc2/arch/s390/boot/ |
A D | ipl_parm.c | 17 .max_command_line_size = COMMAND_LINE_SIZE, 21 char __bootdata(early_command_line)[COMMAND_LINE_SIZE]; 160 parm, COMMAND_LINE_SIZE - len - 1, &ipl_block); in append_ipl_block_parm() 166 parm, COMMAND_LINE_SIZE - len - 1, &ipl_block); in append_ipl_block_parm() 189 parmarea.command_line[COMMAND_LINE_SIZE - 1] = 0; in setup_boot_command_line() 192 EBCASC(parmarea.command_line, COMMAND_LINE_SIZE); in setup_boot_command_line() 259 static char command_line_buf[COMMAND_LINE_SIZE];
|
/linux-6.3-rc2/arch/powerpc/kexec/ |
A D | file_load.c | 42 cmdline_ptr = kzalloc(COMMAND_LINE_SIZE, GFP_KERNEL); in setup_kdump_cmdline() 49 if (elfcorehdr_strlen + cmdline_len > COMMAND_LINE_SIZE) { in setup_kdump_cmdline() 57 cmdline_ptr[COMMAND_LINE_SIZE - 1] = '\0'; in setup_kdump_cmdline()
|
/linux-6.3-rc2/arch/arm/kernel/ |
A D | atags_parse.c | 33 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE; 124 strlcat(default_command_line, " ", COMMAND_LINE_SIZE); in parse_tag_cmdline() 126 COMMAND_LINE_SIZE); in parse_tag_cmdline() 131 COMMAND_LINE_SIZE); in parse_tag_cmdline() 227 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_machine_tags()
|
/linux-6.3-rc2/arch/mips/kernel/ |
A D | setup.c | 68 static char __initdata command_line[COMMAND_LINE_SIZE]; 69 char __initdata arcs_cmdline[COMMAND_LINE_SIZE]; 528 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in bootcmdline_append() 548 bootcmdline_append(p, min(l, COMMAND_LINE_SIZE)); in bootcmdline_scan_chosen() 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() 601 bootcmdline_append(arcs_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init() 609 bootcmdline_append(builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init() 641 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in arch_mem_init()
|
/linux-6.3-rc2/arch/sparc/include/uapi/asm/ |
A D | setup.h | 10 # define COMMAND_LINE_SIZE 2048 macro 12 # define COMMAND_LINE_SIZE 256 macro
|
/linux-6.3-rc2/arch/xtensa/kernel/ |
A D | setup.c | 75 static char __initdata command_line[COMMAND_LINE_SIZE]; 78 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE; 143 strscpy(command_line, (char *)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline() 233 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in early_init_devtree() 263 strscpy(command_line, default_command_line, COMMAND_LINE_SIZE); in init_arch() 292 strscpy(boot_command_line, *cmdline_p, COMMAND_LINE_SIZE); in setup_arch()
|
/linux-6.3-rc2/arch/m68k/kernel/ |
A D | setup_no.c | 49 char __initdata command_line[COMMAND_LINE_SIZE]; 149 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch() 150 boot_command_line[COMMAND_LINE_SIZE-1] = 0; in setup_arch()
|
/linux-6.3-rc2/arch/xtensa/platforms/iss/ |
A D | setup.c | 60 static void *argv[COMMAND_LINE_SIZE / sizeof(void *)] __initdata; in platform_setup() 61 static char cmdline[COMMAND_LINE_SIZE] __initdata; in platform_setup()
|
/linux-6.3-rc2/arch/mips/cobalt/ |
A D | setup.c | 111 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init() 113 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
|
/linux-6.3-rc2/arch/mips/fw/lib/ |
A D | cmdline.c | 40 strlcat(arcs_cmdline, fw_argv(i), COMMAND_LINE_SIZE); in fw_init_cmdline() 42 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in fw_init_cmdline()
|
/linux-6.3-rc2/arch/mips/ar7/ |
A D | prom.c | 47 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in ar7_init_cmdline() 49 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in ar7_init_cmdline() 229 strlcat(arcs_cmdline, console_string, COMMAND_LINE_SIZE); in console_config()
|
/linux-6.3-rc2/arch/mips/alchemy/common/ |
A D | prom.c | 53 strlcat(arcs_cmdline, prom_argv[i], COMMAND_LINE_SIZE); in prom_init_cmdline() 55 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init_cmdline()
|
/linux-6.3-rc2/arch/mips/pic32/pic32mzda/ |
A D | init.c | 47 strscpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup() 57 unsigned int count = COMMAND_LINE_SIZE - 1; in pic32_init_cmdline()
|
/linux-6.3-rc2/arch/arm/boot/compressed/ |
A D | atags_to_fdt.c | 74 char cmdline[COMMAND_LINE_SIZE]; in merge_fdt_bootargs() 82 if (len < COMMAND_LINE_SIZE) { in merge_fdt_bootargs() 92 if (ptr - cmdline + len + 2 < COMMAND_LINE_SIZE) { in merge_fdt_bootargs()
|
/linux-6.3-rc2/arch/x86/lib/ |
A D | cmdline.c | 208 return __cmdline_find_option_bool(cmdline, COMMAND_LINE_SIZE, option); in cmdline_find_option_bool() 214 return __cmdline_find_option(cmdline, COMMAND_LINE_SIZE, option, in cmdline_find_option()
|
/linux-6.3-rc2/arch/mips/rb532/ |
A D | prom.c | 51 static char cmd_line[COMMAND_LINE_SIZE] __initdata; in prom_setup_cmdline() 96 cmd_line[COMMAND_LINE_SIZE - 1] = '\0'; in prom_setup_cmdline()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | setup.c | 165 static char __initdata command_line[COMMAND_LINE_SIZE]; 167 static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE; 970 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch() 974 strlcat(builtin_cmdline, " ", COMMAND_LINE_SIZE); in setup_arch() 975 strlcat(builtin_cmdline, boot_command_line, COMMAND_LINE_SIZE); in setup_arch() 976 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch() 981 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | setup.h | 15 #define COMMAND_LINE_SIZE CONFIG_COMMAND_LINE_SIZE macro 63 char command_line[COMMAND_LINE_SIZE]; /* 0x10480 */
|
/linux-6.3-rc2/arch/um/include/asm/ |
A D | setup.h | 9 #define COMMAND_LINE_SIZE 4096 macro
|
/linux-6.3-rc2/arch/xtensa/include/uapi/asm/ |
A D | setup.h | 15 #define COMMAND_LINE_SIZE 256 macro
|