Lines Matching refs:uio_resid
147 if (uio->uio_resid == 0)
157 resid = omin(uio->uio_resid, bytesinfile);
212 uio->uio_resid, (uintmax_t)uio->uio_offset));
216 if (uio->uio_resid == 0)
239 resid = uio->uio_resid;
242 while (uio->uio_resid) {
246 towrite = omin(uio->uio_resid, blocksize - off);
285 if (resid > uio->uio_resid && ap->a_cred &&
289 if (file_size < uio->uio_offset + uio->uio_resid) {
291 uio->uio_resid;
294 uio->uio_resid);
1194 (uintmax_t)file_size, uio->uio_resid ));
1199 (uio->uio_resid >= sizeof(struct dirent))) {
1247 if (uio->uio_resid < GENERIC_DIRSIZ(&dirent))