Lines Matching refs:tdvp

5927 	vnode_t tvp, fvp, tdvp, sdvp;
5950 tdvp = tond.ni_dvp;
5964 if ((error = vnode_authorize(tdvp, NULL, KAUTH_VNODE_ADD_FILE, ctx)) != 0)
5967 if (fvp == tdvp)
5977 error = VNOP_COPYFILE(fvp, tdvp, tvp, &tond.ni_cnd, uap->mode, uap->flags, ctx);
5981 * nameidone has to happen before we vnode_put(tdvp)
5982 * since it may need to release the fs_nodelock on the tdvp
5988 vnode_put(tdvp);
6011 vnode_t tvp, tdvp;
6045 fdvp = tdvp = NULL;
6077 tdvp = tond->ni_dvp;
6085 * For success, either fvp must be on the same mount as tdvp, or fvp must sit atop a vnode on the same mount as tdvp.
6086 * Suppose fdvp and tdvp are not on the same mount.
6087 * If fvp is on the same mount as tdvp, then fvp is not on the same mount as fdvp, so fvp is the root of its filesystem. If fvp is the root,
6093 if (fdvp->v_mount != tdvp->v_mount) {
6101 error = vn_authorize_rename(fdvp, fvp, &fromnd->ni_cnd, tdvp, tvp, &tond->ni_cnd, ctx, NULL);
6149 (fdvp == tdvp) &&
6168 if ((fvp->v_mount != tdvp->v_mount) ||
6194 if (fvp == tvp && fdvp == tdvp) {
6212 if (tdvp != fdvp && fvp->v_type == VDIR) {
6243 vnode_put(tdvp);
6330 to_len = safe_getpath(tdvp, tond->ni_cnd.cn_nameptr, to_name, MAXPATHLEN, &to_truncated);
6334 tdvp, &tvp, &tond->ni_cnd, tvap,
6465 if (fdvp != tdvp)
6468 vnode_update_identity(fvp, tdvp, tond->ni_cnd.cn_nameptr, tond->ni_cnd.cn_namelen, tond->ni_cnd.cn_hash, update_flags);
6484 if (tdvp) {
6486 * nameidone has to happen before we vnode_put(tdvp)
6487 * since it may need to release the fs_nodelock on the tdvp
6493 vnode_put(tdvp);