Home
last modified time | relevance | path

Searched refs:optstr (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
Doption.c28 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 …]
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_adjust_tail_user.c90 const char *optstr = "i:T:P:SNFh"; in main() local
101 for (i = 0; i < strlen(optstr); i++) in main()
102 if (optstr[i] != 'h' && 'a' <= optstr[i] && optstr[i] <= 'z') in main()
103 opt_flags[(unsigned char)optstr[i]] = 1; in main()
105 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
138 for (i = 0; i < strlen(optstr); i++) { in main()
139 if (opt_flags[(unsigned int)optstr[i]]) { in main()
140 fprintf(stderr, "Missing argument -%c\n", optstr[i]); in main()
Dxdp_tx_iptunnel_user.c160 const char *optstr = "i:a:p:s:d:m:T:P:FSNh"; in main() local
175 for (i = 0; i < strlen(optstr); i++) in main()
176 if (optstr[i] != 'h' && 'a' <= optstr[i] && optstr[i] <= 'z') in main()
177 opt_flags[(unsigned char)optstr[i]] = 1; in main()
179 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
249 for (i = 0; i < strlen(optstr); i++) { in main()
250 if (opt_flags[(unsigned int)optstr[i]]) { in main()
251 fprintf(stderr, "Missing argument -%c\n", optstr[i]); in main()
Dxdp1_user.c88 const char *optstr = "FSN"; in main() local
95 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
Dxdp_sample_pkts_user.c117 const char *optstr = "FS"; in main() local
124 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
Dxdp_redirect_map_user.c107 const char *optstr = "FSN"; in main() local
113 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
Dxdp_redirect_user.c108 const char *optstr = "FSN"; in main() local
114 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
Dxdp_router_ipv4_user.c634 const char *optstr = "SF"; in main() local
647 while ((opt = getopt(ac, argv, optstr)) != -1) { in main()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/core/
Doption.h6 const char *nvkm_stropt(const char *optstr, const char *opt, int *len);
7 bool nvkm_boolopt(const char *optstr, const char *opt, bool value);
8 long nvkm_longopt(const char *optstr, const char *opt, long value);
9 int nvkm_dbgopt(const char *optstr, const char *sub);
/kernel/linux/linux-5.10/arch/x86/boot/
Dearly_serial_console.c119 char optstr[64], *options; in parse_console_uart8250() local
127 if (cmdline_find_option("console", optstr, sizeof(optstr)) <= 0) in parse_console_uart8250()
130 options = optstr; in parse_console_uart8250()
/kernel/linux/linux-5.10/tools/perf/ui/browsers/
Dhists.c2497 struct popup_action *act, char **optstr, in add_annotate_opt() argument
2510 if (asprintf(optstr, "Annotate %s", ms->sym->name) < 0) in add_annotate_opt()
2554 char **optstr, struct thread *thread) in add_thread_opt() argument
2563 ret = asprintf(optstr, "Zoom %s %s(%d) thread", in add_thread_opt()
2568 ret = asprintf(optstr, "Zoom %s %s thread", in add_thread_opt()
2611 char **optstr, struct map *map) in add_dso_opt() argument
2616 if (asprintf(optstr, "Zoom %s %s DSO (use the 'k' hotkey to zoom directly into the kernel)", in add_dso_opt()
2632 …int add_callchain_toggle_opt(struct hist_browser *browser, struct popup_action *act, char **optstr) in add_callchain_toggle_opt() argument
2639 …if (asprintf(optstr, "%s [%s] callchain (one level, same as '+' hotkey, use 'e'/'c' for the whole … in add_callchain_toggle_opt()
2658 struct popup_action *act, char **optstr, struct map *map) in add_map_opt() argument
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dxdping.c94 const char *optstr = "c:I:NsS"; in main() local
107 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Dfile.c131 const efi_char16_t *optstr, in handle_cmdline_files() argument
164 optstr, optstr_size, in handle_cmdline_files()
Defistub.h812 const efi_char16_t *optstr,
/kernel/linux/linux-5.10/tools/lib/subcmd/
Dparse-options.c930 const char *optstr, bool short_opt) in parse_options_usage() argument
949 if (opts->short_name == *optstr) { in parse_options_usage()
959 if (strstarts(opts->long_name, optstr)) in parse_options_usage()
961 if (strstarts("no-", optstr) && in parse_options_usage()
962 strstarts(opts->long_name, optstr + 3)) in parse_options_usage()
Dparse-options.h218 const char *optstr,