Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/fs/ftest/
Dftest04.c223 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()
Dftest08.c236 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()
Dftest07.c288 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()
Dftest03.c288 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()