Lines Matching refs:newparent
4298 * Update fnp so that its parent is newparent and its name is newname.
4302 fn_move(nfs4_fname_t *fnp, nfs4_fname_t *newparent, char *newname)
4318 * panic below from: mutex_enter(&newparent->fn_lock);
4320 ASSERT(fnp != newparent);
4324 * to newparent. It might happen that fnp was replaced by another
4348 mutex_enter(&newparent->fn_lock);
4350 tmpfnp = avl_find(&newparent->fn_children, &key, &where);
4355 * it from newparent and let it go away on its own. The
4360 mutex_exit(&newparent->fn_lock);
4362 if (tmpfnp->fn_parent == newparent) {
4363 mutex_enter(&newparent->fn_lock);
4364 avl_remove(&newparent->fn_children, tmpfnp);
4365 mutex_exit(&newparent->fn_lock);
4372 fnp->fn_parent = newparent;
4373 fn_hold(newparent);
4374 avl_insert(&newparent->fn_children, fnp, where);
4375 mutex_exit(&newparent->fn_lock);