Home
last modified time | relevance | path

Searched refs:long_options (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/samples/bpf/
Dxdp_redirect_cpu_user.c47 static const struct option long_options[] = { variable
80 static void usage(char *argv[], const struct option *long_options, in usage() argument
83 sample_usage(argv, long_options, doc, mask, error); in usage()
386 long_options, &longindex)) != -1) { in main()
391 usage(argv, long_options, __doc__, mask, true, skel->obj); in main()
400 usage(argv, long_options, __doc__, mask, true, skel->obj); in main()
450 usage(argv, long_options, __doc__, mask, true, skel->obj); in main()
467 usage(argv, long_options, __doc__, mask, error, skel->obj); in main()
475 usage(argv, long_options, __doc__, mask, true, skel->obj); in main()
482 usage(argv, long_options, __doc__, mask, true, skel->obj); in main()
[all …]
Dxdp_redirect_user.c32 static const struct option long_options[] = { variable
56 long_options, NULL)) != -1) { in main()
78 sample_usage(argv, long_options, __doc__, mask, error); in main()
84 sample_usage(argv, long_options, __doc__, mask, true); in main()
98 sample_usage(argv, long_options, __doc__, mask, true); in main()
Dxdp_redirect_map_multi_user.c38 static const struct option long_options[] = { variable
95 long_options, NULL)) != -1) { in main()
121 sample_usage(argv, long_options, __doc__, mask, error); in main()
127 sample_usage(argv, long_options, __doc__, mask, error); in main()
153 sample_usage(argv, long_options, __doc__, mask, true); in main()
Dxdp_redirect_map_user.c32 static const struct option long_options[] = { variable
65 long_options, NULL)) != -1) { in main()
92 sample_usage(argv, long_options, __doc__, mask, error); in main()
98 sample_usage(argv, long_options, __doc__, mask, true); in main()
112 sample_usage(argv, long_options, __doc__, mask, true); in main()
Dxdp_monitor_user.c36 static const struct option long_options[] = { variable
55 long_options, &longindex)) != -1) { in main()
70 sample_usage(argv, long_options, __doc__, mask, error); in main()
Dxdp_rxq_info_user.c49 static const struct option long_options[] = { variable
163 for (i = 0; long_options[i].name != 0; i++) { in usage()
164 printf(" --%-12s", long_options[i].name); in usage()
165 if (long_options[i].flag != NULL) in usage()
167 *long_options[i].flag); in usage()
170 long_options[i].val); in usage()
510 long_options, &longindex)) != -1) { in main()
Dibumad_user.c68 static const struct option long_options[] = { variable
92 long_options, &longindex)) != -1) { in main()
Dxdp_router_ipv4_user.c49 static const struct option long_options[] = { variable
543 static void usage(char *argv[], const struct option *long_options, in usage() argument
547 sample_usage(argv, long_options, doc, mask, error); in usage()
596 long_options, &longindex)) != -1) { in main()
626 usage(argv, long_options, __doc__, mask, error, skel->obj); in main()
633 usage(argv, long_options, __doc__, mask, true, skel->obj); in main()
Dxdp_sample_user.h41 void sample_usage(char *argv[], const struct option *long_options,
Dxdp_sample_user.c294 void sample_usage(char *argv[], const struct option *long_options, in sample_usage() argument
303 for (i = 0; long_options[i].name != 0; i++) { in sample_usage()
304 printf(" --%-15s", long_options[i].name); in sample_usage()
305 if (long_options[i].flag != NULL) in sample_usage()
307 *long_options[i].flag); in sample_usage()
309 printf("\t short-option: -%c", long_options[i].val); in sample_usage()
/linux-6.1.9/tools/power/cpupower/bench/
Dmain.c18 static struct option long_options[] = { variable
76 long_options, &option_index); in main()
/linux-6.1.9/tools/hv/
Dhv_fcopy_daemon.c162 static struct option long_options[] = { in main() local
168 while ((opt = getopt_long(argc, argv, "hn", long_options, in main()
Dhv_vss_daemon.c220 static struct option long_options[] = { in main() local
226 while ((opt = getopt_long(argc, argv, "hn", long_options, in main()
/linux-6.1.9/tools/thermal/thermal-engine/
Dthermal-engine.c240 struct option long_options[] = { in options_init() local
252 opt = getopt_long(argc, argv, "l:dhs", long_options, &optindex); in options_init()
/linux-6.1.9/tools/power/acpi/tools/pfrut/
Dpfrut.c81 static struct option long_options[] = { variable
107 long_options, &option_index)) != -1) { in parse_options()
/linux-6.1.9/tools/testing/selftests/bpf/
Dxdp_synproxy.c94 static struct option long_options[] = { in parse_options() local
123 opt = getopt_long(argc, argv, "", long_options, NULL); in parse_options()
Dtest_sockmap.c89 static const struct option long_options[] = { variable
223 for (i = 0; long_options[i].name != 0; i++) { in usage()
224 printf(" --%-12s", long_options[i].name); in usage()
225 if (long_options[i].flag != NULL) in usage()
227 *long_options[i].flag); in usage()
229 printf(" -%c\n", long_options[i].val); in usage()
1967 long_options, &longindex)) != -1) { in main()
/linux-6.1.9/tools/testing/selftests/net/
Drxtimestamp.c112 static struct option long_options[] = { variable
364 while ((opt = getopt_long(argc, argv, "", long_options, in main()
Dtoeplitz.c487 static struct option long_options[] = { in parse_opts() local
505 while ((c = getopt_long(argc, argv, "46C:d:i:k:r:stT:uv", long_options, &index)) != -1) { in parse_opts()
/linux-6.1.9/tools/arch/x86/intel_sdsi/
Dintel_sdsi.c469 static struct option long_options[] = { in main() local
483 while ((opt = getopt_long_only(argc, argv, "+a:c:d:Da:c:h", long_options, in main()
/linux-6.1.9/tools/thermal/thermometer/
Dthermometer.c200 struct option long_options[] = { in options_init() local
219 opt = getopt_long(argc, argv, "ho:c:d:l:p:sw", long_options, &optindex); in options_init()
/linux-6.1.9/tools/tracing/rtla/src/
Dtimerlat_top.c334 static struct option long_options[] = { in timerlat_top_parse_args() local
359 long_options, &option_index); in timerlat_top_parse_args()
Dosnoise_top.c303 static struct option long_options[] = { in osnoise_top_parse_args() local
327 long_options, &option_index); in osnoise_top_parse_args()
Dosnoise_hist.c496 static struct option long_options[] = { in osnoise_hist_parse_args() local
525 long_options, &option_index); in osnoise_hist_parse_args()
/linux-6.1.9/scripts/
Dkallsyms.c817 static struct option long_options[] = { in main() local
824 int c = getopt_long(argc, argv, "", long_options, NULL); in main()

12