Home
last modified time | relevance | path

Searched refs:tvd (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/uts/common/fs/zfs/
H A Dvdev.c680 vdev_top_transfer(vdev_t *svd, vdev_t *tvd) in vdev_top_transfer() argument
687 ASSERT(tvd == tvd->vdev_top); in vdev_top_transfer()
689 tvd->vdev_ms_array = svd->vdev_ms_array; in vdev_top_transfer()
690 tvd->vdev_ms_shift = svd->vdev_ms_shift; in vdev_top_transfer()
691 tvd->vdev_ms_count = svd->vdev_ms_count; in vdev_top_transfer()
697 if (tvd->vdev_mg) in vdev_top_transfer()
698 ASSERT3P(tvd->vdev_mg, ==, svd->vdev_mg); in vdev_top_transfer()
699 tvd->vdev_mg = svd->vdev_mg; in vdev_top_transfer()
700 tvd->vdev_ms = svd->vdev_ms; in vdev_top_transfer()
705 if (tvd->vdev_mg != NULL) in vdev_top_transfer()
[all …]
H A Dspa_config.c522 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_update() local
523 if (tvd->vdev_ms_array == 0) in spa_config_update()
524 vdev_metaslab_set_size(tvd); in spa_config_update()
525 vdev_expand(tvd, txg); in spa_config_update()
H A Dspa.c1334 vdev_t *vd, *tvd; in spa_load_spares() local
1345 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid, in spa_load_spares()
1346 B_FALSE)) != NULL && tvd->vdev_isspare) in spa_load_spares()
1347 spa_spare_remove(tvd); in spa_load_spares()
1386 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid, in spa_load_spares()
1388 if (!tvd->vdev_isspare) in spa_load_spares()
1389 spa_spare_add(tvd); in spa_load_spares()
1404 if (!vdev_is_dead(tvd)) in spa_load_spares()
1405 spa_spare_activate(tvd); in spa_load_spares()
1647 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_valid() local
[all …]
H A Dmetaslab.c289 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_histogram_verify() local
290 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_histogram_verify()
296 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_histogram_verify()
327 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_fragmentation() local
328 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_fragmentation()
334 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_fragmentation()
376 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_expandable_space() local
377 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_expandable_space()
379 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_expandable_space()
384 space += tvd->vdev_max_asize - tvd->vdev_asize; in metaslab_class_expandable_space()
H A Dvdev_raidz.c1592 vdev_t *tvd = vd->vdev_top; in vdev_raidz_physio() local
1623 SPA_OLD_MAXBLOCKSIZE, origoffset, tvd->vdev_ashift, in vdev_raidz_physio()
1719 vdev_t *tvd = vd->vdev_top; in vdev_raidz_io_start() local
1726 tvd->vdev_ashift, vd->vdev_children, in vdev_raidz_io_start()
1758 1 << tvd->vdev_ashift, in vdev_raidz_io_start()
H A Dvdev_label.c408 vdev_t *tvd = rvd->vdev_child[c]; in vdev_top_config_generate() local
410 if (tvd->vdev_ishole) in vdev_top_config_generate()
/titanic_50/usr/src/cmd/ztest/
H A Dztest.c1001 vdev_t *tvd; in ztest_random_vdev_top() local
1007 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
1008 } while (tvd->vdev_ishole || (tvd->vdev_islog && !log_ok) || in ztest_random_vdev_top()
1009 tvd->vdev_mg == NULL || tvd->vdev_mg->mg_class == NULL); in ztest_random_vdev_top()
2682 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool() local
2686 if (tvd->vdev_islog || tvd->vdev_ops == &vdev_hole_ops) { in ztest_split_pool()
2959 vdev_t *tvd = vd->vdev_top; in online_vdev() local
2999 (u_longlong_t)tvd->vdev_state, in online_vdev()
3041 vdev_t *vd, *tvd; in ztest_vdev_LUN_growth() local
3053 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
[all …]
/titanic_50/usr/src/cmd/zdb/
H A Dzdb.c816 vdev_t *tvd = rvd->vdev_child[c]; in dump_metaslab_groups() local
817 metaslab_group_t *mg = tvd->vdev_mg; in dump_metaslab_groups()
827 (u_longlong_t)tvd->vdev_id, in dump_metaslab_groups()
828 (u_longlong_t)tvd->vdev_ms_count); in dump_metaslab_groups()