Home
last modified time | relevance | path

Searched refs:rd_iovec (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/preadv/
Dpreadv03.c32 static struct iovec rd_iovec[] = { variable
54 vec = rd_iovec[0].iov_base; in verify_direct_preadv()
59 TEST(preadv(fd, rd_iovec, tc->count, *tc->offset)); in verify_direct_preadv()
116 rd_iovec[0].iov_base = SAFE_MEMALIGN(blksz, blksz); in setup()
117 rd_iovec[0].iov_len = blksz; in setup()
123 free(rd_iovec[0].iov_base); in cleanup()
Dpreadv01.c28 static struct iovec *rd_iovec; variable
47 vec = rd_iovec[0].iov_base; in verify_preadv()
52 TEST(preadv(fd, rd_iovec, tc->count, tc->offset)); in verify_preadv()
111 {&rd_iovec, .iov_sizes = (int[]){CHUNK, 0, -1}},
/external/ltp/testcases/kernel/syscalls/readv/
Dreadv01.c46 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()
Dreadv02.c63 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()
Dreadv03.c65 struct iovec rd_iovec[1] = { variable
93 if (readv(fd, rd_iovec, 1) < 0) { in main()
/external/ltp/testcases/kernel/syscalls/preadv2/
Dpreadv201.c30 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()
Dpreadv203.c105 struct iovec rd_iovec[] = { in nowait_reader() local
118 TEST(preadv2(fd, rd_iovec, 2, off, RWF_NOWAIT)); in nowait_reader()
135 verify_short_read(rd_iovec, 2, off, TST_RET); in nowait_reader()