Lines Matching refs:uio_offset

150 	uio.uio_offset = IDX_TO_OFF(pages[0]->pindex);
295 uio.uio_offset = offset;
420 if (uio->uio_offset < 0) /* XXX VDIR cookies can be negative */
434 tmp_off = uio->uio_offset + uio->uio_resid;
436 (tmp_off > nmp->nm_maxfilesize || tmp_off < uio->uio_offset)) {
463 lbn = uio->uio_offset / biosize;
464 on = uio->uio_offset - (lbn * biosize);
561 && uio->uio_offset >= np->n_direofoffset) {
564 lbn = (uoff_t)uio->uio_offset / NFS_DIRBLKSIZ;
565 on = uio->uio_offset & (NFS_DIRBLKSIZ - 1);
670 if (np->n_direofoffset && n > np->n_direofoffset - uio->uio_offset)
671 n = np->n_direofoffset - uio->uio_offset;
729 uio.uio_offset = uiop->uio_offset;
741 uiop->uio_offset += size;
781 t_uio->uio_offset = uiop->uio_offset;
822 uiop->uio_offset += size;
914 * If IO_APPEND then load uio_offset. We restart here if we cannot
924 uio->uio_offset = np->n_size;
928 if (uio->uio_offset < 0)
930 tmp_off = uio->uio_offset + uio->uio_resid;
931 if (tmp_off > nmp->nm_maxfilesize || tmp_off < uio->uio_offset)
989 lbn = uio->uio_offset / biosize;
990 on = uio->uio_offset - (lbn * biosize);
1003 if ((uio->uio_offset == np->n_size ||
1006 uio->uio_offset + n > np->n_size)) && n) {
1021 np->n_size = uio->uio_offset + n;
1049 if (uio->uio_offset + n > np->n_size) {
1050 np->n_size = uio->uio_offset + n;
1169 uio->uio_offset -= local_resid - uio->uio_resid;
1236 uio->uio_offset -= orig_resid - uio->uio_resid;
1601 uiop->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE;
1636 uiop->uio_offset = (off_t)0;
1642 uiop->uio_offset = ((u_quad_t)bp->b_lblkno) * NFS_DIRBLKSIZ;
1699 uiop->uio_offset = (off_t)bp->b_blkno * DEV_BSIZE