Searched defs:tvd (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_config.c517 vdev_t *tvd = rvd->vdev_child[c]; local
518 if (tvd->vdev_ms_array == 0)
519 vdev_metaslab_set_size(tvd);
520 vdev_expand(tvd, txg);
H A Dvdev_label.c416 vdev_t *tvd = rvd->vdev_child[c]; local
418 if (tvd->vdev_ishole)
H A Dvdev_raidz.c1592 vdev_t *tvd = vd->vdev_top; local
1623 SPA_OLD_MAXBLOCKSIZE, origoffset, tvd->vdev_ashift,
1719 vdev_t *tvd = vd->vdev_top; local
1726 tvd->vdev_ashift, vd->vdev_children,
1758 1 << tvd->vdev_ashift,
H A Dvdev.c693 * Transfer top-level vdev state from svd to tvd.
696 vdev_top_transfer(vdev_t *svd, vdev_t *tvd) argument
703 ASSERT(tvd == tvd->vdev_top);
705 tvd->vdev_ms_array = svd->vdev_ms_array;
706 tvd->vdev_ms_shift = svd->vdev_ms_shift;
707 tvd->vdev_ms_count = svd->vdev_ms_count;
708 tvd->vdev_top_zap = svd->vdev_top_zap;
715 if (tvd->vdev_mg)
716 ASSERT3P(tvd
761 vdev_top_update(vdev_t *tvd, vdev_t *vd) argument
2092 vdev_t *tvd = vd->vdev_top; local
2350 vdev_t *vd, *tvd; local
2441 vdev_t *vd, *tvd, *pvd, *rvd = spa->spa_root_vdev; local
2501 vdev_t *vd, *tvd; local
2739 vdev_t *tvd = vd->vdev_top; local
[all...]
H A Dmetaslab.c310 vdev_t *tvd = rvd->vdev_child[c]; local
311 metaslab_group_t *mg = tvd->vdev_mg;
317 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 ||
348 vdev_t *tvd = rvd->vdev_child[c]; local
349 metaslab_group_t *mg = tvd->vdev_mg;
355 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 ||
397 vdev_t *tvd = rvd->vdev_child[c]; local
398 metaslab_group_t *mg = tvd
[all...]
H A Dspa.c1343 vdev_t *vd, *tvd; local
1354 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid,
1355 B_FALSE)) != NULL && tvd->vdev_isspare)
1356 spa_spare_remove(tvd);
1395 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid,
1397 if (!tvd->vdev_isspare)
1398 spa_spare_add(tvd);
1413 if (!vdev_is_dead(tvd))
1414 spa_spare_activate(tvd);
1663 vdev_t *tvd local
1692 vdev_t *tvd = rvd->vdev_child[c]; local
1798 vdev_t *tvd = rvd->vdev_child[c]; local
1818 vdev_t *tvd = rvd->vdev_child[c]; local
4477 vdev_t *vd, *tvd; local
4589 vdev_t *oldvd, *newvd, *newrootvd, *pvd, *tvd; local
4794 vdev_t *vd, *pvd, *cvd, *tvd; local
6580 vdev_t *tvd = rvd->vdev_child[c]; local
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c1514 vdev_t *tvd = vd->v_top; local
1531 rm = vdev_raidz_map_alloc(data, offset, bytes, tvd->v_ashift,
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c824 vdev_t *tvd = rvd->vdev_child[c]; local
825 metaslab_group_t *mg = tvd->vdev_mg;
835 (u_longlong_t)tvd->vdev_id,
836 (u_longlong_t)tvd->vdev_ms_count);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1005 vdev_t *tvd; local
1011 tvd = rvd->vdev_child[top];
1012 } while (tvd->vdev_ishole || (tvd->vdev_islog && !log_ok) ||
1013 tvd->vdev_mg == NULL || tvd->vdev_mg->mg_class == NULL);
2686 vdev_t *tvd = rvd->vdev_child[c]; local
2690 if (tvd->vdev_islog || tvd->vdev_ops == &vdev_hole_ops) {
2963 vdev_t *tvd local
3045 vdev_t *vd, *tvd; local
[all...]

Completed in 778 milliseconds