Lines Matching refs:resid
250 user_ssize_t * resid)
264 if (resid != NULL) {
265 *resid = uio_resid(auio);
295 user_ssize_t resid;
299 orig_resid = resid = uio_resid(uio);
302 while (resid > 0) {
314 block_round(resid + remainder, blocksize),
326 if (this_resid > resid) {
327 this_resid = resid;
341 resid -= this_resid;
344 uio_setresid(uio, resid);
387 user_ssize_t resid;
390 resid = uio_resid(uio);
393 while (resid > 0) {
405 resid_block_count = block_round(resid + remainder, blocksize);
417 && block_remainder(offset + resid, blocksize) > 0) {
438 if (this_resid >= resid) {
439 this_resid = resid;
482 resid -= this_resid;
485 uio_setresid(uio, resid);
498 user_ssize_t resid;
525 resid = uio_resid(uio);
541 if ((offset + resid) > (off_t)vn->sc_fsize) {
542 resid = vn->sc_fsize - offset;
543 uio_setresid(uio, resid);
575 user_ssize_t resid;
605 resid = uio_resid(uio);
621 if ((offset + resid) > (off_t)vn->sc_fsize) {
622 resid = (off_t)vn->sc_fsize - offset;
623 uio_setresid(uio, resid);
655 u_int32_t resid;
659 resid = buf_resid(bp) / blocksize;
660 while (resid > 0) {
667 offset, resid,
687 resid -= this_resid;
691 buf_setresid(bp, resid * blocksize);
703 u_int32_t resid;
707 resid = buf_resid(bp) / blocksize;
708 while (resid > 0) {
714 offset, resid,
738 resid -= this_resid;
742 buf_setresid(bp, resid * blocksize);