Lines Matching defs:invp
3059 * Copies a byte range from invp to outvp. Calls VOP_COPY_FILE_RANGE()
3067 vn_copy_file_range(struct vnode *invp, off_t *inoffp, struct vnode *outvp,
3083 if (invp->v_type == VDIR || outvp->v_type == VDIR)
3086 invp->v_type != VREG || outvp->v_type != VREG)
3103 error = VOP_GETLOWVNODE(invp, &invpl, FREAD);
3331 * case where invp and outvp are on different file systems.
3336 vn_generic_copy_file_range(struct vnode *invp, off_t *inoffp,
3359 error = vn_lock(invp, LK_SHARED);
3362 if (VOP_PATHCONF(invp, _PC_MIN_HOLE_SIZE, &holein) != 0)
3364 error = VOP_GETATTR(invp, &inva, incred);
3367 VOP_UNLOCK(invp);
3460 blksize = MAX(invp->v_mount->mnt_stat.f_iosize,
3472 * If VOP_IOCTL(FIOSEEKHOLE) works for invp, use it and FIOSEEKDATA
3506 error = VOP_IOCTL(invp, FIOSEEKDATA, &startoff, 0,
3516 error = VOP_IOCTL(invp, FIOSEEKHOLE, &endoff, 0,
3519 * Since invp is unlocked, it may be possible for
3599 error = vn_lock(invp, LK_SHARED);
3602 error = vn_rdwr(UIO_READ, invp, dat, xfer,
3606 VOP_UNLOCK(invp);