Home
last modified time | relevance | path

Searched refs:long_opts (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/scripts/dtc/
Dutil.c428 struct option const long_opts[], in util_usage() argument
444 for (i = 0; long_opts[i].name; ++i) { in util_usage()
446 int l = strlen(long_opts[i].name) + 1; in util_usage()
447 if (long_opts[i].has_arg == a_argument) in util_usage()
453 for (i = 0; long_opts[i].name; ++i) { in util_usage()
458 if (long_opts[i].val > '~') in util_usage()
461 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage()
464 if (long_opts[i].has_arg == no_argument) in util_usage()
465 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage()
467 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage()
[all …]
Dutil.h204 struct option const long_opts[],
/linux-6.12.1/tools/testing/memblock/tests/
Dcommon.c17 static const struct option long_opts[] = { variable
123 BUILD_BUG_ON(ARRAY_SIZE(help_opts) != ARRAY_SIZE(long_opts) - 1); in usage()
127 for (int i = 0; long_opts[i].name; i++) { in usage()
128 printf(" -%c, --%-12s\t%s\n", long_opts[i].val, in usage()
129 long_opts[i].name, help_opts[i]); in usage()
139 while ((c = getopt_long_only(argc, argv, short_opts, long_opts, in parse_args()
/linux-6.12.1/scripts/kconfig/
Dconf.c607 static const struct option long_opts[] = { variable
667 while ((opt = getopt_long(ac, av, "hs", long_opts, NULL)) != -1) { in main()
/linux-6.12.1/scripts/genksyms/
Dgenksyms.c736 struct option long_opts[] = { in main() local
750 &long_opts[0], NULL)) != EOF) in main()
/linux-6.12.1/tools/testing/selftests/net/
Dnettest.c1940 static struct option long_opts[] = { variable
2032 while ((rc = getopt_long(argc, argv, GETOPT_STR, long_opts, NULL)) != -1) { in main()