Searched refs:cmdline (Results 1 – 8 of 8) sorted by relevance
/drivers/misc/mic/cosm/ |
D | cosm_sysfs.c | 190 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 …]
|
D | cosm_main.c | 306 kfree(cdev->cmdline); in cosm_driver_remove()
|
/drivers/firmware/ |
D | pcdp.c | 87 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/ |
D | fdt.c | 1091 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/ |
D | cmdlinepart.c | 84 static char *cmdline; variable 317 err = mtdpart_setup_real(cmdline); in parse_cmdline_partitions() 378 cmdline = s; in mtdpart_setup()
|
/drivers/firmware/efi/libstub/ |
D | efi-stub-helper.c | 361 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/ |
D | cosm_bus.h | 65 char *cmdline; member
|
/drivers/misc/mic/host/ |
D | mic_x100.c | 367 if (mdev->cosm_dev->cmdline) in mic_x100_load_command_line() 369 mdev->cosm_dev->cmdline); in mic_x100_load_command_line()
|