Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/direct_io/
Ddiotest6.c90 struct iovec *iov_r, *iov_w; in runtest() local
94 iov_w = calloc(nvector, sizeof(*iov_w)); in runtest()
95 if (!iov_r || !iov_w) { in runtest()
98 free(iov_w); in runtest()
112 iov_w[i].iov_base = valloc(bufsize); in runtest()
117 iov_w[i].iov_len = bufsize; in runtest()
123 vfillbuf(iov_w, nvector, childnum+i); in runtest()
130 n = writev(fd_w, iov_w, nvector); in runtest()
153 if (vbufcmp(iov_w, iov_r, nvector) != 0) { in runtest()
165 free(iov_w[i].iov_base); in runtest()
[all …]