Lines Matching defs:cvd
4794 vdev_t *vd, *pvd, *cvd, *tvd;
4866 cvd = pvd->vdev_child[c];
4868 if (cvd == vd || cvd->vdev_path == NULL)
4871 if (strncmp(cvd->vdev_path, vd->vdev_path, len) == 0 &&
4872 strcmp(cvd->vdev_path + len, "/old") == 0) {
4873 spa_strfree(cvd->vdev_path);
4874 cvd->vdev_path = spa_strdup(vd->vdev_path);
4909 cvd = pvd->vdev_child[pvd->vdev_children - 1];
4921 ASSERT(cvd->vdev_isspare);
4922 spa_spare_remove(cvd);
4923 unspare_guid = cvd->vdev_guid;
4925 cvd->vdev_unspare = B_TRUE;
4934 cvd->vdev_unspare = B_FALSE;
4935 vdev_remove_parent(cvd);
4943 tvd = cvd->vdev_top;
4949 vdev_propagate_state(cvd);
5826 vdev_t *cvd = vd->vdev_child[c];
5827 spa_async_autoexpand(spa, cvd);