Home
last modified time | relevance | path

Searched refs:numchild (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/io/direct_io/
Ddiotest3.c233 int numchild = 1; /* Number of children. Default 5 */ in main() local
264 if ((numchild = atoi(optarg)) <= 0) { in main()
280 if (forkchldrn(&pidlst, numchild, READ_DIRECT, child_function) < 0) { in main()
285 if (waitchldrn(&pidlst, numchild) < 0) { in main()
298 if (forkchldrn(&pidlst, numchild, WRITE_DIRECT, child_function) < 0) { in main()
303 if (waitchldrn(&pidlst, numchild) < 0) { in main()
315 if (forkchldrn(&pidlst, numchild, RDWR_DIRECT, child_function) < 0) { in main()
320 if (waitchldrn(&pidlst, numchild) < 0) { in main()
336 total, iter, numchild); in main()
Ddiotest6.c255 int numchild = 1; in main() local
286 if ((numchild = atoi(optarg)) <= 0) { in main()
308 if (forkchldrn(&pidlst, numchild, READ_DIRECT, child_function) < 0) { in main()
313 if (waitchldrn(&pidlst, numchild) < 0) { in main()
326 if (forkchldrn(&pidlst, numchild, WRITE_DIRECT, child_function) < 0) { in main()
331 if (waitchldrn(&pidlst, numchild) < 0) { in main()
343 if (forkchldrn(&pidlst, numchild, RDWR_DIRECT, child_function) < 0) { in main()
348 if (waitchldrn(&pidlst, numchild) < 0) { in main()
364 total, iter, numchild); in main()