Lines Matching refs:resid
588 size_t resid, minlen;
595 resid = uio->uio_resid;
607 for (i = 0; i < uio->uio_iovcnt && resid != 0; i++) {
612 minlen = MIN(resid, iov[i].iov_len);
620 resid -= minlen;
627 * Append the segments that describe at most 'resid' bytes from a
632 sglist_consume_uio(struct sglist *sg, struct uio *uio, size_t resid)
650 while (resid > 0 && uio->uio_resid) {
658 if (len > resid)
659 len = resid;
670 resid -= done;