Lines Matching refs:rvd
1000 vdev_t *rvd = spa->spa_root_vdev; in ztest_random_vdev_top() local
1006 top = ztest_random(rvd->vdev_children); in ztest_random_vdev_top()
1007 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
2478 vdev_t *rvd = spa->spa_root_vdev; in find_vdev_hole() local
2483 for (c = 0; c < rvd->vdev_children; c++) { in find_vdev_hole()
2484 vdev_t *cvd = rvd->vdev_child[c]; in find_vdev_hole()
2570 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_aux_add_remove() local
2609 vdev_lookup_by_path(rvd, path) == NULL) in ztest_vdev_aux_add_remove()
2653 vdev_t *rvd = spa->spa_root_vdev; in ztest_split_pool() local
2680 schild = malloc(rvd->vdev_children * sizeof (nvlist_t *)); in ztest_split_pool()
2682 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool()
2750 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_attach_detach() local
2788 oldvd = rvd->vdev_child[top]; in ztest_vdev_attach_detach()
2844 newvd = vdev_lookup_by_path(rvd, newpath); in ztest_vdev_attach_detach()
2876 else if (vdev_lookup_by_path(rvd, newpath) != NULL) in ztest_vdev_attach_detach()