Home
last modified time | relevance | path

Searched refs:pidlst (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/io/direct_io/
Ddiotest3.c232 int *pidlst; in main() local
280 if (forkchldrn(&pidlst, numchild, READ_DIRECT, child_function) < 0) { in main()
285 if (waitchldrn(&pidlst, numchild) < 0) { in main()
294 free(pidlst); in main()
298 if (forkchldrn(&pidlst, numchild, WRITE_DIRECT, child_function) < 0) { in main()
303 if (waitchldrn(&pidlst, numchild) < 0) { in main()
311 free(pidlst); in main()
315 if (forkchldrn(&pidlst, numchild, RDWR_DIRECT, child_function) < 0) { in main()
320 if (waitchldrn(&pidlst, numchild) < 0) { in main()
328 free(pidlst); in main()
Ddiotest_routines.c168 int forkchldrn(int **pidlst, int numchld, int action, int (*chldfunc) ()) in forkchldrn() argument
172 if ((*pidlst = ((int *)malloc(sizeof(int) * numchld))) == 0) { in forkchldrn()
182 killchldrn(pidlst, i, SIGTERM); in forkchldrn()
188 *(*pidlst + i) = cpid; in forkchldrn()
197 int killchldrn(int **pidlst, int numchld, int sig) in killchldrn() argument
202 cpid = *(*pidlst + i); in killchldrn()
218 int waitchldrn(int **pidlst, int numchld) in waitchldrn() argument
224 cpid = *(*pidlst + i); in waitchldrn()
Ddiotest6.c254 int *pidlst; in main() local
308 if (forkchldrn(&pidlst, numchild, READ_DIRECT, child_function) < 0) { in main()
313 if (waitchldrn(&pidlst, numchild) < 0) { in main()
322 free(pidlst); in main()
326 if (forkchldrn(&pidlst, numchild, WRITE_DIRECT, child_function) < 0) { in main()
331 if (waitchldrn(&pidlst, numchild) < 0) { in main()
339 free(pidlst); in main()
343 if (forkchldrn(&pidlst, numchild, RDWR_DIRECT, child_function) < 0) { in main()
348 if (waitchldrn(&pidlst, numchild) < 0) { in main()
356 free(pidlst); in main()
Ddiotest_routines.h8 extern int forkchldrn(int **pidlst, int numchld, int action, int (*chldfunc)());
9 extern int waitchldrn(int **pidlst, int numchld);
10 extern int killchldrn(int **pidlst, int numchld, int sig);