Lines Matching refs:tvd
1536 vdev_t *tvd; in ztest_random_vdev_top() local
1542 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
1543 } while (!vdev_is_concrete(tvd) || (tvd->vdev_islog && !log_ok) || in ztest_random_vdev_top()
1544 tvd->vdev_mg == NULL || tvd->vdev_mg->mg_class == NULL); in ztest_random_vdev_top()
3647 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool() local
3651 if (tvd->vdev_islog || tvd->vdev_ops == &vdev_hole_ops) { in ztest_split_pool()
4282 vdev_t *tvd = vd->vdev_top; in online_vdev() local
4322 tvd->vdev_state, in online_vdev()
4366 vdev_t *vd, *tvd; in ztest_vdev_LUN_growth() local
4404 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
4405 mg = tvd->vdev_mg; in ztest_vdev_LUN_growth()
4407 old_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth()
4414 vd = vdev_walk_tree(tvd, NULL, NULL); in ztest_vdev_LUN_growth()
4424 if (tvd->vdev_state != VDEV_STATE_HEALTHY || in ztest_vdev_LUN_growth()
4445 if (vdev_walk_tree(tvd, grow_vdev, &newsize) != NULL || in ztest_vdev_LUN_growth()
4446 vdev_walk_tree(tvd, online_vdev, NULL) != NULL || in ztest_vdev_LUN_growth()
4447 tvd->vdev_state != VDEV_STATE_HEALTHY) { in ztest_vdev_LUN_growth()
4478 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
4479 new_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth()
4482 if (tvd->vdev_mg != mg || mg->mg_class != mc) { in ztest_vdev_LUN_growth()