Home
last modified time | relevance | path

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

1234

/linux-6.6.21/arch/hexagon/kernel/
Dsetup.c24 char cmd_line[COMMAND_LINE_SIZE];
25 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
69 strscpy(boot_command_line, p, COMMAND_LINE_SIZE); in setup_arch()
72 COMMAND_LINE_SIZE); in setup_arch()
79 strscpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/linux-6.6.21/arch/parisc/kernel/
Dsetup.c40 static char __initdata command_line[COMMAND_LINE_SIZE];
55 COMMAND_LINE_SIZE); in setup_cmdline()
60 strlcat(p, " console=", COMMAND_LINE_SIZE); in setup_cmdline()
62 strlcat(p, "ttyS0", COMMAND_LINE_SIZE); in setup_cmdline()
64 strlcat(p, "tty0", COMMAND_LINE_SIZE); in setup_cmdline()
69 strlcat(p, " earlycon=pdc", COMMAND_LINE_SIZE); in setup_cmdline()
79 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_cmdline()
/linux-6.6.21/arch/loongarch/kernel/
Denv.c23 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()
Dsetup.c76 char init_command_line[COMMAND_LINE_SIZE] __initdata;
319 strscpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in bootcmdline_init()
332 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in bootcmdline_init()
334 strlcat(boot_command_line, init_command_line, COMMAND_LINE_SIZE); in bootcmdline_init()
344 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in bootcmdline_init()
345 strlcat(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in bootcmdline_init()
352 strscpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in bootcmdline_init()
/linux-6.6.21/arch/nios2/kernel/
Dsetup.c111 char cmdline_passed[COMMAND_LINE_SIZE] __maybe_unused = { 0, }; in nios2_boot_init()
124 strscpy(cmdline_passed, (char *)r7, COMMAND_LINE_SIZE); in nios2_boot_init()
132 strscpy(boot_command_line, cmdline_passed, COMMAND_LINE_SIZE); in nios2_boot_init()
135 strscpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in nios2_boot_init()
/linux-6.6.21/arch/s390/boot/
Dipl_parm.c17 .max_command_line_size = COMMAND_LINE_SIZE,
21 char __bootdata(early_command_line)[COMMAND_LINE_SIZE];
159 parm, COMMAND_LINE_SIZE - len - 1, &ipl_block); in append_ipl_block_parm()
165 parm, COMMAND_LINE_SIZE - len - 1, &ipl_block); in append_ipl_block_parm()
188 parmarea.command_line[COMMAND_LINE_SIZE - 1] = 0; in setup_boot_command_line()
191 EBCASC(parmarea.command_line, COMMAND_LINE_SIZE); in setup_boot_command_line()
258 static char command_line_buf[COMMAND_LINE_SIZE];
/linux-6.6.21/arch/riscv/kernel/pi/
Dcmdline_early.c9 static char early_cmdline[COMMAND_LINE_SIZE];
33 COMMAND_LINE_SIZE); in get_early_cmdline()
41 strlcat(early_cmdline, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in get_early_cmdline()
/linux-6.6.21/arch/powerpc/kexec/
Dfile_load.c42 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.6.21/arch/arm/kernel/
Datags_parse.c33 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 strscpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_machine_tags()
/linux-6.6.21/arch/mips/kernel/
Dsetup.c70 static char __initdata command_line[COMMAND_LINE_SIZE];
71 char __initdata arcs_cmdline[COMMAND_LINE_SIZE];
531 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in bootcmdline_append()
551 bootcmdline_append(p, min(l, COMMAND_LINE_SIZE)); in bootcmdline_scan_chosen()
570 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
582 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
604 bootcmdline_append(arcs_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
612 bootcmdline_append(builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
644 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in arch_mem_init()
/linux-6.6.21/arch/sparc/include/uapi/asm/
Dsetup.h10 # define COMMAND_LINE_SIZE 2048 macro
12 # define COMMAND_LINE_SIZE 256 macro
/linux-6.6.21/arch/m68k/kernel/
Dsetup_no.c49 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.6.21/arch/xtensa/kernel/
Dsetup.c77 static char __initdata command_line[COMMAND_LINE_SIZE];
80 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
145 strscpy(command_line, (char *)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline()
235 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in early_init_devtree()
271 strscpy(command_line, default_command_line, COMMAND_LINE_SIZE); in init_arch()
300 strscpy(boot_command_line, *cmdline_p, COMMAND_LINE_SIZE); in setup_arch()
/linux-6.6.21/arch/xtensa/platforms/iss/
Dsetup.c62 static void *argv[COMMAND_LINE_SIZE / sizeof(void *)] __initdata; in platform_setup()
63 static char cmdline[COMMAND_LINE_SIZE] __initdata; in platform_setup()
/linux-6.6.21/arch/mips/cobalt/
Dsetup.c111 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
113 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/linux-6.6.21/arch/mips/fw/lib/
Dcmdline.c40 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.6.21/arch/mips/ar7/
Dprom.c47 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.6.21/arch/mips/alchemy/common/
Dprom.c53 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.6.21/arch/mips/pic32/pic32mzda/
Dinit.c47 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.6.21/arch/arm/boot/compressed/
Datags_to_fdt.c75 char cmdline[COMMAND_LINE_SIZE]; in merge_fdt_bootargs()
83 if (len < COMMAND_LINE_SIZE) { in merge_fdt_bootargs()
93 if (ptr - cmdline + len + 2 < COMMAND_LINE_SIZE) { in merge_fdt_bootargs()
/linux-6.6.21/arch/x86/lib/
Dcmdline.c208 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.6.21/arch/mips/rb532/
Dprom.c51 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.6.21/arch/x86/kernel/
Dsetup.c164 static char __initdata command_line[COMMAND_LINE_SIZE];
166 static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE;
964 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
968 strlcat(builtin_cmdline, " ", COMMAND_LINE_SIZE); in setup_arch()
969 strlcat(builtin_cmdline, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
970 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
975 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/linux-6.6.21/arch/s390/include/asm/
Dsetup.h15 #define COMMAND_LINE_SIZE CONFIG_COMMAND_LINE_SIZE macro
63 char command_line[COMMAND_LINE_SIZE]; /* 0x10480 */
/linux-6.6.21/include/uapi/asm-generic/
Dsetup.h5 #define COMMAND_LINE_SIZE 512 macro

1234