Searched refs:r_iovec (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/fs/ftest/ |
D | ftest08.c | 231 struct iovec r_iovec[MAXIOVCNT]; in dotest() local 254 if ((r_iovec[i].iov_base = malloc(r_ioveclen)) == NULL) { in dotest() 257 r_iovec[i].iov_len = r_ioveclen; in dotest() 339 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 361 (r_iovec[i].iov_base, in dotest() 363 r_iovec[i].iov_len)) { in dotest() 374 ft_dumpiov(&r_iovec[i]); in dotest() 392 (r_iovec[i].iov_base, in dotest() 394 r_iovec[i].iov_len)) { in dotest() 405 ft_dumpiov(&r_iovec[i]); in dotest()
|
D | ftest04.c | 218 struct iovec r_iovec[MAXIOVCNT]; in dotest() local 243 if ((r_iovec[i].iov_base = malloc(r_ioveclen)) == NULL) { in dotest() 246 r_iovec[i].iov_len = r_ioveclen; in dotest() 326 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 348 (r_iovec[i].iov_base, in dotest() 350 r_iovec[i].iov_len)) { in dotest() 359 ft_dumpiov(&r_iovec[i]); in dotest() 377 (r_iovec[i].iov_base, in dotest() 379 r_iovec[i].iov_len)) { in dotest() 388 ft_dumpiov(&r_iovec[i]); in dotest()
|
D | ftest07.c | 284 struct iovec r_iovec[MAXIOVCNT]; in dotest() local 313 if ((r_iovec[i].iov_base = calloc(r_ioveclen, 1)) == NULL) { in dotest() 317 r_iovec[i].iov_len = r_ioveclen; in dotest() 398 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 421 (r_iovec[i].iov_base, in dotest() 423 r_iovec[i].iov_len)) { in dotest() 436 ft_dumpiov(&r_iovec[i]); in dotest() 459 (r_iovec[i].iov_base, in dotest() 461 r_iovec[i].iov_len)) { in dotest() 474 ft_dumpiov(&r_iovec[i]); in dotest()
|
D | ftest03.c | 284 struct iovec r_iovec[MAXIOVCNT]; in dotest() local 311 if ((r_iovec[i].iov_base = calloc(r_ioveclen, 1)) == 0) { in dotest() 315 r_iovec[i].iov_len = r_ioveclen; in dotest() 403 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 426 (r_iovec[i].iov_base, in dotest() 428 r_iovec[i].iov_len)) { in dotest() 441 ft_dumpiov(&r_iovec[i]); in dotest() 464 (r_iovec[i].iov_base, in dotest() 466 r_iovec[i].iov_len)) { in dotest() 479 ft_dumpiov(&r_iovec[i]); in dotest()
|