Lines Matching refs:rvd
1146 vdev_t *rvd = spa->spa_root_vdev; in ztest_random_vdev_top() local
1152 top = ztest_random(rvd->vdev_children); in ztest_random_vdev_top()
1153 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
2838 vdev_t *rvd = spa->spa_root_vdev; in spa_num_top_vdevs() local
2840 return (rvd->vdev_children); in spa_num_top_vdevs()
3018 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_aux_add_remove() local
3060 vdev_lookup_by_path(rvd, path) == NULL) in ztest_vdev_aux_add_remove()
3117 vdev_t *rvd = spa->spa_root_vdev; in ztest_split_pool() local
3147 schild = malloc(rvd->vdev_children * sizeof (nvlist_t *)); in ztest_split_pool()
3149 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool()
3216 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_attach_detach() local
3269 oldvd = rvd->vdev_child[top]; in ztest_vdev_attach_detach()
3330 newvd = vdev_lookup_by_path(rvd, newpath); in ztest_vdev_attach_detach()
3366 else if (vdev_lookup_by_path(rvd, newpath) != NULL) in ztest_vdev_attach_detach()