Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 34) 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/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 …]
DOpti187 main(int argc, char **argv) {
197 for(i = 2; i < argc; i += 2) {
/Documentation/spi/
Dspidev_test.c88 static void parse_opts(int argc, char *argv[]) in parse_opts() argument
108 c = getopt_long(argc, argv, "D:s:d:b:lHOLC3NR", lopts, NULL); in parse_opts()
157 int main(int argc, char *argv[]) in main() argument
162 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/
Dhpfall.c90 int main(int argc, char **argv) in main() argument
95 if (argc == 1) in main()
97 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_test.c67 long argc = (long)*stack; in c_main() local
68 stack += argc + 2; in c_main()
/Documentation/auxdisplay/
Dcfag12864b-example.c256 int main(int argc, char *argv[]) in main() argument
260 if (argc != 2) { in main()
/Documentation/networking/timestamping/
Dtimestamping.c317 int main(int argc, char **argv) in main() argument
339 if (argc < 2) in main()
343 for (i = 2; i < argc; i++) { in main()
/Documentation/ptp/
Dtestptp.c123 int main(int argc, char *argv[]) in main() argument
154 while (EOF != (c = getopt(argc, argv, "a:A:cd:e:f:ghp:P:sSt:v"))) { in main()
/Documentation/prctl/
Ddisable-tsc-on-off-stress-test.c80 int main(int argc, char **argv) in main() argument
Ddisable-tsc-ctxt-sw-stress-test.c76 int main(int argc, char **argv) in main() argument
Ddisable-tsc-test.c59 int main(int argc, char **argv) in main() argument
/Documentation/video4linux/cx2341x/
DREADME.hm1297 int main(int argc, char **argv)
102 if (argc == 1) fin = stdin;
/Documentation/block/
Dioprio.txt116 int main(int argc, char *argv[])
121 while ((c = getopt(argc, argv, "+n:c:p:")) != EOF) {
/Documentation/misc-devices/mei/
Dmei-amt-version.c440 int main(int argc, char **argv) in main() argument
449 verbose = (argc > 1 && strcmp(argv[1], "-v") == 0); in main()
/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/networking/
Difenslave.c244 int main(int argc, char *argv[]) in main() argument
251 while ((c = getopt_long(argc, argv, "acdfhuvV", longopts, 0)) != EOF) { in main()
305 if (optind == argc) { in main()
/Documentation/cdrom/
Dide-cd368 main (int argc, char **argv)
381 --argc;
383 if (argc < 1 || argc > 3) {
393 --argc;
398 if (argc == 2)
/Documentation/usb/
Dgadget_printer.txt436 main(int argc, char *argv[])
442 if (argc == 1) {
447 for (i = 1; i < argc && !retval; i ++) {
/Documentation/video4linux/
Dsi4713.txt136 int main (int argc, char *argv[])
142 if (argc < 2)

12