Lines Matching refs:tvd
997 vdev_t *tvd; in ztest_random_vdev_top() local
1003 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
1004 } while (tvd->vdev_ishole || (tvd->vdev_islog && !log_ok) || in ztest_random_vdev_top()
1005 tvd->vdev_mg == NULL || tvd->vdev_mg->mg_class == NULL); in ztest_random_vdev_top()
2678 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool() local
2682 if (tvd->vdev_islog || tvd->vdev_ops == &vdev_hole_ops) { in ztest_split_pool()
2955 vdev_t *tvd = vd->vdev_top; in online_vdev() local
2995 (u_longlong_t)tvd->vdev_state, in online_vdev()
3037 vdev_t *vd, *tvd; in ztest_vdev_LUN_growth() local
3049 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
3050 mg = tvd->vdev_mg; in ztest_vdev_LUN_growth()
3052 old_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth()
3059 vd = vdev_walk_tree(tvd, NULL, NULL); in ztest_vdev_LUN_growth()
3069 if (tvd->vdev_state != VDEV_STATE_HEALTHY || in ztest_vdev_LUN_growth()
3089 if (vdev_walk_tree(tvd, grow_vdev, &newsize) != NULL || in ztest_vdev_LUN_growth()
3090 vdev_walk_tree(tvd, online_vdev, NULL) != NULL || in ztest_vdev_LUN_growth()
3091 tvd->vdev_state != VDEV_STATE_HEALTHY) { in ztest_vdev_LUN_growth()
3121 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
3122 new_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth()
3125 if (tvd->vdev_mg != mg || mg->mg_class != mc) { in ztest_vdev_LUN_growth()