Home
last modified time | relevance | path

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

123

/Linux-v4.19/arch/hexagon/kernel/
Dsetup.c37 char cmd_line[COMMAND_LINE_SIZE];
38 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
82 strlcpy(boot_command_line, p, COMMAND_LINE_SIZE); in setup_arch()
85 COMMAND_LINE_SIZE); in setup_arch()
92 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/Linux-v4.19/arch/nios2/kernel/
Dsetup.c113 char cmdline_passed[COMMAND_LINE_SIZE] __maybe_unused = { 0, }; in nios2_boot_init()
126 strncpy(cmdline_passed, (char *)r7, COMMAND_LINE_SIZE); in nios2_boot_init()
134 strncpy(boot_command_line, cmdline_passed, COMMAND_LINE_SIZE); in nios2_boot_init()
137 strncpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in nios2_boot_init()
/Linux-v4.19/arch/mips/kernel/
Dsetup.c68 static char __initdata command_line[COMMAND_LINE_SIZE];
69 char __initdata arcs_cmdline[COMMAND_LINE_SIZE];
72 static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE;
856 strlcpy(boot_command_line, " ", COMMAND_LINE_SIZE); in arch_mem_init()
878 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
882 strlcpy(boot_command_line, arcs_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
886 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in arch_mem_init()
887 strlcat(boot_command_line, arcs_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
893 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in arch_mem_init()
894 strlcat(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
[all …]
/Linux-v4.19/arch/sparc/include/uapi/asm/
Dsetup.h10 # define COMMAND_LINE_SIZE 2048 macro
12 # define COMMAND_LINE_SIZE 256 macro
/Linux-v4.19/arch/arm/kernel/
Datags_parse.c35 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
128 strlcat(default_command_line, " ", COMMAND_LINE_SIZE); in parse_tag_cmdline()
130 COMMAND_LINE_SIZE); in parse_tag_cmdline()
135 COMMAND_LINE_SIZE); in parse_tag_cmdline()
231 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_machine_tags()
/Linux-v4.19/arch/xtensa/kernel/
Dsetup.c76 static char __initdata command_line[COMMAND_LINE_SIZE];
79 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
144 strlcpy(command_line, (char *)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline()
234 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in early_init_devtree()
264 strlcpy(command_line, default_command_line, COMMAND_LINE_SIZE); in init_arch()
329 strlcpy(boot_command_line, *cmdline_p, COMMAND_LINE_SIZE); in setup_arch()
/Linux-v4.19/arch/mips/paravirt/
Dsetup.c52 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
54 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/Linux-v4.19/arch/arc/include/asm/
Dsetup.h16 #define COMMAND_LINE_SIZE 2048 macro
18 #define COMMAND_LINE_SIZE 256 macro
/Linux-v4.19/arch/m68k/kernel/
Dsetup_no.c51 char __initdata command_line[COMMAND_LINE_SIZE];
147 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
148 boot_command_line[COMMAND_LINE_SIZE-1] = 0; in setup_arch()
/Linux-v4.19/arch/mips/vr41xx/common/
Dinit.c69 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
71 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/Linux-v4.19/arch/xtensa/platforms/iss/
Dsetup.c81 static void *argv[COMMAND_LINE_SIZE / sizeof(void *)] __initdata; in platform_setup()
82 static char cmdline[COMMAND_LINE_SIZE] __initdata; in platform_setup()
/Linux-v4.19/arch/unicore32/kernel/
Dsetup.c63 static char __initdata cmd_line[COMMAND_LINE_SIZE];
65 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
250 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_arch()
253 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/Linux-v4.19/arch/mips/cobalt/
Dsetup.c110 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
112 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/Linux-v4.19/arch/mips/fw/lib/
Dcmdline.c39 strlcat(arcs_cmdline, fw_argv(i), COMMAND_LINE_SIZE); in fw_init_cmdline()
41 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in fw_init_cmdline()
/Linux-v4.19/arch/mips/alchemy/common/
Dprom.c50 strlcat(arcs_cmdline, prom_argv[i], COMMAND_LINE_SIZE); in prom_init_cmdline()
52 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init_cmdline()
/Linux-v4.19/arch/mips/lasat/
Dprom.c105 strncpy(arcs_cmdline, argv[0], COMMAND_LINE_SIZE-1); in prom_init()
106 arcs_cmdline[COMMAND_LINE_SIZE-1] = '\0'; in prom_init()
/Linux-v4.19/arch/arm/boot/compressed/
Datags_to_fdt.c72 char cmdline[COMMAND_LINE_SIZE]; in merge_fdt_bootargs()
80 if (len < COMMAND_LINE_SIZE) { in merge_fdt_bootargs()
90 if (ptr - cmdline + len + 2 < COMMAND_LINE_SIZE) { in merge_fdt_bootargs()
/Linux-v4.19/arch/mips/ar7/
Dprom.c59 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in ar7_init_cmdline()
61 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in ar7_init_cmdline()
241 strlcat(arcs_cmdline, console_string, COMMAND_LINE_SIZE); in console_config()
/Linux-v4.19/arch/x86/lib/
Dcmdline.c207 return __cmdline_find_option_bool(cmdline, COMMAND_LINE_SIZE, option); in cmdline_find_option_bool()
213 return __cmdline_find_option(cmdline, COMMAND_LINE_SIZE, option, in cmdline_find_option()
/Linux-v4.19/arch/mips/pic32/pic32mzda/
Dinit.c68 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup()
78 unsigned int count = COMMAND_LINE_SIZE - 1; in pic32_init_cmdline()
/Linux-v4.19/arch/mips/rb532/
Dprom.c72 static char cmd_line[COMMAND_LINE_SIZE] __initdata; in prom_setup_cmdline()
117 cmd_line[COMMAND_LINE_SIZE - 1] = '\0'; in prom_setup_cmdline()
/Linux-v4.19/arch/x86/kernel/
Dsetup.c223 static char __initdata command_line[COMMAND_LINE_SIZE];
225 static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE;
939 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
943 strlcat(builtin_cmdline, " ", COMMAND_LINE_SIZE); in setup_arch()
944 strlcat(builtin_cmdline, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
945 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
950 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/Linux-v4.19/arch/um/kernel/
Dum_arch.c32 static char __initdata command_line[COMMAND_LINE_SIZE] = { 0 };
36 if (strlen(command_line) + strlen(arg) + 1 > COMMAND_LINE_SIZE) { in add_arg()
350 strlcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
/Linux-v4.19/arch/m68k/include/uapi/asm/
Dsetup.h15 #define COMMAND_LINE_SIZE 256 macro
/Linux-v4.19/arch/mips/include/uapi/asm/
Dsetup.h5 #define COMMAND_LINE_SIZE 4096 macro

123