Lines Matching defs:iovcnt
95 unsigned int iovcnt, size_t *residp)
104 if (iovcnt > UIO_SMALLIOV) {
105 if (iovcnt > IOV_MAX)
107 iov = mallocarray(iovcnt, sizeof(*iov), M_IOV, M_WAITOK);
108 } else if (iovcnt > 0) {
115 if ((error = copyin(uiov, iov, iovcnt * sizeof(*iov))))
120 ktriovec(p, iov, iovcnt);
123 for (i = 0; i < iovcnt; i++) {
143 iovec_free(struct iovec *iov, unsigned int iovcnt)
145 if (iovcnt > UIO_SMALLIOV)
146 free(iov, M_IOV, iovcnt * sizeof(*iov));
184 syscallarg(int) iovcnt;
187 int error, iovcnt = SCARG(uap, iovcnt);
191 error = iovec_copyin(SCARG(uap, iovp), &iov, aiov, iovcnt, &resid);
196 auio.uio_iovcnt = iovcnt;
201 iovec_free(iov, iovcnt);
312 syscallarg(int) iovcnt;
315 int error, iovcnt = SCARG(uap, iovcnt);
319 error = iovec_copyin(SCARG(uap, iovp), &iov, aiov, iovcnt, &resid);
324 auio.uio_iovcnt = iovcnt;
329 iovec_free(iov, iovcnt);