Searched refs:childnum (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest3.c | 94 int runtest(int fd_r, int fd_w, int childnum, int action) in runtest() argument 103 seekoff = offset + bufsize * childnum; in runtest() 115 fillbuf(buf1, bufsize, childnum + i); in runtest() 142 childnum, (int)seekoff); in runtest() 152 int child_function(int childnum, int action) in child_function() argument 171 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function() 173 childnum); in child_function() 192 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function() 194 childnum); in child_function() 213 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function() [all …]
|
D | diotest6.c | 85 int runtest(int fd_r, int fd_w, int childnum, int action) in runtest() argument 102 seekoff = offset + bufsize * childnum; in runtest() 106 fillbuf(buf1, bufsize, childnum+i); in runtest() 137 childnum, (int)seekoff); in runtest() 147 int child_function(int childnum, int action) in child_function() argument 165 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function() 167 childnum); in child_function() 187 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function() 189 childnum); in child_function() 208 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function() [all …]
|