Home
last modified time | relevance | path

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

1234

/arch/hexagon/kernel/
Dsetup.c39 char cmd_line[COMMAND_LINE_SIZE];
40 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()
/arch/mips/bcm47xx/
Dprom.c103 static char buf[COMMAND_LINE_SIZE] __initdata; in prom_init_cmdline()
106 if (cfe_getenv("LINUX_CMDLINE", buf, COMMAND_LINE_SIZE) >= 0) { in prom_init_cmdline()
107 buf[COMMAND_LINE_SIZE - 1] = 0; in prom_init_cmdline()
115 if ((cfe_getenv("BOOT_CONSOLE", buf, COMMAND_LINE_SIZE) < 0) in prom_init_cmdline()
121 snprintf(arcs_cmdline, COMMAND_LINE_SIZE, "%s console=ttyS%c,115200", in prom_init_cmdline()
/arch/cris/kernel/
Dsetup.c33 char __initdata cris_command_line[COMMAND_LINE_SIZE] = { 0, };
152 strlcpy(cris_command_line, CONFIG_ETRAX_CMDLINE, COMMAND_LINE_SIZE); in setup_arch()
153 cris_command_line[COMMAND_LINE_SIZE - 1] = '\0'; in setup_arch()
158 memcpy(boot_command_line, cris_command_line, COMMAND_LINE_SIZE); in setup_arch()
159 boot_command_line[COMMAND_LINE_SIZE - 1] = '\0'; in setup_arch()
/arch/c6x/include/asm/
Dsetup.h14 #define COMMAND_LINE_SIZE 1024 macro
17 extern char c6x_command_line[COMMAND_LINE_SIZE];
/arch/sparc/include/asm/
Dsetup.h9 # define COMMAND_LINE_SIZE 2048 macro
11 # define COMMAND_LINE_SIZE 256 macro
/arch/microblaze/include/asm/
Dsetup.h14 #define COMMAND_LINE_SIZE 256 macro
21 extern char cmd_line[COMMAND_LINE_SIZE];
/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()
/arch/xtensa/kernel/
Dsetup.c74 static char __initdata command_line[COMMAND_LINE_SIZE];
77 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
155 strncpy(command_line, (char*)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline()
156 command_line[COMMAND_LINE_SIZE - 1] = '\0'; in parse_tag_cmdline()
255 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
256 boot_command_line[COMMAND_LINE_SIZE-1] = '\0'; in setup_arch()
/arch/openrisc/kernel/
Dprom.c50 extern char cmd_line[COMMAND_LINE_SIZE];
82 strlcpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE); in early_init_devtree()
/arch/mips/kernel/
Dsetup.c62 static char __initdata command_line[COMMAND_LINE_SIZE];
63 char __initdata arcs_cmdline[COMMAND_LINE_SIZE];
66 static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE;
502 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
505 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in arch_mem_init()
506 strlcat(arcs_cmdline, builtin_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
508 strlcpy(boot_command_line, arcs_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
511 strlcpy(boot_command_line, arcs_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
513 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in arch_mem_init()
/arch/powerpc/boot/
Dmain.c142 static char cmdline[COMMAND_LINE_SIZE]
148 getprop(chosen, "bootargs", cmdline, COMMAND_LINE_SIZE-1); in prep_cmdline()
153 console_ops.edit_cmdline(cmdline, COMMAND_LINE_SIZE); in prep_cmdline()
177 min(loader_info.cmdline_len, COMMAND_LINE_SIZE-1)); in start()
/arch/mips/powertv/
Dinit.c120 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
121 strlcat(arcs_cmdline, prom_argv, COMMAND_LINE_SIZE); in prom_init()
/arch/mips/cobalt/
Dsetup.c109 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
111 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/arch/mips/alchemy/common/
Dprom.c51 strlcat(arcs_cmdline, prom_argv[i], COMMAND_LINE_SIZE); in prom_init_cmdline()
53 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init_cmdline()
/arch/cris/include/asm/
Dsetup.h4 #define COMMAND_LINE_SIZE 256 macro
/arch/mn10300/include/asm/
Dparam.h16 #define COMMAND_LINE_SIZE 256 macro
/arch/parisc/include/asm/
Dsetup.h4 #define COMMAND_LINE_SIZE 1024 macro
/arch/um/include/asm/
Dsetup.h8 #define COMMAND_LINE_SIZE 4096 macro
/arch/h8300/include/asm/
Dsetup.h4 #define COMMAND_LINE_SIZE 512 macro
/arch/xtensa/include/asm/
Dsetup.h14 #define COMMAND_LINE_SIZE 256 macro
/arch/frv/include/asm/
Dsetup.h15 #define COMMAND_LINE_SIZE 512 macro
/arch/mips/lasat/
Dprom.c103 strncpy(arcs_cmdline, argv[0], COMMAND_LINE_SIZE-1); in prom_init()
104 arcs_cmdline[COMMAND_LINE_SIZE-1] = '\0'; in prom_init()
/arch/h8300/kernel/
Dsetup.c55 char __initdata command_line[COMMAND_LINE_SIZE];
155 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
156 boot_command_line[COMMAND_LINE_SIZE-1] = 0; in setup_arch()
/arch/unicore32/kernel/
Dsetup.c59 static char __initdata cmd_line[COMMAND_LINE_SIZE];
61 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
246 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_arch()
249 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/arch/mips/include/asm/
Dsetup.h4 #define COMMAND_LINE_SIZE 4096 macro

1234