Home
last modified time | relevance | path

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

12

/linux-6.15/samples/bpf/
H A Dibumad_user.c68 static const struct option long_options[] = { variable
92 long_options, &longindex)) != -1) { in main()
H A 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()
H A Dxdp_sample_user.h41 void sample_usage(char *argv[], const struct option *long_options,
H A 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.15/tools/power/cpupower/bench/
H A Dmain.c18 static struct option long_options[] = { variable
76 long_options, &option_index); in main()
/linux-6.15/tools/hv/
H A Dhv_vss_daemon.c220 static struct option long_options[] = { in main() local
226 while ((opt = getopt_long(argc, argv, "hn", long_options, in main()
H A Dhv_fcopy_uio_daemon.c413 static struct option long_options[] = { in main() local
419 while ((opt = getopt_long(argc, argv, "hn", long_options, in main()
H A Dhv_kvp_daemon.c1743 static struct option long_options[] = { in main() local
1749 while ((opt = getopt_long(argc, argv, "hn", long_options, in main()
/linux-6.15/tools/power/acpi/tools/pfrut/
H A Dpfrut.c81 static struct option long_options[] = { variable
107 long_options, &option_index)) != -1) { in parse_options()
/linux-6.15/tools/thermal/thermal-engine/
H A Dthermal-engine.c316 struct option long_options[] = { in options_init() local
328 opt = getopt_long(argc, argv, "l:dhs", long_options, &optindex); in options_init()
/linux-6.15/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c94 static struct option long_options[] = { in parse_options() local
124 opt = getopt_long(argc, argv, "", long_options, NULL); in parse_options()
H A Dtest_sockmap.c96 static const struct option long_options[] = { variable
230 for (i = 0; long_options[i].name != 0; i++) { in usage()
231 printf(" --%-12s", long_options[i].name); in usage()
232 if (long_options[i].flag != NULL) in usage()
234 *long_options[i].flag); in usage()
236 printf(" -%c\n", long_options[i].val); in usage()
2116 long_options, &longindex)) != -1) { in main()
/linux-6.15/tools/testing/selftests/net/
H A Drxtimestamp.c130 static struct option long_options[] = { variable
382 while ((opt = getopt_long(argc, argv, "", long_options, in main()
H A 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.15/tools/thermal/thermometer/
H A 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.15/tools/verification/rv/src/
H A Din_kernel.c711 static struct option long_options[] = { in parse_arguments() local
723 c = getopt_long(argc, argv, "hr:stv", long_options, &option_index); in parse_arguments()
/linux-6.15/scripts/
H A Dkallsyms.c718 static const struct option long_options[] = { in main() local
723 int c = getopt_long(argc, argv, "", long_options, NULL); in main()
/linux-6.15/tools/tracing/rtla/src/
H A Dosnoise_top.c343 static struct option long_options[] = { in osnoise_top_parse_args() local
371 long_options, &option_index); in osnoise_top_parse_args()
H A Dosnoise_hist.c498 static struct option long_options[] = { in osnoise_hist_parse_args() local
531 long_options, &option_index); in osnoise_hist_parse_args()
H A Dtimerlat_top.c563 static struct option long_options[] = { in timerlat_top_parse_args() local
599 long_options, &option_index); in timerlat_top_parse_args()
H A Dtimerlat_hist.c806 static struct option long_options[] = { in timerlat_hist_parse_args() local
848 long_options, &option_index); in timerlat_hist_parse_args()
/linux-6.15/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c770 static struct option long_options[] = { in main() local
786 while ((opt = getopt_long_only(argc, argv, "+a:c:d:hilmCs", long_options, in main()
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dcapture.c.rst584 long_options[] = {
605 short_options, long_options, &idx);
/linux-6.15/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c528 static struct option long_options[] = { in cmdline() local
552 long_options, &option_index)) != -1) { in cmdline()
/linux-6.15/tools/power/x86/intel-speed-select/
H A Disst-config.c2867 static struct option long_options[] = { in parse_cmd_args() local
2889 long_options, &option_index)) != -1) { in parse_cmd_args()
3176 static struct option long_options[] = { in cmdline() local
3222 while ((opt = getopt_long_only(argc, argv, "+c:df:hio:vabw:ngu", long_options, in cmdline()

12