Searched refs:numchild (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest3.c | 233 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()
|
D | diotest6.c | 255 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()
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe11.c | 69 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()
|