Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/direct_io/
Ddiotest3.c91 int runtest(int fd_r, int fd_w, int childnum, int action) in runtest() argument
99 seekoff = offset + bufsize * childnum; in runtest()
111 fillbuf(buf1, bufsize, childnum + i); in runtest()
138 childnum, (int)seekoff); in runtest()
148 int child_function(int childnum, int action) in child_function() argument
167 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function()
169 childnum); in child_function()
188 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function()
190 childnum); in child_function()
209 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function()
[all …]
Ddiotest6.c85 int runtest(int fd_r, int fd_w, int childnum, int action) in runtest() argument
121 seekoff = offset + bufsize * childnum * nvector; in runtest()
123 vfillbuf(iov_w, nvector, childnum+i); in runtest()
155 childnum, (int)seekoff); in runtest()
174 int child_function(int childnum, int action) in child_function() argument
192 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function()
194 childnum); in child_function()
214 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function()
216 childnum); in child_function()
235 if (runtest(fd_r, fd_w, childnum, action) == -1) { in child_function()
[all …]