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