Lines Matching refs:fromnd

2138 	struct nlookupdata fromnd, tond;  in nfsrv_rename()  local
2169 nlookup_zero(&fromnd); in nfsrv_rename()
2186 error = nfs_namei(&fromnd, cred, NLC_RENAME_SRC, in nfsrv_rename()
2205 fnchd.mount = fromnd.nl_nch.mount; in nfsrv_rename()
2206 fnchd.ncp = fromnd.nl_nch.ncp->nc_parent; in nfsrv_rename()
2218 KKASSERT(fromnd.nl_flags & NLC_NCPISLOCKED); in nfsrv_rename()
2219 cache_unlock(&fromnd.nl_nch); in nfsrv_rename()
2220 fromnd.nl_flags &= ~NLC_NCPISLOCKED; in nfsrv_rename()
2243 cache_lock4_tondlocked(&fnchd, &fromnd.nl_nch, in nfsrv_rename()
2245 fromnd.nl_cred, tond.nl_cred); in nfsrv_rename()
2246 fromnd.nl_flags |= NLC_NCPISLOCKED; in nfsrv_rename()
2253 if (fnchd.ncp != fromnd.nl_nch.ncp->nc_parent || in nfsrv_rename()
2255 (fromnd.nl_nch.ncp->nc_flag & (NCF_DESTROYED | NCF_UNRESOLVED)) || in nfsrv_rename()
2256 fromnd.nl_nch.ncp->nc_vp == NULL || in nfsrv_rename()
2265 fromnd.nl_path, tond.nl_path); in nfsrv_rename()
2272 fvp = fromnd.nl_nch.ncp->nc_vp; in nfsrv_rename()
2284 fdvp = fromnd.nl_nch.ncp->nc_parent->nc_vp; in nfsrv_rename()
2309 if (fvp->v_type == VDIR && (fromnd.nl_nch.ncp->nc_flag & NCF_ISMOUNTPT)) { in nfsrv_rename()
2316 if (fromnd.nl_nch.mount != tond.nl_nch.mount) { in nfsrv_rename()
2323 if (fromnd.nl_nch.ncp == tond.nl_nch.ncp->nc_parent) { in nfsrv_rename()
2337 if (fromnd.nl_nch.ncp == ncp) { in nfsrv_rename()
2349 if (fromnd.nl_nch.ncp == tond.nl_nch.ncp) in nfsrv_rename()
2358 error = VOP_NRENAME(&fromnd.nl_nch, &tond.nl_nch, in nfsrv_rename()
2398 nlookup_done(&fromnd); in nfsrv_rename()