Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 59) sorted by relevance

123

/samples/timers/
Dhpet_example.c30 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/
Dkdb_hello.c18 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/
Dtest_cgrp2_sock2.c33 int main(int argc, char **argv) in main() argument
42 if (argc < 3) in main()
45 if (argc > 3) in main()
Dxdp_fwd_user.c76 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()
Dtc_l2_redirect_user.c23 int main(int argc, char **argv) in main() argument
32 while ((opt = getopt(argc, argv, "F:U:i:")) != -1) { in main()
Dxdpsock_ctrl_proc.c37 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()
Dxdp1_user.c80 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()
Dtest_cgrp2_array_pin.c25 int main(int argc, char **argv) in main() argument
35 while ((opt = getopt(argc, argv, "F:U:v:")) != -1) { in main()
Dtest_cgrp2_attach.c130 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()
Dxdp_monitor_user.c45 int main(int argc, char **argv) in main() argument
55 while ((opt = getopt_long(argc, argv, "si:vh", in main()
Dxdp_redirect_user.c43 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()
Dxdp_sample_pkts_user.c111 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()
Dsockex3_user.c26 int main(int argc, char **argv) in main() argument
77 if (argc > 1) in main()
Dibumad_user.c84 int main(int argc, char **argv) in main() argument
92 while ((opt = getopt_long(argc, argv, "hd:rSw", in main()
Dtest_overhead_user.c163 int main(int argc, char **argv) in main() argument
171 if (argc > 1) in main()
173 if (argc > 2) in main()
Dsampleip_user.c139 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()
Dxdp_redirect_map_user.c43 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()
Dsyscall_tp_user.c116 int main(int argc, char **argv) in main() argument
121 while ((opt = getopt(argc, argv, "i:h")) != -1) { in main()
Dxdp_redirect_map_multi_user.c78 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()
Dxdp_adjust_tail_user.c83 int main(int argc, char **argv) in main() argument
104 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
/samples/crypto/
Dfips140_lab_util.c269 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/
Ddropper.c56 int main(int argc, char **argv) in main() argument
58 if (argc < 5) { in main()
/samples/acrn/
Dvm-sample.c47 int main(int argc, char **argv) in main() argument
56 argc = argc; in main()
/samples/connector/
Ducon.c97 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/
Dhid-example.c43 int main(int argc, char **argv) in main() argument
52 if (argc > 1) in main()

123