Lines Matching refs:iov
112 const struct const_iovec *iov, unsigned int iov_count)
118 if (write_full(tstream->fd, iov[i].iov_base, iov[i].iov_len) < 0) {
125 buffer_append(tstream->buf, iov[i].iov_base, iov[i].iov_len);
126 bytes += iov[i].iov_len;
127 tstream->ostream.ostream.offset += iov[i].iov_len;
132 bytes += iov[i].iov_len;
133 tstream->ostream.ostream.offset += iov[i].iov_len;
141 const struct const_iovec *iov, unsigned int iov_count)
156 return o_stream_temp_fd_sendv(tstream, iov, iov_count);
159 if (tstream->buf->used + iov[i].iov_len > tstream->max_mem_size) {
162 return o_stream_temp_fd_sendv(tstream, iov+i,
167 buffer_append(tstream->buf, iov[i].iov_base, iov[i].iov_len);
168 ret += iov[i].iov_len;
169 stream->ostream.offset += iov[i].iov_len;