Lines Matching defs:tdvp
2506 vnode_t fvp, tvp, tdvp, fdvp, fdirp, tdirp;
2539 fdvp = tdvp = NULL;
2622 tdvp = toni.ni_dvp;
2671 if (fvp == tdvp) {
2682 * If tvp is a directory and not the same as fdvp, or tdvp is not the same as fdvp,
2698 } else if (tdvp != fdvp) {
2705 /* moving into tdvp or tvp, must have rights to add */
2706 if ((error = nfsrv_authorize(((tvp != NULL) && vnode_isdir(tvp)) ? tvp : tdvp,
2720 ((error = nfsrv_authorize(tvp, tdvp, KAUTH_VNODE_DELETE, ctx, tnxo, 0)) != 0))
2731 if ((vnode_mount(fvp) != vnode_mount(tdvp)) ||
2749 * o tdvp
2754 if (tdvp->v_parent == fvp) {
2785 if ((fvp == tvp) && (fdvp == tdvp)) {
2803 if (tdvp != fdvp && fvtype == VDIR) {
2832 * nameidone has to happen before we vnode_put(tdvp)
2833 * since it may need to release the fs_nodelock on the tdvp
2839 vnode_put(tdvp);
2867 fdvp = tdvp = NULL;
2944 } else if (vn_getpath(tdvp, to_name, &to_len)) {
2979 if (fdvp != tdvp)
2981 vnode_update_identity(fvp, tdvp, toni.ni_cnd.cn_nameptr,
3019 if (tdvp) {
3021 * nameidone has to happen before we vnode_put(tdvp)
3022 * since it may need to release the fs_nodelock on the tdvp
3027 vnode_put(tdvp);
3029 tdvp = NULL;
3076 if (tdvp) {
3078 * nameidone has to happen before we vnode_put(tdvp)
3079 * since it may need to release the fs_nodelock on the tdvp
3085 vnode_put(tdvp);