Lines Matching defs:iovcnt
237 ("%s: uio %p iovcnt underflow", __func__, uio));
355 copyiniov(const struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error)
360 if (iovcnt > UIO_MAXIOV)
362 iovlen = iovcnt * sizeof(struct iovec);
373 copyinuio(const struct iovec *iovp, u_int iovcnt, struct uio **uiop)
381 if (iovcnt > UIO_MAXIOV)
383 iovlen = iovcnt * sizeof(struct iovec);
384 uio = allocuio(iovcnt);
391 uio->uio_iovcnt = iovcnt;
395 for (i = 0; i < iovcnt; i++) {
408 allocuio(u_int iovcnt)
413 KASSERT(iovcnt <= UIO_MAXIOV,
414 ("Requested %u iovecs exceed UIO_MAXIOV", iovcnt));
415 iovlen = iovcnt * sizeof(struct iovec);