Searched defs:iovecs (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/net/quic/
H A Dquic_stream_sequencer_test.cc72 iovec iovecs[5]; local
73 size_t num_iovecs = sequencer_->GetReadableRegions(iovecs,
74 arraysize(iovecs));
75 return VerifyIovecs(iovecs, num_iovecs, expected, num_expected);
78 bool VerifyIovecs(iovec* iovecs, argument
83 LOG(ERROR) << "Incorrect number of iovecs. Expected: "
88 if (!VerifyIovec(iovecs[i], expected[i])) {
/external/fio/engines/
H A Dsync.c23 struct iovec *iovecs; member in struct:syncio_data
76 struct iovec *iov = &sd->iovecs[0];
181 sd->iovecs[idx].iov_base = io_u->xfer_buf;
182 sd->iovecs[idx].iov_len = io_u->xfer_buflen;
290 ret = readv(f->fd, sd->iovecs, sd->queued);
292 ret = writev(f->fd, sd->iovecs, sd->queued);
307 sd->iovecs = malloc(td->o.iodepth * sizeof(struct iovec));
318 free(sd->iovecs);

Completed in 743 milliseconds