Home
last modified time | relevance | path

Searched refs:iov_r (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
93 iov_r = calloc(nvector, sizeof(*iov_r)); in runtest()
95 if (!iov_r || !iov_w) { in runtest()
97 free(iov_r); in runtest()
104 iov_r[i].iov_base = valloc(bufsize); in runtest()
105 if (!iov_r[i].iov_base) { in runtest()
109 iov_r[i].iov_len = bufsize; in runtest()
113 if (!iov_r[i].iov_base) { in runtest()
148 n = readv(fd_r, iov_r, nvector); in runtest()
153 if (vbufcmp(iov_w, iov_r, nvector) != 0) { in runtest()
[all …]