Lines Matching refs:resid
283 ssize_t resid;
328 resid = uio_resid(uio);
333 if (resid == 0)
394 writelimit = offset + resid;
529 resid -= bytesToAdd;
695 if (resid != uio_resid(uio)) {
699 resid = uio_resid(uio);
736 if (resid > uio_resid(uio)) {
743 resid += bytesToAdd;
761 if (resid > uio_resid(uio) && cred && suser(cred, NULL)) {
777 // LP64todo - fix this! resid needs to by user_ssize_t
778 uio_setoffset(uio, (uio_offset(uio) - (resid - uio_resid(uio))));
779 uio_setresid(uio, resid);
782 } else if ((ioflag & IO_SYNC) && (resid > uio_resid(uio))) {