Lines Matching defs:tdvp

5865 	vnode_t tvp, fvp, tdvp, sdvp;
5888 tdvp = tond.ni_dvp;
5902 if ((error = vnode_authorize(tdvp, NULL, KAUTH_VNODE_ADD_FILE, ctx)) != 0)
5905 if (fvp == tdvp)
5915 error = VNOP_COPYFILE(fvp, tdvp, tvp, &tond.ni_cnd, uap->mode, uap->flags, ctx);
5919 * nameidone has to happen before we vnode_put(tdvp)
5920 * since it may need to release the fs_nodelock on the tdvp
5926 vnode_put(tdvp);
5949 vnode_t tvp, tdvp;
5983 fdvp = tdvp = NULL;
6015 tdvp = tond->ni_dvp;
6023 * 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.
6024 * Suppose fdvp and tdvp are not on the same mount.
6025 * 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,
6031 if (fdvp->v_mount != tdvp->v_mount) {
6039 error = vn_authorize_rename(fdvp, fvp, &fromnd->ni_cnd, tdvp, tvp, &tond->ni_cnd, ctx, NULL);
6087 (fdvp == tdvp) &&
6106 if ((fvp->v_mount != tdvp->v_mount) ||
6132 if (fvp == tvp && fdvp == tdvp) {
6150 if (tdvp != fdvp && fvp->v_type == VDIR) {
6181 vnode_put(tdvp);
6268 to_len = safe_getpath(tdvp, tond->ni_cnd.cn_nameptr, to_name, MAXPATHLEN, &to_truncated);
6272 tdvp, &tvp, &tond->ni_cnd, tvap,
6403 if (fdvp != tdvp)
6406 vnode_update_identity(fvp, tdvp, tond->ni_cnd.cn_nameptr, tond->ni_cnd.cn_namelen, tond->ni_cnd.cn_hash, update_flags);
6422 if (tdvp) {
6424 * nameidone has to happen before we vnode_put(tdvp)
6425 * since it may need to release the fs_nodelock on the tdvp
6431 vnode_put(tdvp);