Lines Matching defs:iov
282 struct iovec iov[2];
287 iov[0].iov_len = size;
288 iov[0].iov_base = data;
294 iov[1].iov_len = padlength[size & 3];
295 iov[1].iov_base = pad;
296 size += iov[1].iov_len;
299 while ((bytes_read = readv(svr->trans_conn->fd, iov, 2)) != size) {
303 if (iov[0].iov_len < bytes_read) {
304 int pad_bytes_read = bytes_read - iov[0].iov_len;
305 iov[1].iov_len -= pad_bytes_read;
306 iov[1].iov_base =
307 (char *)iov[1].iov_base + pad_bytes_read;
308 iov[0].iov_len = 0;
310 iov[0].iov_len -= bytes_read;
311 iov[0].iov_base = (char *)iov[0].iov_base + bytes_read;
341 struct iovec iov[3];
385 iov[i].iov_len = len; \
386 iov[i].iov_base = (pointer) + before; \
397 if ((len = _FSTransWritev(svr->trans_conn, iov, i)) >= 0) {