| /linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
| D | option.c | 28 nvkm_stropt(const char *optstr, const char *opt, int *arglen) in nvkm_stropt() argument 30 while (optstr && *optstr != '\0') { in nvkm_stropt() 31 int len = strcspn(optstr, ",="); in nvkm_stropt() 32 switch (optstr[len]) { in nvkm_stropt() 34 if (!strncasecmpz(optstr, opt, len)) { in nvkm_stropt() 35 optstr += len + 1; in nvkm_stropt() 36 *arglen = strcspn(optstr, ",="); in nvkm_stropt() 37 return *arglen ? optstr : NULL; in nvkm_stropt() 39 optstr++; in nvkm_stropt() 42 optstr++; in nvkm_stropt() [all …]
|
| /linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/ |
| D | option.h | 5 const char *nvkm_stropt(const char *optstr, const char *opt, int *len); 6 bool nvkm_boolopt(const char *optstr, const char *opt, bool value); 7 long nvkm_longopt(const char *optstr, const char *opt, long value); 8 int nvkm_dbgopt(const char *optstr, const char *sub);
|
| /linux-4.4.14/arch/x86/boot/ |
| D | early_serial_console.c | 114 char optstr[64], *options; in parse_console_uart8250() local 122 if (cmdline_find_option("console", optstr, sizeof optstr) <= 0) in parse_console_uart8250() 125 options = optstr; in parse_console_uart8250()
|
| /linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
| D | sn2_smp.c | 512 char optstr[64]; in sn2_ptc_proc_write() local 514 if (count == 0 || count > sizeof(optstr)) in sn2_ptc_proc_write() 516 if (copy_from_user(optstr, user, count)) in sn2_ptc_proc_write() 518 optstr[count - 1] = '\0'; in sn2_ptc_proc_write() 519 sn2_flush_opt = simple_strtoul(optstr, NULL, 0); in sn2_ptc_proc_write()
|
| /linux-4.4.14/tools/perf/ui/browsers/ |
| D | hists.c | 1480 struct popup_action *act, char **optstr, in add_annotate_opt() argument 1486 if (asprintf(optstr, "Annotate %s", sym->name) < 0) in add_annotate_opt() 1521 char **optstr, struct thread *thread) in add_thread_opt() argument 1526 if (asprintf(optstr, "Zoom %s %s(%d) thread", in add_thread_opt() 1564 char **optstr, struct map *map) in add_dso_opt() argument 1569 if (asprintf(optstr, "Zoom %s %s DSO", in add_dso_opt() 1589 struct popup_action *act, char **optstr, struct map *map) in add_map_opt() argument 1594 if (asprintf(optstr, "Browse map details") < 0) in add_map_opt() 1623 struct popup_action *act, char **optstr, in add_script_opt() argument 1627 if (asprintf(optstr, "Run scripts for samples of thread [%s]", in add_script_opt() [all …]
|
| /linux-4.4.14/tools/perf/util/ |
| D | parse-options.c | 793 const char *optstr, bool short_opt) in parse_options_usage() argument 812 if (opts->short_name == *optstr) { in parse_options_usage() 822 if (!prefixcmp(opts->long_name, optstr)) in parse_options_usage() 824 if (!prefixcmp("no-", optstr) && in parse_options_usage() 825 !prefixcmp(opts->long_name, optstr + 3)) in parse_options_usage()
|
| D | parse-options.h | 195 const char *optstr,
|
| /linux-4.4.14/arch/x86/platform/uv/ |
| D | tlb_uv.c | 1467 char optstr[64]; in ptc_proc_write() local 1470 if (count == 0 || count > sizeof(optstr)) in ptc_proc_write() 1472 if (copy_from_user(optstr, user, count)) in ptc_proc_write() 1474 optstr[count - 1] = '\0'; in ptc_proc_write() 1476 if (!strcmp(optstr, "on")) { in ptc_proc_write() 1479 } else if (!strcmp(optstr, "off")) { in ptc_proc_write() 1484 if (kstrtol(optstr, 10, &input_arg) < 0) { in ptc_proc_write() 1485 printk(KERN_DEBUG "%s is invalid\n", optstr); in ptc_proc_write()
|