Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/arch/hexagon/kernel/
A Dsetup.c24 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 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()
A Dsetup.c76 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 Dsetup.c41 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 Dsetup.c111 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 Dipl_parm.c17 .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 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.3-rc2/arch/arm/kernel/
A 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 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_machine_tags()
/linux-6.3-rc2/arch/mips/kernel/
A Dsetup.c68 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 Dsetup.h10 # define COMMAND_LINE_SIZE 2048 macro
12 # define COMMAND_LINE_SIZE 256 macro
/linux-6.3-rc2/arch/xtensa/kernel/
A Dsetup.c75 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 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.3-rc2/arch/xtensa/platforms/iss/
A Dsetup.c60 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 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.3-rc2/arch/mips/fw/lib/
A 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.3-rc2/arch/mips/ar7/
A 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.3-rc2/arch/mips/alchemy/common/
A 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.3-rc2/arch/mips/pic32/pic32mzda/
A 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.3-rc2/arch/arm/boot/compressed/
A Datags_to_fdt.c74 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 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.3-rc2/arch/mips/rb532/
A 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.3-rc2/arch/x86/kernel/
A Dsetup.c165 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 Dsetup.h15 #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 Dsetup.h9 #define COMMAND_LINE_SIZE 4096 macro
/linux-6.3-rc2/arch/xtensa/include/uapi/asm/
A Dsetup.h15 #define COMMAND_LINE_SIZE 256 macro

Completed in 32 milliseconds

1234