Lines Matching refs:fromparent
880 struct sdev_node *fromparent = NULL;
902 fromparent = VTOSDEV(odvp);
906 rw_enter(&fromparent->sdev_dotdot->sdev_contents, RW_READER);
907 if (fromparent->sdev_state == SDEV_ZOMBIE) {
908 rw_exit(&fromparent->sdev_dotdot->sdev_contents);
913 if (!SDEV_IS_GLOBAL(fromparent)) {
914 rw_exit(&fromparent->sdev_dotdot->sdev_contents);
917 rw_exit(&fromparent->sdev_dotdot->sdev_contents);
1007 samedir = (fromparent == toparent);
1041 error = sdev_rnmnode(fromparent, fromdv, toparent, &todv, nnm, cred);
1055 rw_enter(&fromparent->sdev_contents, RW_READER);
1056 fromdv = sdev_cache_lookup(fromparent, onm);
1058 rw_exit(&fromparent->sdev_contents);
1066 rw_exit(&fromparent->sdev_contents);
1073 rw_exit(&fromparent->sdev_contents);
1087 rw_enter(&fromparent->sdev_contents, RW_WRITER);
1089 sdev_cache_update(fromparent, &fromdv, onm,
1095 ASSERT(fromparent->sdev_attrvp);
1098 error = VOP_REMOVE(fromparent->sdev_attrvp,
1102 error = VOP_RMDIR(fromparent->sdev_attrvp,
1103 onm, fromparent->sdev_attrvp, kcred, ct, 0);
1109 fromparent->sdev_path));
1113 rw_exit(&fromparent->sdev_contents);