/samples/timers/ |
D | hpet_example.c | 30 void (*func)(int argc, const char ** argv); 51 main(int argc, const char ** argv) in main() argument 55 argc--; in main() 58 if (!argc) { in main() 66 argc--; in main() 70 hpet_command[i].func(argc, argv); in main() 80 hpet_open_close(int argc, const char **argv) in hpet_open_close() argument 84 if (argc != 1) { in hpet_open_close() 99 hpet_info(int argc, const char **argv) in hpet_info() argument 104 if (argc != 1) { in hpet_info() [all …]
|
/samples/kdb/ |
D | kdb_hello.c | 18 static int kdb_hello_cmd(int argc, const char **argv) in kdb_hello_cmd() argument 20 if (argc > 1) in kdb_hello_cmd() 23 if (argc) in kdb_hello_cmd()
|
/samples/bpf/ |
D | test_cgrp2_sock2.c | 33 int main(int argc, char **argv) in main() argument 42 if (argc < 3) in main() 45 if (argc > 3) in main()
|
D | xdp_fwd_user.c | 76 int main(int argc, char **argv) in main() argument 90 while ((opt = getopt(argc, argv, ":dDSF")) != -1) { in main() 113 if (optind == argc) { in main() 151 for (i = optind; i < argc; ++i) { in main()
|
D | tc_l2_redirect_user.c | 23 int main(int argc, char **argv) in main() argument 32 while ((opt = getopt(argc, argv, "F:U:i:")) != -1) { in main()
|
D | xdpsock_ctrl_proc.c | 37 static void parse_command_line(int argc, char **argv) in parse_command_line() argument 44 c = getopt_long(argc, argv, "i:", in parse_command_line() 99 main(int argc, char **argv) in main() argument 111 parse_command_line(argc, argv); in main()
|
D | xdp1_user.c | 80 int main(int argc, char **argv) in main() argument 94 while ((opt = getopt(argc, argv, optstr)) != -1) { in main() 114 if (optind == argc) { in main()
|
D | test_cgrp2_array_pin.c | 25 int main(int argc, char **argv) in main() argument 35 while ((opt = getopt(argc, argv, "F:U:v:")) != -1) { in main()
|
D | test_cgrp2_attach.c | 130 int main(int argc, char **argv) in main() argument 136 while ((opt = getopt(argc, argv, "Dd")) != -1) { in main() 149 if (argc - optind < 2) in main()
|
D | xdp_monitor_user.c | 45 int main(int argc, char **argv) in main() argument 55 while ((opt = getopt_long(argc, argv, "si:vh", in main()
|
D | xdp_redirect_user.c | 43 int main(int argc, char **argv) in main() argument 56 while ((opt = getopt_long(argc, argv, "hSFi:vs", in main() 84 if (argc <= optind + 1) { in main()
|
D | xdp_sample_pkts_user.c | 111 int main(int argc, char **argv) in main() argument 124 while ((opt = getopt(argc, argv, optstr)) != -1) { in main() 141 if (optind == argc) { in main()
|
D | sockex3_user.c | 26 int main(int argc, char **argv) in main() argument 77 if (argc > 1) in main()
|
D | ibumad_user.c | 84 int main(int argc, char **argv) in main() argument 92 while ((opt = getopt_long(argc, argv, "hd:rSw", in main()
|
D | test_overhead_user.c | 163 int main(int argc, char **argv) in main() argument 171 if (argc > 1) in main() 173 if (argc > 2) in main()
|
D | sampleip_user.c | 139 int main(int argc, char **argv) in main() argument 148 while ((opt = getopt(argc, argv, "F:h")) != -1) { in main() 159 if (argc - optind == 1) in main()
|
D | xdp_redirect_map_user.c | 43 int main(int argc, char **argv) in main() argument 62 while ((opt = getopt_long(argc, argv, "hSFXi:vs", in main() 94 if (argc <= optind + 1) { in main()
|
D | syscall_tp_user.c | 116 int main(int argc, char **argv) in main() argument 121 while ((opt = getopt(argc, argv, "i:h")) != -1) { in main()
|
D | xdp_redirect_map_multi_user.c | 78 int main(int argc, char **argv) in main() argument 95 while ((opt = getopt_long(argc, argv, "hSFXi:vs", in main() 127 if (argc <= optind + 1) { in main()
|
D | xdp_adjust_tail_user.c | 83 int main(int argc, char **argv) in main() argument 104 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
|
/samples/crypto/ |
D | fips140_lab_util.c | 269 static int cmd_dump_jitterentropy(int argc, char *argv[]) in cmd_dump_jitterentropy() argument 281 while ((c = getopt_long(argc, argv, "", longopts, NULL)) != -1) { in cmd_dump_jitterentropy() 519 static int cmd_show_invalid_inputs(int argc, char *argv[]) in cmd_show_invalid_inputs() argument 532 static int cmd_show_module_version(int argc, char *argv[]) in cmd_show_module_version() argument 569 static int cmd_show_service_indicators(int argc, char *argv[]) in cmd_show_service_indicators() argument 575 if (argc > 1) { in cmd_show_service_indicators() 577 count = argc - 1; in cmd_show_service_indicators() 593 int (*func)(int argc, char *argv[]); 616 int main(int argc, char *argv[]) in main() argument 620 if (argc < 2) { in main() [all …]
|
/samples/seccomp/ |
D | dropper.c | 56 int main(int argc, char **argv) in main() argument 58 if (argc < 5) { in main()
|
/samples/acrn/ |
D | vm-sample.c | 47 int main(int argc, char **argv) in main() argument 56 argc = argc; in main()
|
/samples/connector/ |
D | ucon.c | 97 int main(int argc, char *argv[]) in main() argument 110 while ((s = getopt(argc, argv, "hs")) != -1) { in main() 127 if (argc != optind) { in main()
|
/samples/hidraw/ |
D | hid-example.c | 43 int main(int argc, char **argv) in main() argument 52 if (argc > 1) in main()
|