Home
last modified time | relevance | path

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

1234

/linux-6.1.9/arch/hexagon/kernel/
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.1.9/arch/parisc/kernel/
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()
86 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_cmdline()
/linux-6.1.9/arch/nios2/kernel/
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.1.9/arch/s390/boot/
Dipl_parm.c17 .max_command_line_size = COMMAND_LINE_SIZE,
21 char __bootdata(early_command_line)[COMMAND_LINE_SIZE];
152 parm, COMMAND_LINE_SIZE - len - 1, &ipl_block); in append_ipl_block_parm()
157 parm, COMMAND_LINE_SIZE - len - 1, &ipl_block); in append_ipl_block_parm()
180 parmarea.command_line[COMMAND_LINE_SIZE - 1] = 0; in setup_boot_command_line()
183 EBCASC(parmarea.command_line, COMMAND_LINE_SIZE); in setup_boot_command_line()
250 static char command_line_buf[COMMAND_LINE_SIZE];
/linux-6.1.9/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.1.9/arch/loongarch/kernel/
Denv.c22 char *cmdline = early_memremap_ro(fw_arg1, COMMAND_LINE_SIZE); in init_environ()
29 strscpy(boot_command_line, cmdline, COMMAND_LINE_SIZE); in init_environ()
30 early_memunmap(cmdline, COMMAND_LINE_SIZE); in init_environ()
/linux-6.1.9/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 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_machine_tags()
/linux-6.1.9/arch/mips/kernel/
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.1.9/arch/sparc/include/uapi/asm/
Dsetup.h10 # define COMMAND_LINE_SIZE 2048 macro
12 # define COMMAND_LINE_SIZE 256 macro
/linux-6.1.9/arch/xtensa/kernel/
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.1.9/arch/m68k/kernel/
Dsetup_no.c49 char __initdata command_line[COMMAND_LINE_SIZE];
150 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-6.1.9/arch/xtensa/platforms/iss/
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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/arch/arm/boot/compressed/
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.1.9/arch/x86/lib/
Dcmdline.c206 return __cmdline_find_option_bool(cmdline, COMMAND_LINE_SIZE, option); in cmdline_find_option_bool()
212 return __cmdline_find_option(cmdline, COMMAND_LINE_SIZE, option, in cmdline_find_option()
/linux-6.1.9/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.1.9/arch/x86/kernel/
Dsetup.c169 static char __initdata command_line[COMMAND_LINE_SIZE];
171 static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE;
974 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
978 strlcat(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-6.1.9/arch/s390/include/asm/
Dsetup.h15 #define COMMAND_LINE_SIZE CONFIG_COMMAND_LINE_SIZE macro
62 char command_line[COMMAND_LINE_SIZE]; /* 0x10480 */
/linux-6.1.9/include/uapi/asm-generic/
Dsetup.h5 #define COMMAND_LINE_SIZE 512 macro
/linux-6.1.9/arch/alpha/include/uapi/asm/
Dsetup.h5 #define COMMAND_LINE_SIZE 256 macro
/linux-6.1.9/arch/m68k/include/uapi/asm/
Dsetup.h15 #define COMMAND_LINE_SIZE 256 macro

1234