Home
last modified time | relevance | path

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

/linux-6.1.9/scripts/dtc/
Dutil.c417 struct option const long_opts[], in util_usage() argument
433 for (i = 0; long_opts[i].name; ++i) { in util_usage()
435 int l = strlen(long_opts[i].name) + 1; in util_usage()
436 if (long_opts[i].has_arg == a_argument) in util_usage()
442 for (i = 0; long_opts[i].name; ++i) { in util_usage()
447 if (long_opts[i].val > '~') in util_usage()
450 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage()
453 if (long_opts[i].has_arg == no_argument) in util_usage()
454 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage()
456 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage()
[all …]
Dutil.h200 struct option const long_opts[],
/linux-6.1.9/tools/testing/memblock/tests/
Dcommon.c19 static const struct option long_opts[] = { variable
120 BUILD_BUG_ON(ARRAY_SIZE(help_opts) != ARRAY_SIZE(long_opts) - 1); in usage()
124 for (int i = 0; long_opts[i].name; i++) { in usage()
125 printf(" -%c, --%-12s\t%s\n", long_opts[i].val, in usage()
126 long_opts[i].name, help_opts[i]); in usage()
136 while ((c = getopt_long_only(argc, argv, short_opts, long_opts, in parse_args()
/linux-6.1.9/scripts/kconfig/
Dconf.c667 static const struct option long_opts[] = { variable
727 while ((opt = getopt_long(ac, av, "hs", long_opts, NULL)) != -1) { in main()
/linux-6.1.9/scripts/genksyms/
Dgenksyms.c753 struct option long_opts[] = { in main() local
767 &long_opts[0], NULL)) != EOF) in main()
/linux-6.1.9/tools/testing/selftests/net/
Dnettest.c1869 static struct option long_opts[] = { variable
1951 while ((rc = getopt_long(argc, argv, GETOPT_STR, long_opts, NULL)) != -1) { in main()