Searched refs:r_iovec (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/fs/ftest/ |
D | ftest04.c | 228 struct iovec r_iovec[MAXIOVCNT]; in dotest() local 253 if ((r_iovec[i].iov_base = malloc(r_ioveclen)) == NULL) { in dotest() 256 r_iovec[i].iov_len = r_ioveclen; in dotest() 336 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 358 (r_iovec[i].iov_base, in dotest() 360 r_iovec[i].iov_len)) { in dotest() 369 ft_dumpiov(&r_iovec[i]); in dotest() 387 (r_iovec[i].iov_base, in dotest() 389 r_iovec[i].iov_len)) { in dotest() 398 ft_dumpiov(&r_iovec[i]); in dotest()
|
D | ftest08.c | 235 struct iovec r_iovec[MAXIOVCNT]; in dotest() local 258 if ((r_iovec[i].iov_base = malloc(r_ioveclen)) == NULL) { in dotest() 261 r_iovec[i].iov_len = r_ioveclen; in dotest() 343 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 365 (r_iovec[i].iov_base, in dotest() 367 r_iovec[i].iov_len)) { in dotest() 378 ft_dumpiov(&r_iovec[i]); in dotest() 396 (r_iovec[i].iov_base, in dotest() 398 r_iovec[i].iov_len)) { in dotest() 409 ft_dumpiov(&r_iovec[i]); in dotest()
|
D | ftest03.c | 291 struct iovec r_iovec[MAXIOVCNT]; in dotest() local 318 if ((r_iovec[i].iov_base = calloc(r_ioveclen, 1)) == 0) { in dotest() 322 r_iovec[i].iov_len = r_ioveclen; in dotest() 410 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 433 (r_iovec[i].iov_base, in dotest() 435 r_iovec[i].iov_len)) { in dotest() 448 ft_dumpiov(&r_iovec[i]); in dotest() 471 (r_iovec[i].iov_base, in dotest() 473 r_iovec[i].iov_len)) { in dotest() 486 ft_dumpiov(&r_iovec[i]); in dotest()
|
D | ftest07.c | 290 struct iovec r_iovec[MAXIOVCNT]; in dotest() local 319 if ((r_iovec[i].iov_base = calloc(r_ioveclen, 1)) == NULL) { in dotest() 323 r_iovec[i].iov_len = r_ioveclen; in dotest() 404 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 427 (r_iovec[i].iov_base, in dotest() 429 r_iovec[i].iov_len)) { in dotest() 442 ft_dumpiov(&r_iovec[i]); in dotest() 465 (r_iovec[i].iov_base, in dotest() 467 r_iovec[i].iov_len)) { in dotest() 480 ft_dumpiov(&r_iovec[i]); in dotest()
|