Home | History | Annotate | Download | only in filecorefs

Lines Matching defs:uio

198 		struct uio *a_uio;
203 struct uio *uio = ap->a_uio;
212 if (uio->uio_resid == 0)
214 if (uio->uio_offset < 0)
216 if (uio->uio_offset >= ip->i_size)
225 while (uio->uio_resid > 0) {
226 vsize_t bytelen = MIN(ip->i_size - uio->uio_offset,
227 uio->uio_resid);
232 error = ubc_uiomove(&vp->v_uobj, uio, bytelen, advice,
242 lbn = filecore_lblkno(fcmp, uio->uio_offset);
243 on = filecore_blkoff(fcmp, uio->uio_offset);
244 n = MIN(filecore_blksize(fcmp, ip, lbn) - on, uio->uio_resid);
245 diff = (off_t)ip->i_size - uio->uio_offset;
253 on = uio->uio_offset;
254 n = MIN(FILECORE_DIR_SIZE - on, uio->uio_resid);
268 error = uiomove((char *)(bp->b_data) + on, (int)n, uio);
273 } while (error == 0 && uio->uio_resid > 0 && n != 0);
287 struct uio *a_uio;
293 struct uio *uio = ap->a_uio;
310 if (uio->uio_offset % FILECORE_DIRENT_SIZE != 0)
312 i = uio->uio_offset / FILECORE_DIRENT_SIZE;
313 uiooff = uio->uio_offset;
326 ncookies = uio->uio_resid / _DIRENT_MINSIZE((struct dirent *)0);
365 if (uio->uio_resid < de->d_reclen)
367 error = uiomove(de, de->d_reclen, uio);
387 uio->uio_offset = uiooff;
411 struct uio *a_uio;