Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/core/
H A 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 …]
/OK3568_Linux_fs/kernel/samples/bpf/
H A 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()
H A 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()
H A Dxdp1_user.c88 const char *optstr = "FSN"; in main() local
95 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
H A Dxdp_sample_pkts_user.c117 const char *optstr = "FS"; in main() local
124 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
H A Dxdp_redirect_map_user.c107 const char *optstr = "FSN"; in main() local
113 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
H A Dxdp_redirect_user.c108 const char *optstr = "FSN"; in main() local
114 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
H A Dxdp_router_ipv4_user.c634 const char *optstr = "SF"; in main() local
647 while ((opt = getopt(ac, argv, optstr)) != -1) { in main()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvkm/core/
H A 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);
/OK3568_Linux_fs/kernel/arch/x86/boot/
H A 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()
/OK3568_Linux_fs/kernel/tools/perf/ui/browsers/
H A 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dxdping.c94 const char *optstr = "c:I:NsS"; in main() local
107 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
/OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/
H A Dfile.c131 const efi_char16_t *optstr, in handle_cmdline_files() argument
164 optstr, optstr_size, in handle_cmdline_files()
H A Defistub.h812 const efi_char16_t *optstr,
/OK3568_Linux_fs/kernel/tools/lib/subcmd/
H A 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()
H A Dparse-options.h218 const char *optstr,
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/dropbear/dropbear/
H A DCVE-2021-36369.patch103 + if (match_extendedopt(&optstr, "DisableTrivialAuth") == DROPBEAR_SUCCESS) {
104 + cli_opts.disable_trivial_auth = parse_flag_value(optstr);
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dquectel-mbim-proxy.c389 char *optstr = "d:vh"; in main() local
397 while ((opt = getopt_long(argc, argv, optstr, options, &optidx)) != -1) { in main()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-cleanup.patch646 - register char *string, *optstr;
647 + char *string, *optstr;
655 - if (distopt = getdistopt(optstr)) {
656 + if ((distopt = getdistopt(optstr))) {
1340 - register char *cp, *optstr;
1342 + char *cp, *optstr;
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...