Lines Matching defs:iosize
248 mcopyinuio(struct stdata *stp, uio_t *uiop, ssize_t iosize,
255 if (iosize == INFPSZ || iosize > uiop->uio_resid)
256 iosize = uiop->uio_resid;
259 maxblk = iosize;
262 if (iosize < 0 || maxblk < 0 || (maxblk == 0 && iosize > 0))
269 * We will enter the loop below if iosize is 0; it will allocate an
272 * down the much more likely case where iosize is larger than 0.
278 blocksize = MIN(iosize, maxblk);
299 iosize -= blocksize;
300 } while (iosize > 0);