Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev.c679 vdev_top_transfer(vdev_t *svd, vdev_t *tvd) in vdev_top_transfer() argument
686 ASSERT(tvd == tvd->vdev_top); in vdev_top_transfer()
688 tvd->vdev_ms_array = svd->vdev_ms_array; in vdev_top_transfer()
689 tvd->vdev_ms_shift = svd->vdev_ms_shift; in vdev_top_transfer()
690 tvd->vdev_ms_count = svd->vdev_ms_count; in vdev_top_transfer()
696 if (tvd->vdev_mg) in vdev_top_transfer()
697 ASSERT3P(tvd->vdev_mg, ==, svd->vdev_mg); in vdev_top_transfer()
698 tvd->vdev_mg = svd->vdev_mg; in vdev_top_transfer()
699 tvd->vdev_ms = svd->vdev_ms; in vdev_top_transfer()
704 if (tvd->vdev_mg != NULL) in vdev_top_transfer()
[all …]
H A Dspa_config.c523 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_update() local
524 if (tvd->vdev_ms_array == 0) in spa_config_update()
525 vdev_metaslab_set_size(tvd); in spa_config_update()
526 vdev_expand(tvd, txg); in spa_config_update()
H A Dspa.c1333 vdev_t *vd, *tvd; in spa_load_spares() local
1344 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid, in spa_load_spares()
1345 B_FALSE)) != NULL && tvd->vdev_isspare) in spa_load_spares()
1346 spa_spare_remove(tvd); in spa_load_spares()
1385 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid, in spa_load_spares()
1387 if (!tvd->vdev_isspare) in spa_load_spares()
1388 spa_spare_add(tvd); in spa_load_spares()
1403 if (!vdev_is_dead(tvd)) in spa_load_spares()
1404 spa_spare_activate(tvd); in spa_load_spares()
1646 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_valid() local
[all …]
H A Dmetaslab.c288 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_histogram_verify() local
289 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_histogram_verify()
295 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_histogram_verify()
326 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_fragmentation() local
327 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_fragmentation()
333 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_fragmentation()
375 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_expandable_space() local
376 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_expandable_space()
378 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_expandable_space()
383 space += tvd->vdev_max_asize - tvd->vdev_asize; in metaslab_class_expandable_space()
H A Dvdev_raidz.c1591 vdev_t *tvd = vd->vdev_top; in vdev_raidz_physio() local
1622 SPA_OLD_MAXBLOCKSIZE, origoffset, tvd->vdev_ashift, in vdev_raidz_physio()
1718 vdev_t *tvd = vd->vdev_top; in vdev_raidz_io_start() local
1725 tvd->vdev_ashift, vd->vdev_children, in vdev_raidz_io_start()
1757 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_41/usr/src/cmd/ztest/
H A Dztest.c997 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()
[all …]
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c805 vdev_t *tvd = rvd->vdev_child[c]; in dump_metaslab_groups() local
806 metaslab_group_t *mg = tvd->vdev_mg; in dump_metaslab_groups()
816 (u_longlong_t)tvd->vdev_id, in dump_metaslab_groups()
817 (u_longlong_t)tvd->vdev_ms_count); in dump_metaslab_groups()