Home
last modified time | relevance | path

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

12

/Documentation/timers/
Dhpet_example.c29 void (*func)(int argc, const char ** argv);
50 main(int argc, const char ** argv) in main() argument
54 argc--; in main()
57 if (!argc) { in main()
65 argc--; in main()
69 hpet_command[i].func(argc, argv); in main()
79 hpet_open_close(int argc, const char **argv) in hpet_open_close() argument
83 if (argc != 1) { in hpet_open_close()
98 hpet_info(int argc, const char **argv) in hpet_info() argument
103 if (argc != 1) { in hpet_info()
[all …]
/Documentation/networking/timestamping/
Dhwtstamp_config.c85 int main(int argc, char **argv) in main() argument
92 if ((argc != 2 && argc != 4) || (strlen(argv[1]) >= IFNAMSIZ)) { in main()
97 if (argc == 4) { in main()
116 if (ioctl(sock, (argc == 2) ? SIOCGHWTSTAMP : SIOCSHWTSTAMP, &ifr)) { in main()
Dtxtimestamp.c336 static void parse_opt(int argc, char **argv) in parse_opt() argument
341 while ((c = getopt(argc, argv, "46hl:p:rRu")) != -1) { in parse_opt()
385 if (optind != argc - 1) in parse_opt()
450 int main(int argc, char **argv) in main() argument
452 if (argc == 1) in main()
455 parse_opt(argc, argv); in main()
456 resolve_hostname(argv[argc - 1]); in main()
Dtimestamping.c314 int main(int argc, char **argv) in main() argument
336 if (argc < 2) in main()
340 for (i = 2; i < argc; i++) { in main()
/Documentation/sound/oss/
DMultiSound481 int main(int argc, char *argv[])
486 X if (argc != 2) {
853 static int cfg_dsp(int argc, char *argv[])
857 X if (argc < 3 ||
901 static int cfg_mpu(int argc, char *argv[])
905 X if (argc < 2 ||
913 static int cfg_ide(int argc, char *argv[])
917 X if (argc < 3 ||
926 static int cfg_joystick(int argc, char *argv[])
930 X if (argc < 1 ||
[all …]
/Documentation/spi/
Dspidev_test.c107 static void parse_opts(int argc, char *argv[]) in parse_opts() argument
129 c = getopt_long(argc, argv, "D:s:d:b:lHOLC3NR24", lopts, NULL); in parse_opts()
190 int main(int argc, char *argv[]) in main() argument
195 parse_opts(argc, argv); in main()
Dspidev_fdx.c105 int main(int argc, char **argv) in main() argument
113 while ((c = getopt(argc, argv, "hm:r:v")) != EOF) { in main()
138 if ((optind + 1) != argc) in main()
/Documentation/laptops/
Dfreefall.c107 int main(int argc, char **argv) in main() argument
113 if (argc == 1) in main()
115 else if (argc == 2) in main()
Ddslm.c132 int main(int argc, char **argv) in main() argument
139 if (argc == 2) in main()
141 else if (argc == 4) { in main()
/Documentation/pcmcia/
Dcrc32hash.c23 int main(int argc, char **argv) { in main() argument
25 if (argc != 2) { in main()
/Documentation/watchdog/src/
Dwatchdog-test.c41 int main(int argc, char *argv[]) in main() argument
53 if (argc > 1) { in main()
/Documentation/connector/
Ducon.c111 int main(int argc, char *argv[]) in main() argument
124 while ((s = getopt(argc, argv, "hs")) != -1) { in main()
141 if (argc != optind) { in main()
/Documentation/vDSO/
Dvdso_standalone_test_x86.c78 long argc = (long)*stack; in c_main() local
79 stack += argc + 2; in c_main()
Dvdso_test.c22 int main(int argc, char **argv) in main() argument
/Documentation/auxdisplay/
Dcfag12864b-example.c256 int main(int argc, char *argv[]) in main() argument
260 if (argc != 2) { in main()
/Documentation/prctl/
Ddisable-tsc-on-off-stress-test.c81 int main(int argc, char **argv) in main() argument
Ddisable-tsc-ctxt-sw-stress-test.c77 int main(int argc, char **argv) in main() argument
Ddisable-tsc-test.c60 int main(int argc, char **argv) in main() argument
/Documentation/ptp/
Dtestptp.c143 int main(int argc, char *argv[]) in main() argument
188 while (EOF != (c = getopt(argc, argv, "a:A:cd:e:f:ghi:k:lL:p:P:sSt:T:v"))) { in main()
/Documentation/video4linux/cx2341x/
DREADME.hm1297 int main(int argc, char **argv)
102 if (argc == 1) fin = stdin;
/Documentation/misc-devices/mei/
Dmei-amt-version.c438 int main(int argc, char **argv) in main() argument
447 verbose = (argc > 1 && strcmp(argv[1], "-v") == 0); in main()
/Documentation/block/
Dioprio.txt116 int main(int argc, char *argv[])
121 while ((c = getopt(argc, argv, "+n:c:p:")) != EOF) {
/Documentation/accounting/
Dgetdelays.c255 int main(int argc, char *argv[]) in main() argument
283 c = getopt(argc, argv, "qdiw:r:m:t:p:vlC:c:"); in main()
/Documentation/usb/
Dgadget_printer.txt436 main(int argc, char *argv[])
442 if (argc == 1) {
447 for (i = 1; i < argc && !retval; i ++) {
/Documentation/cdrom/
Dide-cd368 main (int argc, char **argv)
381 --argc;
383 if (argc < 1 || argc > 3) {
393 --argc;
398 if (argc == 2)

12