Home | History | Annotate | Download | only in chfs

Lines Matching refs:uio_offset

656 	if ((u_int64_t)uio->uio_offset > ump->um_maxfilesize)
661 if (uio->uio_offset >= ip->size)
673 bytelen = MIN(ip->size - uio->uio_offset,
688 bytesinfile = ip->size - uio->uio_offset;
691 lbn = chfs_lblkno(chmp, uio->uio_offset);
694 blkoffset = chfs_blkoff(chmp, uio->uio_offset);
794 uio->uio_offset = ip->size;
795 if ((ip->flags & APPEND) && uio->uio_offset != ip->size)
809 if (uio->uio_offset < 0 ||
810 (u_int64_t)uio->uio_offset +
812 dbg("uio->uio_offset = %lld | uio->uio_offset + "
814 (long long)uio->uio_offset,
815 (uint64_t)uio->uio_offset + uio->uio_resid,
825 uio->uio_offset + uio->uio_resid >
837 origoff = uio->uio_offset;
843 MAX(osize, uio->uio_offset)));
845 nsize = MAX(osize, uio->uio_offset + uio->uio_resid);
881 oldoff = uio->uio_offset;
882 blkoffset = chfs_blkoff(chmp, uio->uio_offset);
895 overwrite = uio->uio_offset >= preallocoff &&
896 uio->uio_offset < endallocoff;
898 chfs_blkoff(chmp, uio->uio_offset) == 0 &&
899 (uio->uio_offset & PAGE_MASK) == 0) {
916 error = ufs_balloc_range(vp, uio->uio_offset, bytelen,
922 error = GOP_ALLOC(vp, uio->uio_offset, bytelen,
957 if (!async && oldoff >> 16 != uio->uio_offset >> 16) {
960 (uio->uio_offset >> 16) << 16,
971 round_page(chfs_blkroundup(chmp, uio->uio_offset)),
990 uio->uio_offset -= resid - uio->uio_resid;
1364 * uio_offset by an arbitrary size, so we discard any change
1365 * to uio_offset and set it to our own value on return
1367 offset = uio->uio_offset;
1434 uio->uio_offset = offset;
1438 uio->uio_offset == CHFS_OFFSET_EOF);