Searched refs:val_iovec (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/fs/ftest/ |
D | ftest08.c | 236 struct iovec val_iovec[MAXIOVCNT]; in dotest() local 276 if ((val_iovec[i].iov_base = malloc(w_ioveclen)) == NULL) { in dotest() 279 val_iovec[i].iov_len = w_ioveclen; in dotest() 320 memset(val_iovec[i].iov_base, val, in dotest() 321 val_iovec[i].iov_len); in dotest() 393 val_iovec[i].iov_base, in dotest() 422 writev(fd, &val_iovec[0], MAXIOVCNT)) < csize) { in dotest() 463 if (writev(fd, &val_iovec[0], MAXIOVCNT) in dotest()
|
D | ftest04.c | 223 struct iovec val_iovec[MAXIOVCNT]; in dotest() local 265 if ((val_iovec[i].iov_base = malloc(w_ioveclen)) == NULL) { in dotest() 269 val_iovec[i].iov_len = w_ioveclen; in dotest() 309 memset(val_iovec[i].iov_base, val, in dotest() 310 val_iovec[i].iov_len); in dotest() 378 val_iovec[i].iov_base, in dotest() 405 writev(fd, &val_iovec[0], MAXIOVCNT)) < csize) { in dotest() 444 if (writev(fd, &val_iovec[0], MAXIOVCNT) in dotest()
|
D | ftest07.c | 288 struct iovec val_iovec[MAXIOVCNT]; in dotest() local 326 if ((val_iovec[i].iov_base = calloc(w_ioveclen, 1)) == NULL) { in dotest() 330 val_iovec[i].iov_len = w_ioveclen; in dotest() 379 memset(val_iovec[i].iov_base, val, in dotest() 380 val_iovec[i].iov_len); in dotest() 460 val_iovec[i].iov_base, in dotest() 496 writev(fd, &val_iovec[0], MAXIOVCNT)) < csize) { in dotest()
|
D | ftest03.c | 288 struct iovec val_iovec[MAXIOVCNT]; in dotest() local 324 if ((val_iovec[i].iov_base = calloc(w_ioveclen, 1)) == 0) { in dotest() 328 val_iovec[i].iov_len = w_ioveclen; in dotest() 382 memset(val_iovec[i].iov_base, val, in dotest() 383 val_iovec[i].iov_len); in dotest() 465 val_iovec[i].iov_base, in dotest() 501 writev(fd, &val_iovec[0], MAXIOVCNT)) < csize) { in dotest()
|