Searched refs:rd_iovec (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/readv/ |
D | readv01.c | 46 static struct iovec rd_iovec[] = { variable 71 if (readv(fd, rd_iovec, 0) == -1) in main() 76 memset(rd_iovec[0].iov_base, 0x00, CHUNK); in main() 78 if (readv(fd, rd_iovec, 3) != CHUNK) { in main() 83 vec = rd_iovec[0].iov_base; in main()
|
D | readv02.c | 62 struct iovec rd_iovec[MAX_IOVEC] = { variable 116 if (readv(fd[0], rd_iovec, 1) < 0) { in main() 130 if (readv(fd[0], (rd_iovec + 6), 3) < 0) { in main() 148 if (readv(fd[1], (rd_iovec + 9), 1) < 0) { in main() 162 if (readv(fd[0], (rd_iovec + 10), -1) < 0) { in main() 231 rd_iovec[6].iov_base = bad_addr; in setup()
|
D | readv03.c | 64 struct iovec rd_iovec[1] = { variable 92 if (readv(fd, rd_iovec, 1) < 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
D | preadv01.c | 37 static struct iovec rd_iovec[] = { variable 59 vec = rd_iovec[0].iov_base; in verify_preadv() 64 TEST(preadv(fd, rd_iovec, tc->count, tc->offset)); in verify_preadv()
|