Searched refs:rd_iovec (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/syscalls/preadv/ |
D | preadv03.c | 44 static struct iovec rd_iovec[] = { variable 66 vec = rd_iovec[0].iov_base; in verify_direct_preadv() 71 TEST(preadv(fd, rd_iovec, tc->count, *tc->offset)); in verify_direct_preadv() 128 rd_iovec[0].iov_base = SAFE_MEMALIGN(blksz, blksz); in setup() 129 rd_iovec[0].iov_len = blksz; in setup() 135 free(rd_iovec[0].iov_base); in cleanup()
|
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()
|
/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 | 63 struct iovec rd_iovec[MAX_IOVEC] = { variable 117 if (readv(fd[0], rd_iovec, 1) < 0) { in main() 131 if (readv(fd[0], (rd_iovec + 6), 3) < 0) { in main() 149 if (readv(fd[1], (rd_iovec + 9), 1) < 0) { in main() 163 if (readv(fd[0], (rd_iovec + 10), -1) < 0) { in main() 230 rd_iovec[6].iov_base = bad_addr; in setup()
|
D | readv03.c | 65 struct iovec rd_iovec[1] = { variable 93 if (readv(fd, rd_iovec, 1) < 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/preadv2/ |
D | preadv201.c | 30 static struct iovec rd_iovec[] = { variable 57 vec = rd_iovec[0].iov_base; in verify_preadv2() 62 TEST(preadv2(fd, rd_iovec, tc->count, tc->read_off, 0)); in verify_preadv2()
|