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.c366 vdev_t *rvd = spa->spa_root_vdev; local
373 vd = rvd;
424 if (vd != rvd) {
519 vdev_t *rvd = spa->spa_root_vdev; local
528 vdev_config_dirty(rvd);
537 for (c = 0; c < rvd->vdev_children; c++) {
538 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 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]);
3324 vdev_t *vd, *tvd, *pvd, *rvd = spa->spa_root_vdev; local
3347 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent)
3355 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent)
3525 vdev_t *rvd = spa->spa_root_vdev; local
3530 vd = rvd;
3566 vdev_reopen(vd == rvd
3866 vdev_t *rvd = spa->spa_root_vdev; local
4057 vdev_t *rvd = spa->spa_root_vdev; local
4101 vdev_t *rvd = spa->spa_root_vdev; local
4233 vdev_t *rvd = spa->spa_root_vdev; local
[all...]
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 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 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 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
2588 vdev_t *rvd = spa->spa_root_vdev; local
2741 vdev_t *rvd; local
2915 vdev_t *rvd = spa->spa_root_vdev; local
2952 vdev_t *rvd = spa->spa_root_vdev; local
3126 vdev_t *rvd = spa->spa_root_vdev; local
3143 vdev_t *mrvd, *rvd = spa->spa_root_vdev; local
3308 vdev_t *rvd = spa->spa_root_vdev; local
3338 vdev_t *rvd = spa->spa_root_vdev; local
3463 vdev_t *rvd = spa->spa_root_vdev; local
3481 vdev_t *rvd = spa->spa_root_vdev; local
3624 vdev_t *rvd = spa->spa_root_vdev; local
3683 vdev_t *rvd = spa->spa_root_vdev; local
3747 vdev_t *rvd = spa->spa_root_vdev; local
3761 vdev_t *rvd = spa->spa_root_vdev; local
3785 vdev_t *rvd = spa->spa_root_vdev; local
3833 vdev_t *rvd = spa->spa_root_vdev; local
4036 vdev_t *rvd = spa->spa_root_vdev; local
5067 vdev_t *rvd; local
5465 vdev_t *rvd, *bvd, *avd = NULL; local
5979 vdev_t *rvd = spa->spa_root_vdev; local
6066 vdev_t *rvd = spa->spa_root_vdev; local
6200 vdev_t *rvd = spa->spa_root_vdev; local
6420 vdev_t *rvd = spa->spa_root_vdev; local
6914 vdev_t *rvd, **vml = NULL; /* vdev modify list */ local
8310 vdev_t *rvd = spa->spa_root_vdev; local
8364 vdev_t *rvd = spa->spa_root_vdev; local
8466 vdev_t *rvd = spa->spa_root_vdev; local
8589 vdev_t *rvd = spa->spa_root_vdev; local
8869 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.c997 vdev_t *rvd = spa->spa_root_vdev; local
1003 for (unsigned c = 0; c < rvd->vdev_children; c++) {
1004 vdev_t *tvd = rvd->vdev_child[c];
1110 vdev_t *vd, *rvd = spa->spa_root_vdev; local
1111 uint64_t m, c = 0, children = rvd->vdev_children;
1122 vd = rvd->vdev_child[c];
1140 vd = rvd->vdev_child[c];
3571 vdev_t *rvd = spa->spa_root_vdev; local
3572 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
3573 ASSERT3U(c, ==, rvd
3654 vdev_t *rvd = spa->spa_root_vdev; local
3744 vdev_t *rvd = spa->spa_root_vdev; local
3794 vdev_t *rvd = spa->spa_root_vdev; local
3932 vdev_t *rvd = spa->spa_root_vdev; local
4865 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 101 milliseconds