Lines Matching refs:rvd
999 vdev_t *rvd = spa->spa_root_vdev; in ztest_random_vdev_top() local
1005 top = ztest_random(rvd->vdev_children); in ztest_random_vdev_top()
1006 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
2477 vdev_t *rvd = spa->spa_root_vdev; in find_vdev_hole() local
2482 for (c = 0; c < rvd->vdev_children; c++) { in find_vdev_hole()
2483 vdev_t *cvd = rvd->vdev_child[c]; in find_vdev_hole()
2569 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_aux_add_remove() local
2608 vdev_lookup_by_path(rvd, path) == NULL) in ztest_vdev_aux_add_remove()
2652 vdev_t *rvd = spa->spa_root_vdev; in ztest_split_pool() local
2679 schild = malloc(rvd->vdev_children * sizeof (nvlist_t *)); in ztest_split_pool()
2681 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool()
2749 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_attach_detach() local
2787 oldvd = rvd->vdev_child[top]; in ztest_vdev_attach_detach()
2843 newvd = vdev_lookup_by_path(rvd, newpath); in ztest_vdev_attach_detach()
2875 else if (vdev_lookup_by_path(rvd, newpath) != NULL) in ztest_vdev_attach_detach()