/Linux-v4.19/arch/hexagon/kernel/ |
D | setup.c | 37 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/ |
D | setup.c | 113 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/ |
D | setup.c | 68 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/ |
D | setup.h | 10 # define COMMAND_LINE_SIZE 2048 macro 12 # define COMMAND_LINE_SIZE 256 macro
|
/Linux-v4.19/arch/arm/kernel/ |
D | atags_parse.c | 35 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/ |
D | setup.c | 76 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/ |
D | setup.c | 52 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/ |
D | setup.h | 16 #define COMMAND_LINE_SIZE 2048 macro 18 #define COMMAND_LINE_SIZE 256 macro
|
/Linux-v4.19/arch/m68k/kernel/ |
D | setup_no.c | 51 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/ |
D | init.c | 69 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/ |
D | setup.c | 81 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/ |
D | setup.c | 63 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/ |
D | setup.c | 110 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/ |
D | cmdline.c | 39 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/ |
D | prom.c | 50 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/ |
D | prom.c | 105 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/ |
D | atags_to_fdt.c | 72 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/ |
D | prom.c | 59 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/ |
D | cmdline.c | 207 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/ |
D | init.c | 68 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/ |
D | prom.c | 72 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/ |
D | setup.c | 223 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/ |
D | um_arch.c | 32 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/ |
D | setup.h | 15 #define COMMAND_LINE_SIZE 256 macro
|
/Linux-v4.19/arch/mips/include/uapi/asm/ |
D | setup.h | 5 #define COMMAND_LINE_SIZE 4096 macro
|