Lines Matching refs:resid
527 ssize_t resid; in kfread() local
537 UIO_SYSSPACE, 0, (rlim64_t)0, kcred, &resid); in kfread()
545 ASSERT(resid >= 0 && resid <= bufsiz); in kfread()
546 n = bufsiz - resid; in kfread()
549 fp->kf_fname, n, bufsiz, resid)); in kfread()
560 ssize_t resid; in kfwrite() local
574 UIO_SYSSPACE, FSYNC, rlimit, kcred, &resid); in kfwrite()
583 fp->kf_fname, len-resid, resid)); in kfwrite()
585 ASSERT(resid >= 0 && resid <= len); in kfwrite()
587 n += (len - resid); in kfwrite()
588 if (resid == 0) in kfwrite()
591 if (resid == len) { in kfwrite()
598 len -= resid; in kfwrite()
601 len = resid; in kfwrite()