Home
last modified time | relevance | path

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

1234

/linux-2.6.39/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()
/linux-2.6.39/arch/cris/kernel/
Dsetup.c32 char __initdata cris_command_line[COMMAND_LINE_SIZE] = { 0, };
151 strlcpy(cris_command_line, CONFIG_ETRAX_CMDLINE, COMMAND_LINE_SIZE); in setup_arch()
152 cris_command_line[COMMAND_LINE_SIZE - 1] = '\0'; in setup_arch()
157 memcpy(boot_command_line, cris_command_line, COMMAND_LINE_SIZE); in setup_arch()
158 boot_command_line[COMMAND_LINE_SIZE - 1] = '\0'; in setup_arch()
/linux-2.6.39/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;
468 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
471 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in arch_mem_init()
472 strlcat(arcs_cmdline, builtin_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
474 strlcpy(boot_command_line, arcs_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
477 strlcpy(boot_command_line, arcs_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
479 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in arch_mem_init()
/linux-2.6.39/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;
156 strncpy(command_line, (char*)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline()
157 command_line[COMMAND_LINE_SIZE - 1] = '\0'; in parse_tag_cmdline()
256 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
257 boot_command_line[COMMAND_LINE_SIZE-1] = '\0'; in setup_arch()
/linux-2.6.39/arch/sparc/include/asm/
Dsetup.h9 # define COMMAND_LINE_SIZE 2048 macro
11 # define COMMAND_LINE_SIZE 256 macro
/linux-2.6.39/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()
Dps3.c50 static char cmdline[COMMAND_LINE_SIZE]
56 getprop(chosen, "bootargs", cmdline, COMMAND_LINE_SIZE-1); in prep_cmdline()
/linux-2.6.39/arch/microblaze/include/asm/
Dsetup.h14 #define COMMAND_LINE_SIZE 256 macro
21 extern char cmd_line[COMMAND_LINE_SIZE];
/linux-2.6.39/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-2.6.39/arch/unicore32/kernel/
Dsetup.c58 static char __initdata cmd_line[COMMAND_LINE_SIZE];
60 static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
245 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_arch()
248 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/linux-2.6.39/arch/mips/powertv/
Dinit.c121 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
122 strlcat(arcs_cmdline, prom_argv, COMMAND_LINE_SIZE); in prom_init()
/linux-2.6.39/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()
/linux-2.6.39/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()
/linux-2.6.39/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()
/linux-2.6.39/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()
/linux-2.6.39/arch/mips/ar7/
Dprom.c58 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in ar7_init_cmdline()
60 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in ar7_init_cmdline()
240 strlcat(arcs_cmdline, console_string, COMMAND_LINE_SIZE); in console_config()
/linux-2.6.39/arch/m68k/kernel/
Dsetup_no.c46 char __initdata command_line[COMMAND_LINE_SIZE];
231 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
232 boot_command_line[COMMAND_LINE_SIZE-1] = 0; in setup_arch()
/linux-2.6.39/arch/m32r/kernel/
Dsetup.c67 static char __initdata command_line[COMMAND_LINE_SIZE];
98 memcpy(boot_command_line, COMMAND_LINE, COMMAND_LINE_SIZE); in parse_mem_cmdline()
99 boot_command_line[COMMAND_LINE_SIZE-1] = '\0'; in parse_mem_cmdline()
121 if (COMMAND_LINE_SIZE <= ++len) in parse_mem_cmdline()
/linux-2.6.39/arch/mips/rb532/
Dprom.c72 static char cmd_line[COMMAND_LINE_SIZE] __initdata; in prom_setup_cmdline()
118 cmd_line[COMMAND_LINE_SIZE - 1] = '\0'; in prom_setup_cmdline()
/linux-2.6.39/arch/x86/kernel/
Dsetup.c241 static char __initdata command_line[COMMAND_LINE_SIZE];
243 static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE;
792 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
796 strlcat(builtin_cmdline, " ", COMMAND_LINE_SIZE); in setup_arch()
797 strlcat(builtin_cmdline, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
798 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
803 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/linux-2.6.39/arch/microblaze/kernel/
Dsetup.c44 char cmd_line[COMMAND_LINE_SIZE];
131 strlcpy(cmd_line, cmdline, COMMAND_LINE_SIZE); in machine_early_init()
/linux-2.6.39/arch/um/kernel/
Dum_arch.c27 static char __initdata command_line[COMMAND_LINE_SIZE] = { 0 };
31 if (strlen(command_line) + strlen(arg) + 1 > COMMAND_LINE_SIZE) { in add_arg()
377 strlcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
/linux-2.6.39/arch/xtensa/include/asm/
Dsetup.h14 #define COMMAND_LINE_SIZE 256 macro
/linux-2.6.39/arch/parisc/include/asm/
Dsetup.h4 #define COMMAND_LINE_SIZE 1024 macro
/linux-2.6.39/include/asm-generic/
Dsetup.h4 #define COMMAND_LINE_SIZE 512 macro

1234