Home
last modified time | relevance | path

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

12

/linux-6.1.9/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 strncpy(&command_line[0], CONFIG_BOOTPARAM_STRING, sizeof(command_line)); in setup_arch()
94 command_line[sizeof(command_line) - 1] = 0; in setup_arch()
97 process_uboot_commandline(&command_line[0], sizeof(command_line)); in setup_arch()
149 *cmdline_p = &command_line[0]; in setup_arch()
150 memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
/linux-6.1.9/arch/sh/kernel/
Dsetup.c81 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-6.1.9/arch/xtensa/kernel/
Dsetup.c75 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
143 strscpy(command_line, (char *)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline()
232 if (!command_line[0]) in early_init_devtree()
233 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in early_init_devtree()
262 if (!command_line[0]) in init_arch()
263 strscpy(command_line, default_command_line, COMMAND_LINE_SIZE); in init_arch()
290 *cmdline_p = command_line; in setup_arch()
/linux-6.1.9/arch/um/kernel/
Dum_arch.c39 static char __initdata command_line[COMMAND_LINE_SIZE] = { 0 }; variable
43 if (strlen(command_line) + strlen(arg) + 1 > COMMAND_LINE_SIZE) { in add_arg()
47 if (strlen(command_line) > 0) in add_arg()
48 strcat(command_line, " "); in add_arg()
49 strcat(command_line, arg); in add_arg()
419 strscpy(boot_command_line, command_line, COMMAND_LINE_SIZE); in setup_arch()
420 *cmdline_p = command_line; in setup_arch()
/linux-6.1.9/init/
Dmain.c618 static void __init setup_command_line(char *command_line) in setup_command_line() argument
647 strcpy(static_command_line + xlen, command_line); in setup_command_line()
938 char *command_line; in start_kernel() local
959 setup_arch(&command_line); in start_kernel()
961 setup_command_line(command_line); in start_kernel()
987 random_init_early(command_line); in start_kernel()
1364 static void __init do_initcall_level(int level, char *command_line) in do_initcall_level() argument
1369 command_line, __start___param, in do_initcall_level()
1383 char *command_line; in do_initcalls() local
1385 command_line = kzalloc(len, GFP_KERNEL); in do_initcalls()
[all …]
/linux-6.1.9/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.c700 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()
Dacdebug.h230 void acpi_db_add_to_history(char *command_line);
/linux-6.1.9/arch/s390/boot/
Dipl_parm.c18 .command_line = "root=/dev/ram0 ro",
180 parmarea.command_line[COMMAND_LINE_SIZE - 1] = 0; in setup_boot_command_line()
182 if (has_ebcdic_char(parmarea.command_line)) in setup_boot_command_line()
183 EBCASC(parmarea.command_line, COMMAND_LINE_SIZE); in setup_boot_command_line()
185 strcpy(early_command_line, strim(parmarea.command_line)); in setup_boot_command_line()
/linux-6.1.9/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.1.9/tools/perf/util/scripting-engines/
Dtrace-event-perl.c481 const char **command_line; in perl_start_script() local
486 command_line = malloc((argc + 2) * sizeof(const char *)); in perl_start_script()
487 command_line[0] = ""; in perl_start_script()
488 command_line[1] = script; in perl_start_script()
490 command_line[i] = argv[i - 2]; in perl_start_script()
495 if (perl_parse(my_perl, xs_init, argc + 2, (char **)command_line, in perl_start_script()
513 free(command_line); in perl_start_script()
517 free(command_line); in perl_start_script()
Dtrace-event-python.c1854 static void _free_command_line(const char **command_line, int num) in _free_command_line() argument
1856 free(command_line); in _free_command_line()
1859 static void _free_command_line(wchar_t **command_line, int num) in _free_command_line() argument
1863 PyMem_RawFree(command_line[i]); in _free_command_line()
1864 free(command_line); in _free_command_line()
1877 const char **command_line; in python_start_script() local
1879 wchar_t **command_line; in python_start_script() local
1891 command_line = malloc((argc + 1) * sizeof(const char *)); in python_start_script()
1892 command_line[0] = script; in python_start_script()
1894 command_line[i] = argv[i - 1]; in python_start_script()
[all …]
/linux-6.1.9/arch/alpha/kernel/
Dsetup.c132 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
447 char *args = command_line; in setup_arch()
494 strscpy(command_line, "root=/dev/fd0 load_ramdisk=1", sizeof(command_line)); in setup_arch()
496 strscpy(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-6.1.9/arch/parisc/kernel/
Dsetup.c41 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
86 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_cmdline()
87 *cmdline_p = command_line; in setup_cmdline()
/linux-6.1.9/arch/ia64/include/uapi/asm/
Dsetup.h8 __u64 command_line; /* physical address of command line arguments */ member
/linux-6.1.9/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.1.9/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.c169 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
985 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
986 *cmdline_p = command_line; in setup_arch()
/linux-6.1.9/arch/mips/kernel/
Dsetup.c68 static char __initdata command_line[COMMAND_LINE_SIZE]; variable
641 strscpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in arch_mem_init()
642 *cmdline_p = command_line; in arch_mem_init()
/linux-6.1.9/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.1.9/arch/s390/include/asm/
Dsetup.h62 char command_line[COMMAND_LINE_SIZE]; /* 0x10480 */ member
/linux-6.1.9/include/linux/
Drandom.h138 void __init random_init_early(const char *command_line);
/linux-6.1.9/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.1.9/fs/proc/
Dproc_sysctl.c1911 char *command_line; in do_sysctl_args() local
1914 command_line = kstrdup(saved_command_line, GFP_KERNEL); in do_sysctl_args()
1915 if (!command_line) in do_sysctl_args()
1918 parse_args("Setting sysctl args", command_line, in do_sysctl_args()
1924 kfree(command_line); in do_sysctl_args()
/linux-6.1.9/drivers/char/
Drandom.c821 void __init random_init_early(const char *command_line) in random_init_early() argument
849 _mix_pool_bytes(command_line, strlen(command_line)); in random_init_early()

12