Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/direct_io/
Ddiotest3.c237 int numchild = 1; /* Number of children. Default 5 */ in main() local
268 if ((numchild = atoi(optarg)) <= 0) { in main()
284 if (forkchldrn(&pidlst, numchild, READ_DIRECT, child_function) < 0) { in main()
289 if (waitchldrn(&pidlst, numchild) < 0) { in main()
302 if (forkchldrn(&pidlst, numchild, WRITE_DIRECT, child_function) < 0) { in main()
307 if (waitchldrn(&pidlst, numchild) < 0) { in main()
319 if (forkchldrn(&pidlst, numchild, RDWR_DIRECT, child_function) < 0) { in main()
324 if (waitchldrn(&pidlst, numchild) < 0) { in main()
340 total, iter, numchild); in main()
Ddiotest6.c228 int numchild = 1; in main() local
259 if ((numchild = atoi(optarg)) <= 0) { in main()
281 if (forkchldrn(&pidlst, numchild, READ_DIRECT, child_function) < 0) { in main()
286 if (waitchldrn(&pidlst, numchild) < 0) { in main()
299 if (forkchldrn(&pidlst, numchild, WRITE_DIRECT, child_function) < 0) { in main()
304 if (waitchldrn(&pidlst, numchild) < 0) { in main()
316 if (forkchldrn(&pidlst, numchild, RDWR_DIRECT, child_function) < 0) { in main()
321 if (waitchldrn(&pidlst, numchild) < 0) { in main()
337 total, iter, numchild); in main()
/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe11.c69 int numchild; /* no of children to fork */ variable
128 if ((fork_ret != 0) && (fork_ret != -1) && (kidid < numchild)) { in main()
207 numchild = NUMCHILD; in setup()
213 szcharbuf = numchild * ncperchild; in setup()
218 ncperchild = szcharbuf / numchild; in setup()