Home
last modified time | relevance | path

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

1234

/kernel/liteos_a/fs/rootfs/
Dlos_bootargs.c55 g_cmdLine = (CHAR *)malloc(COMMAND_LINE_SIZE); in LOS_GetCmdLine()
69 COMMAND_LINE_SIZE / EMMC_SEC_SIZE, TRUE); in LOS_GetCmdLine()
82 ret = mtd->read(mtd, COMMAND_LINE_ADDR, COMMAND_LINE_SIZE, g_cmdLine); in LOS_GetCmdLine()
83 if (ret == COMMAND_LINE_SIZE) { in LOS_GetCmdLine()
95 ret = mtd->read(mtd, COMMAND_LINE_ADDR, COMMAND_LINE_SIZE, g_cmdLine); in LOS_GetCmdLine()
96 if (ret == COMMAND_LINE_SIZE) { in LOS_GetCmdLine()
108 ret = mtd->read(mtd, CFIFLASH_BOOTARGS_ADDR, COMMAND_LINE_SIZE, g_cmdLine); in LOS_GetCmdLine()
109 if (ret == COMMAND_LINE_SIZE) { in LOS_GetCmdLine()
145 for (i = 0; i < COMMAND_LINE_SIZE; i += len + 1) { in GetBootargs()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dsetup.c113 char cmdline_passed[COMMAND_LINE_SIZE] __maybe_unused = { 0, }; in nios2_boot_init()
126 strlcpy(cmdline_passed, (char *)r7, COMMAND_LINE_SIZE); in nios2_boot_init()
134 strlcpy(boot_command_line, cmdline_passed, COMMAND_LINE_SIZE); in nios2_boot_init()
137 strlcpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in nios2_boot_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
Dsetup.h10 # define COMMAND_LINE_SIZE 2048 macro
12 # define COMMAND_LINE_SIZE 256 macro
/kernel/linux/linux-5.10/arch/mips/kernel/
Dsetup.c67 static char __initdata command_line[COMMAND_LINE_SIZE];
68 char __initdata arcs_cmdline[COMMAND_LINE_SIZE];
516 strlcat(boot_command_line, " ", COMMAND_LINE_SIZE); in bootcmdline_append()
536 bootcmdline_append(p, min(l, COMMAND_LINE_SIZE)); in bootcmdline_scan_chosen()
555 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
567 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
589 bootcmdline_append(arcs_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
597 bootcmdline_append(builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
629 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in arch_mem_init()
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dsetup_no.c49 char __initdata command_line[COMMAND_LINE_SIZE];
146 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
147 boot_command_line[COMMAND_LINE_SIZE-1] = 0; in setup_arch()
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
Dsetup.c59 static void *argv[COMMAND_LINE_SIZE / sizeof(void *)] __initdata; in platform_setup()
60 static char cmdline[COMMAND_LINE_SIZE] __initdata; in platform_setup()
/kernel/linux/linux-5.10/arch/mips/vr41xx/common/
Dinit.c56 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
58 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/kernel/linux/linux-5.10/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;
142 strlcpy(command_line, (char *)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline()
232 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in early_init_devtree()
262 strlcpy(command_line, default_command_line, COMMAND_LINE_SIZE); in init_arch()
334 strlcpy(boot_command_line, *cmdline_p, COMMAND_LINE_SIZE); in setup_arch()
/kernel/linux/linux-5.10/arch/s390/boot/
Dipl_parm.c14 char __bootdata(early_command_line)[COMMAND_LINE_SIZE];
132 parm, COMMAND_LINE_SIZE - len - 1, &ipl_block); in append_ipl_block_parm()
137 parm, COMMAND_LINE_SIZE - len - 1, &ipl_block); in append_ipl_block_parm()
230 static char command_line_buf[COMMAND_LINE_SIZE];
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/kexec/
Dfile_load.c43 cmdline_ptr = kzalloc(COMMAND_LINE_SIZE, GFP_KERNEL); in setup_kdump_cmdline()
50 if (elfcorehdr_strlen + cmdline_len > COMMAND_LINE_SIZE) { in setup_kdump_cmdline()
58 cmdline_ptr[COMMAND_LINE_SIZE - 1] = '\0'; in setup_kdump_cmdline()
/kernel/linux/linux-5.10/arch/mips/pic32/pic32mzda/
Dinit.c60 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup()
70 unsigned int count = COMMAND_LINE_SIZE - 1; in pic32_init_cmdline()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/rb532/
Dprom.c57 static char cmd_line[COMMAND_LINE_SIZE] __initdata; in prom_setup_cmdline()
102 cmd_line[COMMAND_LINE_SIZE - 1] = '\0'; in prom_setup_cmdline()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsetup.c169 static char __initdata command_line[COMMAND_LINE_SIZE];
171 static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE;
894 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
898 strlcat(builtin_cmdline, " ", COMMAND_LINE_SIZE); in setup_arch()
899 strlcat(builtin_cmdline, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
900 strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
905 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/kernel/liteos_a/fs/patchfs/
Dlos_partition_utils.c119 cmdLine = (CHAR *)malloc(COMMAND_LINE_SIZE); in GetPartitionBootArgs()
131 cmdLineLen = mtd->read(mtd, COMMAND_LINE_ADDR, COMMAND_LINE_SIZE, cmdLine); in GetPartitionBootArgs()
132 if ((cmdLineLen != COMMAND_LINE_SIZE)) { in GetPartitionBootArgs()
/kernel/linux/linux-5.10/arch/um/kernel/
Dum_arch.c31 static char __initdata command_line[COMMAND_LINE_SIZE] = { 0 };
35 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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm64/asm/
Dsetup.h9 #define COMMAND_LINE_SIZE 2048 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm64/asm/
Dsetup.h22 #define COMMAND_LINE_SIZE 2048 macro

1234