Lines Matching refs:uio_resid
541 orig_resid = uio->uio_resid;
547 * uio->uio_offset >= 0 and uio->uio_resid >= 0.
581 NOCRED, on + uio->uio_resid, seqcount, 0, &bp);
594 n = diff > uio->uio_resid ? uio->uio_resid : diff;
603 } while (error == 0 && uio->uio_resid > 0 && n != 0);
604 if (!isadir && (error == 0 || uio->uio_resid != orig_resid) &&
657 if (uio->uio_resid == 0)
662 * uio->uio_offset >= 0 and uio->uio_resid >= 0.
664 if ((uoff_t)uio->uio_offset + uio->uio_resid > MSDOSFS_FILESIZE_MAX)
688 resid = uio->uio_resid;
713 n = min(uio->uio_resid, pmp->pm_bpcluster - croffset);
722 && (de_cluster(pmp, uio->uio_offset + uio->uio_resid)
724 || uio->uio_offset + uio->uio_resid >= dep->de_FileSize)) {
807 } while (error == 0 && uio->uio_resid > 0);
817 uio->uio_offset -= resid - uio->uio_resid;
818 uio->uio_resid = resid;
821 if (uio->uio_resid != resid)
1515 if (uio->uio_resid < sizeof(struct direntry) ||
1520 ncookies = uio->uio_resid / 16;
1565 if (uio->uio_resid < dirbuf.d_reclen)
1583 while (uio->uio_resid > 0) {
1586 n = min(pmp->pm_bpcluster - on, uio->uio_resid);
1691 if (uio->uio_resid < dirbuf.d_reclen) {