Home
last modified time | relevance | path

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

12

/Linux-v6.6/samples/bpf/
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-v6.6/tools/power/cpupower/bench/
Dmain.c18 static struct option long_options[] = { variable
76 long_options, &option_index); in main()
/Linux-v6.6/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()
Dhv_kvp_daemon.c1547 static struct option long_options[] = { in main() local
1553 while ((opt = getopt_long(argc, argv, "hn", long_options, in main()
/Linux-v6.6/tools/power/acpi/tools/pfrut/
Dpfrut.c81 static struct option long_options[] = { variable
107 long_options, &option_index)) != -1) { in parse_options()
/Linux-v6.6/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-v6.6/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-v6.6/tools/testing/selftests/bpf/
Dxdp_synproxy.c94 static struct option long_options[] = { in parse_options() local
124 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()
1985 long_options, &longindex)) != -1) { in main()
/Linux-v6.6/tools/verification/rv/src/
Din_kernel.c572 static struct option long_options[] = { in parse_arguments() local
584 c = getopt_long(argc, argv, "hr:stv", long_options, &option_index); in parse_arguments()
/Linux-v6.6/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-v6.6/tools/tracing/rtla/src/
Dosnoise_top.c361 static struct option long_options[] = { in osnoise_top_parse_args() local
387 long_options, &option_index); in osnoise_top_parse_args()
Dtimerlat_top.c404 static struct option long_options[] = { in timerlat_top_parse_args() local
435 long_options, &option_index); in timerlat_top_parse_args()
Dosnoise_hist.c507 static struct option long_options[] = { in osnoise_hist_parse_args() local
538 long_options, &option_index); in osnoise_hist_parse_args()
Dtimerlat_hist.c577 static struct option long_options[] = { in timerlat_hist_parse_args() local
614 long_options, &option_index); in timerlat_hist_parse_args()
/Linux-v6.6/scripts/
Dkallsyms.c813 static const struct option long_options[] = { in main() local
821 int c = getopt_long(argc, argv, "", long_options, NULL); in main()
/Linux-v6.6/tools/arch/x86/intel_sdsi/
Dintel_sdsi.c753 static struct option long_options[] = { in main() local
768 while ((opt = getopt_long_only(argc, argv, "+a:c:d:hilms", long_options, in main()
/Linux-v6.6/Documentation/userspace-api/media/v4l/
Dcapture.c.rst584 long_options[] = {
605 short_options, long_options, &idx);
/Linux-v6.6/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c528 static struct option long_options[] = { in cmdline() local
552 long_options, &option_index)) != -1) { in cmdline()
/Linux-v6.6/tools/power/x86/intel-speed-select/
Disst-config.c2738 static struct option long_options[] = { in parse_cmd_args() local
2760 long_options, &option_index)) != -1) { in parse_cmd_args()
3036 static struct option long_options[] = { in cmdline() local
3081 while ((opt = getopt_long_only(argc, argv, "+c:df:hio:vabw:ng", long_options, in cmdline()

12