Searched defs:rvd (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Duberblock.c48 uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg, uint64_t mmp_delay) argument
58 ub->ub_guid_sum = rvd->vdev_guid_sum;
62 if (spa_multihost(rvd->vdev_spa)) {
H A Dspa_checkpoint.c256 vdev_t *rvd = spa->spa_root_vdev; local
260 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
261 vdev_t *vd = rvd->vdev_child[c];
365 vdev_t *rvd = spa->spa_root_vdev; local
370 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
371 if (rvd->vdev_child[c]->vdev_checkpoint_sm != NULL)
373 ASSERT0(rvd->vdev_child[c]->vdev_stat.vs_checkpoint_space);
398 vdev_t *rvd = spa->spa_root_vdev; local
400 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
401 vdev_t *vd = rvd
[all...]
H A Dspa_config.c367 vdev_t *rvd = spa->spa_root_vdev; local
374 vd = rvd;
425 if (vd != rvd) {
520 vdev_t *rvd = spa->spa_root_vdev; local
529 vdev_config_dirty(rvd);
538 for (c = 0; c < rvd->vdev_children; c++) {
539 vdev_t *tvd = rvd->vdev_child[c];
H A Ddsl_pool.c580 vdev_t *rvd = spa->spa_root_vdev; local
582 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
583 vdev_t *vd = rvd->vdev_child[c];
H A Dvdev_label.c701 vdev_t *rvd = spa->spa_root_vdev; local
705 array = kmem_alloc(rvd->vdev_children * sizeof (uint64_t), KM_SLEEP);
707 for (c = 0, idx = 0; c < rvd->vdev_children; c++) {
708 vdev_t *tvd = rvd->vdev_child[c];
721 rvd->vdev_children) == 0);
723 kmem_free(array, rvd->vdev_children * sizeof (uint64_t));
1277 vdev_uberblock_load(vdev_t *rvd, uberblock_t *ub, nvlist_t **config) argument
1280 spa_t *spa = rvd->vdev_spa;
1296 vdev_uberblock_load_impl(zio, rvd, flags, &cb);
H A Dvdev_removal.c1733 vdev_t *rvd = spa->spa_root_vdev; local
1741 vdev_add_child(rvd, vd);
1742 vdev_config_dirty(rvd);
1747 vdev_reopen(rvd);
1939 vdev_t *rvd = spa->spa_root_vdev; local
1941 for (uint64_t id = 0; id < rvd->vdev_children; id++) {
1942 vdev_t *cvd = rvd->vdev_child[id];
H A Dspa_misc.c2538 vdev_t *rvd = spa->spa_root_vdev; local
2539 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
2540 if (!vdev_is_spacemap_addressable(rvd->vdev_child[c]))
H A Dvdev.c297 vdev_t *rvd = spa->spa_root_vdev; local
301 if (vdev < rvd->vdev_children) {
302 ASSERT(rvd->vdev_child[vdev] != NULL);
303 return (rvd->vdev_child[vdev]);
3325 vdev_t *vd, *tvd, *pvd, *rvd = spa->spa_root_vdev; local
3348 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent)
3356 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent)
3526 vdev_t *rvd = spa->spa_root_vdev; local
3531 vd = rvd;
3567 vdev_reopen(vd == rvd
3867 vdev_t *rvd = spa->spa_root_vdev; local
4058 vdev_t *rvd = spa->spa_root_vdev; local
4102 vdev_t *rvd = spa->spa_root_vdev; local
4234 vdev_t *rvd = spa->spa_root_vdev; local
[all...]
H A Ddsl_scan.c1215 vdev_t *rvd = scn->scn_dp->dp_spa->spa_root_vdev; local
1228 for (uint64_t i = 0; i < rvd->vdev_children; i++) {
1229 vdev_t *tvd = rvd->vdev_child[i];
1638 vdev_t *rvd = spa->spa_root_vdev; local
1639 uint64_t maxinflight = rvd->vdev_children * zfs_top_maxinflight;
4093 vdev_t *rvd = scn->scn_dp->dp_spa->spa_root_vdev; local
4095 for (uint64_t i = 0; i < rvd->vdev_children; i++) {
4096 vdev_t *tvd = rvd->vdev_child[i];
H A Dmetaslab.c477 vdev_t *rvd = spa->spa_root_vdev; local
487 for (int c = 0; c < rvd->vdev_children; c++) {
488 vdev_t *tvd = rvd->vdev_child[c];
520 vdev_t *rvd = mc->mc_spa->spa_root_vdev; local
525 for (int c = 0; c < rvd->vdev_children; c++) {
526 vdev_t *tvd = rvd->vdev_child[c];
570 vdev_t *rvd = mc->mc_spa->spa_root_vdev; local
574 for (int c = 0; c < rvd->vdev_children; c++) {
576 vdev_t *tvd = rvd->vdev_child[c];
H A Dspa.c278 vdev_t *rvd = spa->spa_root_vdev; local
287 if (rvd != NULL) {
318 rvd->vdev_state, src);
831 vdev_t *rvd = spa->spa_root_vdev; local
841 vdev_state = rvd->vdev_state;
858 vdev_t *rvd = spa->spa_root_vdev; local
863 rvd->vdev_guid = *newguid;
864 rvd->vdev_guid_sum += (*newguid - oldguid);
865 vdev_config_dirty(rvd);
1878 vdev_t *rvd local
1912 vdev_t *rvd = spa->spa_root_vdev; local
2002 vdev_t *rvd = spa->spa_root_vdev; local
2026 vdev_t *rvd = spa->spa_root_vdev; local
2589 vdev_t *rvd = spa->spa_root_vdev; local
2742 vdev_t *rvd; local
2916 vdev_t *rvd = spa->spa_root_vdev; local
2953 vdev_t *rvd = spa->spa_root_vdev; local
3127 vdev_t *rvd = spa->spa_root_vdev; local
3144 vdev_t *mrvd, *rvd = spa->spa_root_vdev; local
3309 vdev_t *rvd = spa->spa_root_vdev; local
3339 vdev_t *rvd = spa->spa_root_vdev; local
3464 vdev_t *rvd = spa->spa_root_vdev; local
3482 vdev_t *rvd = spa->spa_root_vdev; local
3625 vdev_t *rvd = spa->spa_root_vdev; local
3684 vdev_t *rvd = spa->spa_root_vdev; local
3748 vdev_t *rvd = spa->spa_root_vdev; local
3762 vdev_t *rvd = spa->spa_root_vdev; local
3786 vdev_t *rvd = spa->spa_root_vdev; local
3834 vdev_t *rvd = spa->spa_root_vdev; local
4037 vdev_t *rvd = spa->spa_root_vdev; local
5068 vdev_t *rvd; local
5466 vdev_t *rvd, *bvd, *avd = NULL; local
5980 vdev_t *rvd = spa->spa_root_vdev; local
6067 vdev_t *rvd = spa->spa_root_vdev; local
6201 vdev_t *rvd = spa->spa_root_vdev; local
6421 vdev_t *rvd = spa->spa_root_vdev; local
6915 vdev_t *rvd, **vml = NULL; /* vdev modify list */ local
8311 vdev_t *rvd = spa->spa_root_vdev; local
8365 vdev_t *rvd = spa->spa_root_vdev; local
8467 vdev_t *rvd = spa->spa_root_vdev; local
8590 vdev_t *rvd = spa->spa_root_vdev; local
8870 vdev_t *rvd = spa->spa_root_vdev; local
[all...]
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c746 vdev_t *rvd; local
750 STAILQ_FOREACH(rvd, vlist, v_childlink)
751 if (rvd->v_id == vdev)
754 return (rvd);
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c998 vdev_t *rvd = spa->spa_root_vdev; local
1004 for (unsigned c = 0; c < rvd->vdev_children; c++) {
1005 vdev_t *tvd = rvd->vdev_child[c];
1111 vdev_t *vd, *rvd = spa->spa_root_vdev; local
1112 uint64_t m, c = 0, children = rvd->vdev_children;
1123 vd = rvd->vdev_child[c];
1141 vd = rvd->vdev_child[c];
3772 vdev_t *rvd = spa->spa_root_vdev; local
3773 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
3774 ASSERT3U(c, ==, rvd
3855 vdev_t *rvd = spa->spa_root_vdev; local
3945 vdev_t *rvd = spa->spa_root_vdev; local
3995 vdev_t *rvd = spa->spa_root_vdev; local
4133 vdev_t *rvd = spa->spa_root_vdev; local
5066 vdev_t *rvd = spa->spa_root_vdev; local
[all...]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1141 vdev_t *rvd = spa->spa_root_vdev; local
1147 top = ztest_random(rvd->vdev_children);
1148 tvd = rvd->vdev_child[top];
2833 vdev_t *rvd = spa->spa_root_vdev; local
2835 return (rvd->vdev_children);
3013 vdev_t *rvd = spa->spa_root_vdev; local
3055 vdev_lookup_by_path(rvd, path) == NULL)
3112 vdev_t *rvd = spa->spa_root_vdev; local
3142 schild = malloc(rvd->vdev_children * sizeof (nvlist_t *));
3144 vdev_t *tvd = rvd
3211 vdev_t *rvd = spa->spa_root_vdev; local
[all...]

Completed in 124 milliseconds