Lines Matching refs:iov
41 static int iov_trans_to_buf(char *buf, ssize_t totallen, const struct iovec *iov, int iovcnt)
50 writebuf = (char *)iov[i].iov_base;
51 bytestowrite = iov[i].iov_len;
79 ssize_t vfs_writev(int fd, const struct iovec *iov, int iovcnt, off_t *offset)
88 if ((iov == NULL) || (iovcnt > IOV_MAX)) {
93 if (SSIZE_MAX - buflen < iov[i].iov_len) {
97 buflen += iov[i].iov_len;
114 ret = iov_trans_to_buf(buf, totallen, iov, iovcnt);
135 ssize_t writev(int fd, const struct iovec *iov, int iovcnt)
137 return vfs_writev(fd, iov, iovcnt, NULL);