Lines Matching defs:tdvp
2523 vnode_t fvp, tvp, tdvp, fdvp, fdirp, tdirp;
2557 fdvp = tdvp = NULL;
2646 tdvp = toni.ni_dvp;
2695 if (fvp == tdvp) {
2706 * If tvp is a directory and not the same as fdvp, or tdvp is not the same as fdvp,
2722 } else if (tdvp != fdvp) {
2729 /* moving into tdvp or tvp, must have rights to add */
2730 if ((error = nfsrv_authorize(((tvp != NULL) && vnode_isdir(tvp)) ? tvp : tdvp,
2744 ((error = nfsrv_authorize(tvp, tdvp, KAUTH_VNODE_DELETE, ctx, tnxo, 0)) != 0))
2755 if ((vnode_mount(fvp) != vnode_mount(tdvp)) ||
2773 * o tdvp
2778 if (tdvp->v_parent == fvp) {
2809 if ((fvp == tvp) && (fdvp == tdvp)) {
2827 if (tdvp != fdvp && fvtype == VDIR) {
2856 * nameidone has to happen before we vnode_put(tdvp)
2857 * since it may need to release the fs_nodelock on the tdvp
2863 vnode_put(tdvp);
2891 fdvp = tdvp = NULL;
2952 to_len = safe_getpath(tdvp, toni.ni_cnd.cn_nameptr, to_name, MAXPATHLEN, &to_truncated);
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);