Home
last modified time | relevance | path

Searched refs:cmdline (Results 1 – 8 of 8) sorted by relevance

/drivers/misc/mic/cosm/
Dcosm_sysfs.c190 char *cmdline; in cmdline_show() local
195 cmdline = cdev->cmdline; in cmdline_show()
197 if (cmdline) in cmdline_show()
198 return scnprintf(buf, PAGE_SIZE, "%s\n", cmdline); in cmdline_show()
212 kfree(cdev->cmdline); in cmdline_store()
214 cdev->cmdline = kmalloc(count + 1, GFP_KERNEL); in cmdline_store()
215 if (!cdev->cmdline) { in cmdline_store()
220 strncpy(cdev->cmdline, buf, count); in cmdline_store()
222 if (cdev->cmdline[count - 1] == '\n') in cmdline_store()
223 cdev->cmdline[count - 1] = '\0'; in cmdline_store()
[all …]
Dcosm_main.c306 kfree(cdev->cmdline); in cosm_driver_remove()
/drivers/firmware/
Dpcdp.c87 efi_setup_pcdp_console(char *cmdline) in efi_setup_pcdp_console() argument
101 if (strstr(cmdline, "console=hcdp")) { in efi_setup_pcdp_console()
104 } else if (strstr(cmdline, "console=")) { in efi_setup_pcdp_console()
/drivers/of/
Dfdt.c1091 char *cmdline = data; in early_init_dt_scan_chosen() local
1095 if (depth != 1 || !cmdline || in early_init_dt_scan_chosen()
1102 if (overwrite_incoming_cmdline || !cmdline[0]) in early_init_dt_scan_chosen()
1103 strlcpy(cmdline, config_cmdline, COMMAND_LINE_SIZE); in early_init_dt_scan_chosen()
1113 strlcat(cmdline, " ", COMMAND_LINE_SIZE); in early_init_dt_scan_chosen()
1114 cmdline_len = strlen(cmdline); in early_init_dt_scan_chosen()
1117 strncpy(cmdline + cmdline_len, p, copy_len); in early_init_dt_scan_chosen()
1118 cmdline[cmdline_len + copy_len] = '\0'; in early_init_dt_scan_chosen()
1120 strlcpy(cmdline, p, min((int)l, COMMAND_LINE_SIZE)); in early_init_dt_scan_chosen()
/drivers/mtd/
Dcmdlinepart.c84 static char *cmdline; variable
317 err = mtdpart_setup_real(cmdline); in parse_cmdline_partitions()
378 cmdline = s; in mtdpart_setup()
/drivers/firmware/efi/libstub/
Defi-stub-helper.c361 efi_status_t efi_parse_options(char const *cmdline) in efi_parse_options() argument
365 str = strstr(cmdline, "nokaslr"); in efi_parse_options()
366 if (str == cmdline || (str && str > cmdline && *(str - 1) == ' ')) in efi_parse_options()
373 str = strstr(cmdline, "efi="); in efi_parse_options()
/drivers/misc/mic/bus/
Dcosm_bus.h65 char *cmdline; member
/drivers/misc/mic/host/
Dmic_x100.c367 if (mdev->cosm_dev->cmdline) in mic_x100_load_command_line()
369 mdev->cosm_dev->cmdline); in mic_x100_load_command_line()