Searched refs:rd_iovec (Results 1 - 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/readv/
H A Dreadv01.c46 static struct iovec rd_iovec[] = { variable in typeref:struct:iovec
71 if (readv(fd, rd_iovec, 0) == -1)
76 memset(rd_iovec[0].iov_base, 0x00, CHUNK);
78 if (readv(fd, rd_iovec, 3) != CHUNK) {
83 vec = rd_iovec[0].iov_base;
H A Dreadv02.c63 struct iovec rd_iovec[MAX_IOVEC] = { variable in typeref:struct:iovec
117 if (readv(fd[0], rd_iovec, 1) < 0) {
131 if (readv(fd[0], (rd_iovec + 6), 3) < 0) {
149 if (readv(fd[1], (rd_iovec + 9), 1) < 0) {
163 if (readv(fd[0], (rd_iovec + 10), -1) < 0) {
230 rd_iovec[6].iov_base = bad_addr;
H A Dreadv03.c65 struct iovec rd_iovec[1] = { variable in typeref:struct:iovec
93 if (readv(fd, rd_iovec, 1) < 0) {
/external/ltp/testcases/kernel/syscalls/preadv/
H A Dpreadv01.c37 static struct iovec rd_iovec[] = { variable in typeref:struct:iovec
59 vec = rd_iovec[0].iov_base;
64 TEST(preadv(fd, rd_iovec, tc->count, tc->offset));

Completed in 116 milliseconds