Lines Matching refs:fromnd
3704 struct nameidata fromnd, tond;
3713 NDINIT(&fromnd, DELETE, NOFOLLOW | USEDVP | CN_NBMOUNTLOOK, UIO_SYSSPACE,
3715 fromnd.ni_dvp = fdvp;
3716 error = namei(&fromnd);
3725 } else if (fromnd.ni_vp->v_type != VREG) {
3726 vnode_put(fromnd.ni_vp);
3727 nameidone(&fromnd);
3781 vnode_put(fromnd.ni_vp);
3782 nameidone(&fromnd);
3787 a.a_fvp = fromnd.ni_vp;
3788 a.a_fcnp = &fromnd.ni_cnd;
3798 if (tond.ni_vp == NULL || tond.ni_vp == fromnd.ni_vp) {
3799 lock_first = fromnd.ni_vp;
3801 } else if (fromnd.ni_vp < tond.ni_vp) {
3802 lock_first = fromnd.ni_vp;
3806 lock_second = fromnd.ni_vp;
3818 oname = fromnd.ni_vp->v_name;
3819 oparent = fromnd.ni_vp->v_parent;
3829 vnode_setneedinactive(fromnd.ni_vp);
3831 if (tond.ni_vp && tond.ni_vp != fromnd.ni_vp)
3836 if (oname == fromnd.ni_vp->v_name &&
3837 oparent == fromnd.ni_vp->v_parent) {
3845 vnode_update_identity(fromnd.ni_vp, tdvp,
3853 vnode_put(fromnd.ni_vp);
3858 nameidone(&fromnd);