Lines Matching refs:iovcnt
102 const struct iovec *_iov, int iovcnt,
110 if (iovcnt < 0 || iovcnt > IOV_MAX) {
115 memcpy(iov, _iov, (size_t)iovcnt * sizeof(*_iov));
121 for (; iovcnt > 0 && iov[0].iov_len > 0;) {
122 res = (f) (fd, iov, iovcnt);
141 while (iovcnt > 0 && rem >= iov[0].iov_len) {
144 iovcnt--;
147 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) {
151 if (iovcnt == 0)
167 const struct iovec *_iov, int iovcnt)
169 return atomiciov6(f, fd, _iov, iovcnt, NULL, NULL);