Home
last modified time | relevance | path

Searched refs:command_line (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/arch/m68k/kernel/
Dsetup_no.c49 char __initdata command_line[COMMAND_LINE_SIZE]; variable
90 config_BSP(&command_line[0], sizeof(command_line)); in setup_arch()
93 strscpy(&command_line[0], CONFIG_BOOTPARAM_STRING, sizeof(command_line)); in setup_arch()
96 process_uboot_commandline(&command_line[0], sizeof(command_line)); in setup_arch()
148 *cmdline_p = &command_line[0]; in setup_arch()
149 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
/linux-6.6.21/arch/sh/kernel/
Dsetup.c82 static char __initdata command_line[COMMAND_LINE_SIZE] = { 0, }; variable
308 strscpy(command_line, CONFIG_CMDLINE, sizeof(command_line)); in setup_arch()
310 strscpy(command_line, COMMAND_LINE, sizeof(command_line)); in setup_arch()
312 strlcat(command_line, " ", sizeof(command_line)); in setup_arch()
313 strlcat(command_line, CONFIG_CMDLINE, sizeof(command_line)); in setup_arch()
318 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
319 *cmdline_p = command_line; in setup_arch()
/linux-6.6.21/arch/um/kernel/
Dum_arch.c40 static char __initdata command_line[COMMAND_LINE_SIZE] = { 0 }; variable
44 if (strlen(command_line) + strlen(arg) + 1 > COMMAND_LINE_SIZE) { in add_arg()
48 if (strlen(command_line) > 0) in add_arg()
49 strcat(command_line, " "); in add_arg()
50 strcat(command_line, arg); in add_arg()
424 strscpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
425 *cmdline_p = command_line; in setup_arch()
/linux-6.6.21/arch/xtensa/kernel/
Dsetup.c77 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
145 strscpy(command_line, (char *)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline()
234 if (!command_line[0]) in early_init_devtree()
235 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in early_init_devtree()
270 if (!command_line[0]) in init_arch()
271 strscpy(command_line, default_command_line, COMMAND_LINE_SIZE); in init_arch()
298 *cmdline_p = command_line; in setup_arch()
/linux-6.6.21/init/
Dmain.c617 static void __init setup_command_line(char *command_line) in setup_command_line() argument
646 strcpy(static_command_line + xlen, command_line); in setup_command_line()
876 char *command_line; in start_kernel() local
897 setup_arch(&command_line); in start_kernel()
899 setup_command_line(command_line); in start_kernel()
922 random_init_early(command_line); in start_kernel()
1286 static void __init do_initcall_level(int level, char *command_line) in do_initcall_level() argument
1291 command_line, __start___param, in do_initcall_level()
1305 char *command_line; in do_initcalls() local
1307 command_line = kzalloc(len, GFP_KERNEL); in do_initcalls()
[all …]
/linux-6.6.21/drivers/acpi/acpica/
Ddbhistry.c43 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()
Ddbinput.c703 char *command_line; in acpi_db_command_dispatch() local
863 command_line = acpi_db_get_from_history(acpi_gbl_db_args[1]); in acpi_db_command_dispatch()
864 if (!command_line) { in acpi_db_command_dispatch()
868 status = acpi_db_command_dispatch(command_line, walk_state, op); in acpi_db_command_dispatch()
873 command_line = acpi_db_get_from_history(NULL); in acpi_db_command_dispatch()
874 if (!command_line) { in acpi_db_command_dispatch()
878 status = acpi_db_command_dispatch(command_line, walk_state, op); in acpi_db_command_dispatch()
Dacdebug.h230 void acpi_db_add_to_history(char *command_line);
/linux-6.6.21/arch/s390/boot/
Dipl_parm.c18 .command_line = "root=/dev/ram0 ro",
188 parmarea.command_line[COMMAND_LINE_SIZE - 1] = 0; in setup_boot_command_line()
190 if (has_ebcdic_char(parmarea.command_line)) in setup_boot_command_line()
191 EBCASC(parmarea.command_line, COMMAND_LINE_SIZE); in setup_boot_command_line()
193 strcpy(early_command_line, strim(parmarea.command_line)); in setup_boot_command_line()
/linux-6.6.21/drivers/misc/lkdtm/
Dcore.c366 char *command_line; in lkdtm_check_bool_cmdline() local
372 command_line = kstrdup(saved_command_line, GFP_KERNEL); in lkdtm_check_bool_cmdline()
373 if (!command_line) in lkdtm_check_bool_cmdline()
376 parse_args("Setting sysctl args", command_line, in lkdtm_check_bool_cmdline()
379 kfree(command_line); in lkdtm_check_bool_cmdline()
/linux-6.6.21/tools/perf/util/scripting-engines/
Dtrace-event-perl.c487 const char **command_line; in perl_start_script() local
492 command_line = malloc((argc + 2) * sizeof(const char *)); in perl_start_script()
493 command_line[0] = ""; in perl_start_script()
494 command_line[1] = script; in perl_start_script()
496 command_line[i] = argv[i - 2]; in perl_start_script()
501 if (perl_parse(my_perl, xs_init, argc + 2, (char **)command_line, in perl_start_script()
519 free(command_line); in perl_start_script()
523 free(command_line); in perl_start_script()
Dtrace-event-python.c1883 static void _free_command_line(const char **command_line, int num) in _free_command_line() argument
1885 free(command_line); in _free_command_line()
1888 static void _free_command_line(wchar_t **command_line, int num) in _free_command_line() argument
1892 PyMem_RawFree(command_line[i]); in _free_command_line()
1893 free(command_line); in _free_command_line()
1906 const char **command_line; in python_start_script() local
1908 wchar_t **command_line; in python_start_script() local
1920 command_line = malloc((argc + 1) * sizeof(const char *)); in python_start_script()
1921 command_line[0] = script; in python_start_script()
1923 command_line[i] = argv[i - 1]; in python_start_script()
[all …]
/linux-6.6.21/arch/parisc/kernel/
Dsetup.c40 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
47 *cmdline_p = command_line; in setup_cmdline()
79 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_cmdline()
/linux-6.6.21/arch/alpha/kernel/
Dsetup.c132 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
446 char *args = command_line; in setup_arch()
493 strscpy(command_line, "root=/dev/fd0 load_ramdisk=1", sizeof(command_line)); in setup_arch()
495 strscpy(command_line, COMMAND_LINE, sizeof(command_line)); in setup_arch()
497 strcpy(boot_command_line, command_line); in setup_arch()
498 *cmdline_p = command_line; in setup_arch()
539 strcpy(command_line, boot_command_line); in setup_arch()
620 printk("Command line: %s\n", command_line); in setup_arch()
/linux-6.6.21/arch/ia64/include/uapi/asm/
Dsetup.h8 __u64 command_line; /* physical address of command line arguments */ member
/linux-6.6.21/arch/parisc/boot/compressed/
Dmisc.c282 unsigned int command_line, in decompress_kernel() argument
345 printf("commandline = %x\n", command_line); in decompress_kernel()
/linux-6.6.21/arch/x86/kernel/
Dhead64.c448 char * command_line; in copy_bootdata() local
461 command_line = __va(cmd_line_ptr); in copy_bootdata()
462 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in copy_bootdata()
Dsetup.c164 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
975 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
976 *cmdline_p = command_line; in setup_arch()
/linux-6.6.21/arch/mips/kernel/
Dsetup.c70 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
644 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in arch_mem_init()
645 *cmdline_p = command_line; in arch_mem_init()
/linux-6.6.21/include/linux/
Drandom.h118 void __init random_init_early(const char *command_line);
/linux-6.6.21/arch/s390/include/asm/
Dsetup.h63 char command_line[COMMAND_LINE_SIZE]; /* 0x10480 */ member
/linux-6.6.21/arch/s390/kernel/
Dmachine_kexec_file.c252 minsize = PARMAREA + offsetof(struct parmarea, command_line); in kexec_file_add_components()
268 memcpy(data.parm->command_line, image->cmdline_buf, in kexec_file_add_components()
/linux-6.6.21/arch/ia64/kernel/
Dsetup.c374 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->command_line); in reserve_memory()
376 + strlen(__va(ia64_boot_param->command_line)) + 1); in reserve_memory()
554 *cmdline_p = __va(ia64_boot_param->command_line); in setup_arch()
/linux-6.6.21/fs/proc/
Dproc_sysctl.c1704 char *command_line; in do_sysctl_args() local
1707 command_line = kstrdup(saved_command_line, GFP_KERNEL); in do_sysctl_args()
1708 if (!command_line) in do_sysctl_args()
1711 parse_args("Setting sysctl args", command_line, in do_sysctl_args()
1717 kfree(command_line); in do_sysctl_args()
/linux-6.6.21/drivers/char/
Drandom.c841 void __init random_init_early(const char *command_line) in random_init_early() argument
869 _mix_pool_bytes(command_line, strlen(command_line)); in random_init_early()

12