optstr            119 arch/x86/boot/early_serial_console.c 	char optstr[64], *options;
optstr            127 arch/x86/boot/early_serial_console.c 	if (cmdline_find_option("console", optstr, sizeof(optstr)) <= 0)
optstr            130 arch/x86/boot/early_serial_console.c 	options = optstr;
optstr           1501 arch/x86/platform/uv/tlb_uv.c 	char optstr[64];
optstr           1504 arch/x86/platform/uv/tlb_uv.c 	if (count == 0 || count > sizeof(optstr))
optstr           1506 arch/x86/platform/uv/tlb_uv.c 	if (copy_from_user(optstr, user, count))
optstr           1508 arch/x86/platform/uv/tlb_uv.c 	optstr[count - 1] = '\0';
optstr           1510 arch/x86/platform/uv/tlb_uv.c 	if (!strcmp(optstr, "on")) {
optstr           1513 arch/x86/platform/uv/tlb_uv.c 	} else if (!strcmp(optstr, "off")) {
optstr           1518 arch/x86/platform/uv/tlb_uv.c 	if (kstrtol(optstr, 10, &input_arg) < 0) {
optstr           1519 arch/x86/platform/uv/tlb_uv.c 		pr_debug("%s is invalid\n", optstr);
optstr              6 drivers/gpu/drm/nouveau/include/nvkm/core/option.h const char *nvkm_stropt(const char *optstr, const char *opt, int *len);
optstr              7 drivers/gpu/drm/nouveau/include/nvkm/core/option.h bool nvkm_boolopt(const char *optstr, const char *opt, bool value);
optstr              8 drivers/gpu/drm/nouveau/include/nvkm/core/option.h long nvkm_longopt(const char *optstr, const char *opt, long value);
optstr              9 drivers/gpu/drm/nouveau/include/nvkm/core/option.h int  nvkm_dbgopt(const char *optstr, const char *sub);
optstr             28 drivers/gpu/drm/nouveau/nvkm/core/option.c nvkm_stropt(const char *optstr, const char *opt, int *arglen)
optstr             30 drivers/gpu/drm/nouveau/nvkm/core/option.c 	while (optstr && *optstr != '\0') {
optstr             31 drivers/gpu/drm/nouveau/nvkm/core/option.c 		int len = strcspn(optstr, ",=");
optstr             32 drivers/gpu/drm/nouveau/nvkm/core/option.c 		switch (optstr[len]) {
optstr             34 drivers/gpu/drm/nouveau/nvkm/core/option.c 			if (!strncasecmpz(optstr, opt, len)) {
optstr             35 drivers/gpu/drm/nouveau/nvkm/core/option.c 				optstr += len + 1;
optstr             36 drivers/gpu/drm/nouveau/nvkm/core/option.c 				*arglen = strcspn(optstr, ",=");
optstr             37 drivers/gpu/drm/nouveau/nvkm/core/option.c 				return *arglen ? optstr : NULL;
optstr             39 drivers/gpu/drm/nouveau/nvkm/core/option.c 			optstr++;
optstr             42 drivers/gpu/drm/nouveau/nvkm/core/option.c 			optstr++;
optstr             47 drivers/gpu/drm/nouveau/nvkm/core/option.c 		optstr += len;
optstr             54 drivers/gpu/drm/nouveau/nvkm/core/option.c nvkm_boolopt(const char *optstr, const char *opt, bool value)
optstr             58 drivers/gpu/drm/nouveau/nvkm/core/option.c 	optstr = nvkm_stropt(optstr, opt, &arglen);
optstr             59 drivers/gpu/drm/nouveau/nvkm/core/option.c 	if (optstr) {
optstr             60 drivers/gpu/drm/nouveau/nvkm/core/option.c 		if (!strncasecmpz(optstr, "0", arglen) ||
optstr             61 drivers/gpu/drm/nouveau/nvkm/core/option.c 		    !strncasecmpz(optstr, "no", arglen) ||
optstr             62 drivers/gpu/drm/nouveau/nvkm/core/option.c 		    !strncasecmpz(optstr, "off", arglen) ||
optstr             63 drivers/gpu/drm/nouveau/nvkm/core/option.c 		    !strncasecmpz(optstr, "false", arglen))
optstr             66 drivers/gpu/drm/nouveau/nvkm/core/option.c 		if (!strncasecmpz(optstr, "1", arglen) ||
optstr             67 drivers/gpu/drm/nouveau/nvkm/core/option.c 		    !strncasecmpz(optstr, "yes", arglen) ||
optstr             68 drivers/gpu/drm/nouveau/nvkm/core/option.c 		    !strncasecmpz(optstr, "on", arglen) ||
optstr             69 drivers/gpu/drm/nouveau/nvkm/core/option.c 		    !strncasecmpz(optstr, "true", arglen))
optstr             77 drivers/gpu/drm/nouveau/nvkm/core/option.c nvkm_longopt(const char *optstr, const char *opt, long value)
optstr             83 drivers/gpu/drm/nouveau/nvkm/core/option.c 	optstr = nvkm_stropt(optstr, opt, &arglen);
optstr             84 drivers/gpu/drm/nouveau/nvkm/core/option.c 	if (optstr && (s = kstrndup(optstr, arglen, GFP_KERNEL))) {
optstr             95 drivers/gpu/drm/nouveau/nvkm/core/option.c nvkm_dbgopt(const char *optstr, const char *sub)
optstr             99 drivers/gpu/drm/nouveau/nvkm/core/option.c 	while (optstr) {
optstr            100 drivers/gpu/drm/nouveau/nvkm/core/option.c 		int len = strcspn(optstr, ",=");
optstr            101 drivers/gpu/drm/nouveau/nvkm/core/option.c 		switch (optstr[len]) {
optstr            103 drivers/gpu/drm/nouveau/nvkm/core/option.c 			if (strncasecmpz(optstr, sub, len))
optstr            105 drivers/gpu/drm/nouveau/nvkm/core/option.c 			optstr++;
optstr            109 drivers/gpu/drm/nouveau/nvkm/core/option.c 				if (!strncasecmpz(optstr, "fatal", len))
optstr            111 drivers/gpu/drm/nouveau/nvkm/core/option.c 				else if (!strncasecmpz(optstr, "error", len))
optstr            113 drivers/gpu/drm/nouveau/nvkm/core/option.c 				else if (!strncasecmpz(optstr, "warn", len))
optstr            115 drivers/gpu/drm/nouveau/nvkm/core/option.c 				else if (!strncasecmpz(optstr, "info", len))
optstr            117 drivers/gpu/drm/nouveau/nvkm/core/option.c 				else if (!strncasecmpz(optstr, "debug", len))
optstr            119 drivers/gpu/drm/nouveau/nvkm/core/option.c 				else if (!strncasecmpz(optstr, "trace", len))
optstr            121 drivers/gpu/drm/nouveau/nvkm/core/option.c 				else if (!strncasecmpz(optstr, "paranoia", len))
optstr            123 drivers/gpu/drm/nouveau/nvkm/core/option.c 				else if (!strncasecmpz(optstr, "spam", len))
optstr            127 drivers/gpu/drm/nouveau/nvkm/core/option.c 			if (optstr[len] != '\0') {
optstr            128 drivers/gpu/drm/nouveau/nvkm/core/option.c 				optstr++;
optstr            135 drivers/gpu/drm/nouveau/nvkm/core/option.c 		optstr += len;
optstr             88 samples/bpf/xdp1_user.c 	const char *optstr = "FSN";
optstr             95 samples/bpf/xdp1_user.c 	while ((opt = getopt(argc, argv, optstr)) != -1) {
optstr             88 samples/bpf/xdp_adjust_tail_user.c 	const char *optstr = "i:T:SNFh";
optstr             98 samples/bpf/xdp_adjust_tail_user.c 	for (i = 0; i < strlen(optstr); i++)
optstr             99 samples/bpf/xdp_adjust_tail_user.c 		if (optstr[i] != 'h' && 'a' <= optstr[i] && optstr[i] <= 'z')
optstr            100 samples/bpf/xdp_adjust_tail_user.c 			opt_flags[(unsigned char)optstr[i]] = 1;
optstr            102 samples/bpf/xdp_adjust_tail_user.c 	while ((opt = getopt(argc, argv, optstr)) != -1) {
optstr            129 samples/bpf/xdp_adjust_tail_user.c 	for (i = 0; i < strlen(optstr); i++) {
optstr            130 samples/bpf/xdp_adjust_tail_user.c 		if (opt_flags[(unsigned int)optstr[i]]) {
optstr            131 samples/bpf/xdp_adjust_tail_user.c 			fprintf(stderr, "Missing argument -%c\n", optstr[i]);
optstr            107 samples/bpf/xdp_redirect_map_user.c 	const char *optstr = "FSN";
optstr            113 samples/bpf/xdp_redirect_map_user.c 	while ((opt = getopt(argc, argv, optstr)) != -1) {
optstr            108 samples/bpf/xdp_redirect_user.c 	const char *optstr = "FSN";
optstr            114 samples/bpf/xdp_redirect_user.c 	while ((opt = getopt(argc, argv, optstr)) != -1) {
optstr            634 samples/bpf/xdp_router_ipv4_user.c 	const char *optstr = "SF";
optstr            647 samples/bpf/xdp_router_ipv4_user.c 	while ((opt = getopt(ac, argv, optstr)) != -1) {
optstr            118 samples/bpf/xdp_sample_pkts_user.c 	const char *optstr = "F";
optstr            125 samples/bpf/xdp_sample_pkts_user.c 	while ((opt = getopt(argc, argv, optstr)) != -1) {
optstr            160 samples/bpf/xdp_tx_iptunnel_user.c 	const char *optstr = "i:a:p:s:d:m:T:P:FSNh";
optstr            175 samples/bpf/xdp_tx_iptunnel_user.c 	for (i = 0; i < strlen(optstr); i++)
optstr            176 samples/bpf/xdp_tx_iptunnel_user.c 		if (optstr[i] != 'h' && 'a' <= optstr[i] && optstr[i] <= 'z')
optstr            177 samples/bpf/xdp_tx_iptunnel_user.c 			opt_flags[(unsigned char)optstr[i]] = 1;
optstr            179 samples/bpf/xdp_tx_iptunnel_user.c 	while ((opt = getopt(argc, argv, optstr)) != -1) {
optstr            246 samples/bpf/xdp_tx_iptunnel_user.c 	for (i = 0; i < strlen(optstr); i++) {
optstr            247 samples/bpf/xdp_tx_iptunnel_user.c 		if (opt_flags[(unsigned int)optstr[i]]) {
optstr            248 samples/bpf/xdp_tx_iptunnel_user.c 			fprintf(stderr, "Missing argument -%c\n", optstr[i]);
optstr            927 tools/lib/subcmd/parse-options.c 			const char *optstr, bool short_opt)
optstr            946 tools/lib/subcmd/parse-options.c 			if (opts->short_name == *optstr) {
optstr            956 tools/lib/subcmd/parse-options.c 		if (strstarts(opts->long_name, optstr))
optstr            958 tools/lib/subcmd/parse-options.c 		if (strstarts("no-", optstr) &&
optstr            959 tools/lib/subcmd/parse-options.c 		    strstarts(opts->long_name, optstr + 3))
optstr            216 tools/lib/subcmd/parse-options.h 			       const char *optstr,
optstr           2402 tools/perf/ui/browsers/hists.c 		 struct popup_action *act, char **optstr,
optstr           2408 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Annotate %s", sym->name) < 0)
optstr           2453 tools/perf/ui/browsers/hists.c 	       char **optstr, struct thread *thread)
optstr           2462 tools/perf/ui/browsers/hists.c 		ret = asprintf(optstr, "Zoom %s %s(%d) thread",
optstr           2467 tools/perf/ui/browsers/hists.c 		ret = asprintf(optstr, "Zoom %s %s thread",
optstr           2507 tools/perf/ui/browsers/hists.c 	    char **optstr, struct map *map)
optstr           2512 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Zoom %s %s DSO",
optstr           2532 tools/perf/ui/browsers/hists.c 	    struct popup_action *act, char **optstr, struct map *map)
optstr           2537 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Browse map details") < 0)
optstr           2603 tools/perf/ui/browsers/hists.c 	       struct popup_action *act, char **optstr,
optstr           2609 tools/perf/ui/browsers/hists.c 		if (asprintf(optstr, "Run scripts for samples of thread [%s]%s",
optstr           2613 tools/perf/ui/browsers/hists.c 		if (asprintf(optstr, "Run scripts for samples of symbol [%s]%s",
optstr           2617 tools/perf/ui/browsers/hists.c 		if (asprintf(optstr, "Run scripts for all samples%s", tstr) < 0)
optstr           2630 tools/perf/ui/browsers/hists.c 	       struct popup_action *act, char **optstr,
optstr           2637 tools/perf/ui/browsers/hists.c 	n = add_script_opt_2(browser, act, optstr, thread, sym, evsel, "");
optstr           2643 tools/perf/ui/browsers/hists.c 		optstr++;
optstr           2651 tools/perf/ui/browsers/hists.c 		n += add_script_opt_2(browser, act, optstr, thread, sym,
optstr           2660 tools/perf/ui/browsers/hists.c 		   struct popup_action *act, char **optstr,
optstr           2668 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Show context for individual samples %s",
optstr           2694 tools/perf/ui/browsers/hists.c 	       struct popup_action *act, char **optstr)
optstr           2699 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Switch to another data file in PWD") < 0)
optstr           2715 tools/perf/ui/browsers/hists.c 	     struct popup_action *act, char **optstr)
optstr           2717 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Exit") < 0)
optstr           2747 tools/perf/ui/browsers/hists.c 	       char **optstr, int socket_id)
optstr           2752 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Zoom %s Processor Socket %d",
optstr           6898 tools/testing/selftests/bpf/test_btf.c 	const char *optstr = "hlpk:f:r:g:d:";
optstr           6901 tools/testing/selftests/bpf/test_btf.c 	while ((opt = getopt(argc, argv, optstr)) != -1) {
optstr             94 tools/testing/selftests/bpf/xdping.c 	const char *optstr = "c:I:NsS";
optstr            107 tools/testing/selftests/bpf/xdping.c 	while ((opt = getopt(argc, argv, optstr)) != -1) {