Lines Matching refs:uio_resid
93 limit = uio->uio_resid / DE_SIZE;
94 if (uio->uio_resid < DE_SIZE || uio->uio_offset < 0) {
204 if (uiop->uio_resid == 0)
208 /* if (uiop->uio_offset + uiop->uio_resid > smp->nm_maxfilesize)
261 uiop->uio_resid);
264 /* if (uiop->uio_offset + uiop->uio_resid > smp->nm_maxfilesize)
286 if (uiop->uio_resid == 0)
297 uiop->uio_resid);
330 io.iov_len = uiop->uio_resid = bp->b_bcount;
339 if (uiop->uio_resid) {
340 int left = uiop->uio_resid;
359 io.iov_len = uiop->uio_resid = bp->b_dirtyend - bp->b_dirtyoff;
404 bp->b_resid = uiop->uio_resid;
482 uio.uio_resid = count;
493 if (error && (uio.uio_resid == count)) {
498 size = count - uio.uio_resid;
606 uio.uio_resid = count;
611 uio.uio_resid);
625 vnode_pager_undirty_pages(pages, rtvals, count - uio.uio_resid,