/linux/arch/m68k/kernel/ |
A D | setup_no.c | 49 char __initdata command_line[COMMAND_LINE_SIZE]; variable 92 config_BSP(&command_line[0], sizeof(command_line)); in setup_arch() 95 strncpy(&command_line[0], CONFIG_BOOTPARAM_STRING, sizeof(command_line)); in setup_arch() 96 command_line[sizeof(command_line) - 1] = 0; in setup_arch() 99 process_uboot_commandline(&command_line[0], sizeof(command_line)); in setup_arch() 151 *cmdline_p = &command_line[0]; in setup_arch() 152 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
|
/linux/arch/sh/kernel/ |
A D | setup.c | 81 static char __initdata command_line[COMMAND_LINE_SIZE] = { 0, }; variable 307 strlcpy(command_line, CONFIG_CMDLINE, sizeof(command_line)); in setup_arch() 309 strlcpy(command_line, COMMAND_LINE, sizeof(command_line)); in setup_arch() 311 strlcat(command_line, " ", sizeof(command_line)); in setup_arch() 312 strlcat(command_line, CONFIG_CMDLINE, sizeof(command_line)); in setup_arch() 317 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch() 318 *cmdline_p = command_line; in setup_arch()
|
/linux/arch/um/kernel/ |
A D | um_arch.c | 36 static char __initdata command_line[COMMAND_LINE_SIZE] = { 0 }; variable 40 if (strlen(command_line) + strlen(arg) + 1 > COMMAND_LINE_SIZE) { in add_arg() 44 if (strlen(command_line) > 0) in add_arg() 45 strcat(command_line, " "); in add_arg() 46 strcat(command_line, arg); in add_arg() 413 strlcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch() 414 *cmdline_p = command_line; in setup_arch()
|
/linux/init/ |
A D | main.c | 926 char *command_line; in start_kernel() local 947 setup_arch(&command_line); in start_kernel() 949 setup_command_line(command_line); in start_kernel() 1045 add_device_randomness(command_line, strlen(command_line)); in start_kernel() 1363 command_line, __start___param, in do_initcall_level() 1377 char *command_line; in do_initcalls() local 1379 command_line = kzalloc(len, GFP_KERNEL); in do_initcalls() 1380 if (!command_line) in do_initcalls() 1385 strcpy(command_line, saved_command_line); in do_initcalls() 1386 do_initcall_level(level, command_line); in do_initcalls() [all …]
|
/linux/arch/xtensa/kernel/ |
A D | setup.c | 75 static char __initdata command_line[COMMAND_LINE_SIZE]; variable 143 strlcpy(command_line, (char *)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline() 232 if (!command_line[0]) in early_init_devtree() 233 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in early_init_devtree() 262 if (!command_line[0]) in init_arch() 263 strlcpy(command_line, default_command_line, COMMAND_LINE_SIZE); in init_arch() 290 *cmdline_p = command_line; in setup_arch()
|
/linux/arch/h8300/kernel/ |
A D | setup.c | 55 char __initdata command_line[COMMAND_LINE_SIZE]; variable 64 strcpy(command_line, bootargs); in h8300_fdt_init() 103 if (*command_line) in setup_arch() 104 strcpy(boot_command_line, command_line); in setup_arch()
|
A D | head_rom.S | 56 mov.l #command_line,er3
|
/linux/drivers/acpi/acpica/ |
A D | dbinput.c | 700 char *command_line; in acpi_db_command_dispatch() local 860 command_line = acpi_db_get_from_history(acpi_gbl_db_args[1]); in acpi_db_command_dispatch() 861 if (!command_line) { in acpi_db_command_dispatch() 865 status = acpi_db_command_dispatch(command_line, walk_state, op); in acpi_db_command_dispatch() 870 command_line = acpi_db_get_from_history(NULL); in acpi_db_command_dispatch() 871 if (!command_line) { in acpi_db_command_dispatch() 875 status = acpi_db_command_dispatch(command_line, walk_state, op); in acpi_db_command_dispatch()
|
A D | dbhistry.c | 43 void acpi_db_add_to_history(char *command_line) in acpi_db_add_to_history() argument 50 cmd_len = (u16)strlen(command_line); in acpi_db_add_to_history() 74 command_line); in acpi_db_add_to_history()
|
A D | acdebug.h | 230 void acpi_db_add_to_history(char *command_line);
|
/linux/arch/s390/boot/ |
A D | ipl_parm.c | 173 parmarea.command_line[COMMAND_LINE_SIZE - 1] = 0; in setup_boot_command_line() 175 if (has_ebcdic_char(parmarea.command_line)) in setup_boot_command_line() 176 EBCASC(parmarea.command_line, COMMAND_LINE_SIZE); in setup_boot_command_line() 178 strcpy(early_command_line, strim(parmarea.command_line)); in setup_boot_command_line()
|
/linux/tools/perf/util/scripting-engines/ |
A D | trace-event-perl.c | 479 const char **command_line; in perl_start_script() local 484 command_line = malloc((argc + 2) * sizeof(const char *)); in perl_start_script() 485 command_line[0] = ""; in perl_start_script() 486 command_line[1] = script; in perl_start_script() 488 command_line[i] = argv[i - 2]; in perl_start_script() 493 if (perl_parse(my_perl, xs_init, argc + 2, (char **)command_line, in perl_start_script() 511 free(command_line); in perl_start_script() 515 free(command_line); in perl_start_script()
|
A D | trace-event-python.c | 1799 free(command_line); in _free_command_line() 1806 PyMem_RawFree(command_line[i]); in _free_command_line() 1807 free(command_line); in _free_command_line() 1820 const char **command_line; in python_start_script() local 1822 wchar_t **command_line; in python_start_script() local 1835 command_line[0] = script; in python_start_script() 1837 command_line[i] = argv[i - 1]; in python_start_script() 1849 PySys_SetArgv(argc + 1, (char **)command_line); in python_start_script() 1851 PySys_SetArgv(argc + 1, command_line); in python_start_script() 1882 _free_command_line(command_line, argc + 1); in python_start_script() [all …]
|
/linux/arch/alpha/kernel/ |
A D | setup.c | 132 static char __initdata command_line[COMMAND_LINE_SIZE]; variable 447 char *args = command_line; in setup_arch() 494 strlcpy(command_line, "root=/dev/fd0 load_ramdisk=1", sizeof command_line); in setup_arch() 496 strlcpy(command_line, COMMAND_LINE, sizeof command_line); in setup_arch() 498 strcpy(boot_command_line, command_line); in setup_arch() 499 *cmdline_p = command_line; in setup_arch() 540 strcpy(command_line, boot_command_line); in setup_arch() 621 printk("Command line: %s\n", command_line); in setup_arch()
|
/linux/arch/parisc/kernel/ |
A D | setup.c | 41 static char __initdata command_line[COMMAND_LINE_SIZE]; variable 71 strcpy(command_line, boot_command_line); in setup_cmdline() 72 *cmdline_p = command_line; in setup_cmdline()
|
/linux/drivers/misc/lkdtm/ |
A D | core.c | 437 char *command_line; in lkdtm_check_bool_cmdline() local 443 command_line = kstrdup(saved_command_line, GFP_KERNEL); in lkdtm_check_bool_cmdline() 444 if (!command_line) in lkdtm_check_bool_cmdline() 447 parse_args("Setting sysctl args", command_line, in lkdtm_check_bool_cmdline() 450 kfree(command_line); in lkdtm_check_bool_cmdline()
|
/linux/arch/x86/kernel/ |
A D | head64.c | 439 char * command_line; in copy_bootdata() local 452 command_line = __va(cmd_line_ptr); in copy_bootdata() 453 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in copy_bootdata()
|
A D | setup.c | 166 static char __initdata command_line[COMMAND_LINE_SIZE]; variable 876 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch() 877 *cmdline_p = command_line; in setup_arch()
|
/linux/arch/ia64/include/uapi/asm/ |
A D | setup.h | 8 __u64 command_line; /* physical address of command line arguments */ member
|
/linux/arch/parisc/boot/compressed/ |
A D | misc.c | 282 unsigned int command_line, in decompress_kernel() argument 345 printf("commandline = %x\n", command_line); in decompress_kernel()
|
/linux/arch/mips/kernel/ |
A D | setup.c | 66 static char __initdata command_line[COMMAND_LINE_SIZE]; variable 631 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in arch_mem_init() 632 *cmdline_p = command_line; in arch_mem_init()
|
/linux/arch/s390/kernel/ |
A D | machine_kexec_file.c | 243 minsize = PARMAREA + offsetof(struct parmarea, command_line); in kexec_file_add_components() 259 memcpy(data.parm->command_line, image->cmdline_buf, in kexec_file_add_components()
|
/linux/arch/ia64/kernel/ |
A D | setup.c | 377 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->command_line); in reserve_memory() 379 + strlen(__va(ia64_boot_param->command_line)) + 1); in reserve_memory() 557 *cmdline_p = __va(ia64_boot_param->command_line); in setup_arch()
|
/linux/arch/s390/include/asm/ |
A D | setup.h | 62 char command_line[COMMAND_LINE_SIZE]; /* 0x10480 */ member
|
/linux/fs/proc/ |
A D | proc_sysctl.c | 1849 char *command_line; in do_sysctl_args() local 1852 command_line = kstrdup(saved_command_line, GFP_KERNEL); in do_sysctl_args() 1853 if (!command_line) in do_sysctl_args() 1856 parse_args("Setting sysctl args", command_line, in do_sysctl_args() 1862 kfree(command_line); in do_sysctl_args()
|