Lines Matching defs:tvp
784 struct vnode *tvp = ap->a_tvp;
800 (tvp && (fvp->v_mount != tvp->v_mount))) {
803 if (tdvp == tvp)
807 if (tvp)
808 vput(tvp);
814 if (tvp && ((VTOI(tvp)->i_flags & (NOUNLINK | IMMUTABLE | APPEND)) ||
824 if (fvp == tvp) {
826 "rename: fvp == tvp (can't happen)");
870 if (tvp)
871 xp = VTOI(tvp);
904 vput(tvp);
909 error = vfs_relookup(tdvp, &tvp, tcnp, true);
915 if (tvp)
916 xp = VTOI(tvp);
1020 error = ext2_truncate(tvp, (off_t)0, IO_SYNC,
1025 vput(tvp);
1153 ext2_do_posix1e_acl_inheritance_dir(struct vnode *dvp, struct vnode *tvp,
1157 struct inode *ip = VTOI(tvp);
1195 error = VOP_SETACL(tvp, ACL_TYPE_ACCESS, acl, cred, td);
1197 error = VOP_SETACL(tvp, ACL_TYPE_DEFAULT, dacl, cred, td);
1224 ext2_do_posix1e_acl_inheritance_file(struct vnode *dvp, struct vnode *tvp,
1228 struct inode *ip = VTOI(tvp);
1270 error = VOP_SETACL(tvp, ACL_TYPE_ACCESS, acl, cred, td);
1309 struct vnode *tvp;
1327 error = ext2_valloc(dvp, dmode, cnp->cn_cred, &tvp);
1330 ip = VTOI(tvp);
1356 tvp->v_type = VDIR; /* Rest init'd in getnewvnode(). */
1360 error = ext2_update(tvp, 1);
1399 error = vn_rdwr(UIO_WRITE, tvp, (caddr_t)buf,
1418 error = ext2_do_posix1e_acl_inheritance_dir(dvp, tvp, dmode,
1440 vput(tvp);
1442 *ap->a_vpp = tvp;
1939 struct vnode *tvp;
1947 error = ext2_valloc(dvp, mode, cnp->cn_cred, &tvp);
1951 ip = VTOI(tvp);
1977 tvp->v_type = IFTOVT(mode); /* Rest init'd in getnewvnode(). */
1990 error = ext2_update(tvp, !DOINGASYNC(tvp));
1996 error = ext2_do_posix1e_acl_inheritance_file(dvp, tvp, mode,
2007 *vpp = tvp;
2017 vput(tvp);