Lines Matching defs:resid
205 size_t resid;
215 resid = uio_resid(uio);
224 if (resid == 0)
261 writelimit = offset + resid;
349 resid -= bytesToAdd;
527 if (resid > uio_resid(uio)) {
534 resid += bytesToAdd;
553 if (resid > uio_resid(uio) && cred && suser(cred, NULL)) {
569 // LP64todo - fix this! resid needs to by user_ssize_t
570 uio_setoffset(uio, (uio_offset(uio) - (resid - uio_resid(uio))));
571 uio_setresid(uio, resid);
574 } else if ((ioflag & IO_SYNC) && (resid > uio_resid(uio))) {