Searched refs:rvd (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Duberblock.h43 extern boolean_t uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg,
/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.c270 vdev_t *rvd = spa->spa_root_vdev; local
279 if (rvd != NULL) {
310 rvd->vdev_state, src);
823 vdev_t *rvd = spa->spa_root_vdev; local
833 vdev_state = rvd->vdev_state;
850 vdev_t *rvd = spa->spa_root_vdev; local
855 rvd->vdev_guid = *newguid;
856 rvd->vdev_guid_sum += (*newguid - oldguid);
857 vdev_config_dirty(rvd);
1869 vdev_t *rvd local
1903 vdev_t *rvd = spa->spa_root_vdev; local
1993 vdev_t *rvd = spa->spa_root_vdev; local
2017 vdev_t *rvd = spa->spa_root_vdev; local
2576 vdev_t *rvd = spa->spa_root_vdev; local
2726 vdev_t *rvd; local
2900 vdev_t *rvd = spa->spa_root_vdev; local
2937 vdev_t *rvd = spa->spa_root_vdev; local
3107 vdev_t *rvd = spa->spa_root_vdev; local
3124 vdev_t *mrvd, *rvd = spa->spa_root_vdev; local
3289 vdev_t *rvd = spa->spa_root_vdev; local
3319 vdev_t *rvd = spa->spa_root_vdev; local
3444 vdev_t *rvd = spa->spa_root_vdev; local
3462 vdev_t *rvd = spa->spa_root_vdev; local
3605 vdev_t *rvd = spa->spa_root_vdev; local
3664 vdev_t *rvd = spa->spa_root_vdev; local
3728 vdev_t *rvd = spa->spa_root_vdev; local
3742 vdev_t *rvd = spa->spa_root_vdev; local
3766 vdev_t *rvd = spa->spa_root_vdev; local
3814 vdev_t *rvd = spa->spa_root_vdev; local
4015 vdev_t *rvd = spa->spa_root_vdev; local
5039 vdev_t *rvd; local
5424 vdev_t *rvd, *bvd, *avd = NULL; local
5915 vdev_t *rvd = spa->spa_root_vdev; local
6002 vdev_t *rvd = spa->spa_root_vdev; local
6136 vdev_t *rvd = spa->spa_root_vdev; local
6356 vdev_t *rvd = spa->spa_root_vdev; local
6850 vdev_t *rvd, **vml = NULL; /* vdev modify list */ local
8238 vdev_t *rvd = spa->spa_root_vdev; local
8292 vdev_t *rvd = spa->spa_root_vdev; local
8394 vdev_t *rvd = spa->spa_root_vdev; local
8517 vdev_t *rvd = spa->spa_root_vdev; local
8785 vdev_t *rvd = spa->spa_root_vdev; local
[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 Dvdev.c290 vdev_t *rvd = spa->spa_root_vdev; local
294 if (vdev < rvd->vdev_children) {
295 ASSERT(rvd->vdev_child[vdev] != NULL);
296 return (rvd->vdev_child[vdev]);
3301 vdev_t *vd, *tvd, *pvd, *rvd = spa->spa_root_vdev; local
3324 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent)
3332 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent)
3502 vdev_t *rvd = spa->spa_root_vdev; local
3507 vd = rvd;
3542 vdev_reopen(vd == rvd
3663 vdev_t *rvd = spa->spa_root_vdev; local
3760 vdev_t *rvd = spa->spa_root_vdev; local
3926 vdev_t *rvd = spa->spa_root_vdev; local
3970 vdev_t *rvd = spa->spa_root_vdev; local
4102 vdev_t *rvd = spa->spa_root_vdev; local
[all...]
H A Dvdev_label.c542 vdev_t *rvd = spa->spa_root_vdev; local
546 array = kmem_alloc(rvd->vdev_children * sizeof (uint64_t), KM_SLEEP);
548 for (c = 0, idx = 0; c < rvd->vdev_children; c++) {
549 vdev_t *tvd = rvd->vdev_child[c];
562 rvd->vdev_children) == 0);
564 kmem_free(array, rvd->vdev_children * sizeof (uint64_t));
1118 vdev_uberblock_load(vdev_t *rvd, uberblock_t *ub, nvlist_t **config) argument
1121 spa_t *spa = rvd->vdev_spa;
1137 vdev_uberblock_load_impl(zio, rvd, flags, &cb);
H A Dvdev_removal.c1730 vdev_t *rvd = spa->spa_root_vdev; local
1738 vdev_add_child(rvd, vd);
1739 vdev_config_dirty(rvd);
1744 vdev_reopen(rvd);
1936 vdev_t *rvd = spa->spa_root_vdev; local
1938 for (uint64_t id = 0; id < rvd->vdev_children; id++) {
1939 vdev_t *cvd = rvd->vdev_child[id];
H A Ddsl_pool.c576 vdev_t *rvd = spa->spa_root_vdev; local
578 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
579 vdev_t *vd = rvd->vdev_child[c];
H A Dmetaslab.c385 vdev_t *rvd = spa->spa_root_vdev; local
395 for (int c = 0; c < rvd->vdev_children; c++) {
396 vdev_t *tvd = rvd->vdev_child[c];
428 vdev_t *rvd = mc->mc_spa->spa_root_vdev; local
433 for (int c = 0; c < rvd->vdev_children; c++) {
434 vdev_t *tvd = rvd->vdev_child[c];
478 vdev_t *rvd = mc->mc_spa->spa_root_vdev; local
482 for (int c = 0; c < rvd->vdev_children; c++) {
484 vdev_t *tvd = rvd->vdev_child[c];
H A Ddsl_scan.c1221 vdev_t *rvd = scn->scn_dp->dp_spa->spa_root_vdev; local
1232 for (uint64_t i = 0; i < rvd->vdev_children; i++) {
1233 vdev_t *tvd = rvd->vdev_child[i];
1642 vdev_t *rvd = spa->spa_root_vdev; local
1643 uint64_t maxinflight = rvd->vdev_children * zfs_top_maxinflight;
4058 vdev_t *rvd = scn->scn_dp->dp_spa->spa_root_vdev; local
4060 for (uint64_t i = 0; i < rvd->vdev_children; i++) {
4061 vdev_t *tvd = rvd->vdev_child[i];
H A Dspa_misc.c2359 vdev_t *rvd = spa->spa_root_vdev; local
2360 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
2361 if (!vdev_is_spacemap_addressable(rvd->vdev_child[c]))
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1002 vdev_t *rvd = spa->spa_root_vdev; local
1008 for (unsigned c = 0; c < rvd->vdev_children; c++) {
1009 vdev_t *tvd = rvd->vdev_child[c];
1115 vdev_t *vd, *rvd = spa->spa_root_vdev; local
1116 uint64_t m, c = 0, children = rvd->vdev_children;
1127 vd = rvd->vdev_child[c];
1145 vd = rvd->vdev_child[c];
3576 vdev_t *rvd = spa->spa_root_vdev; local
3577 for (uint64_t c = 0; c < rvd->vdev_children; c++) {
3578 ASSERT3U(c, ==, rvd
3659 vdev_t *rvd = spa->spa_root_vdev; local
3749 vdev_t *rvd = spa->spa_root_vdev; local
3799 vdev_t *rvd = spa->spa_root_vdev; local
3937 vdev_t *rvd = spa->spa_root_vdev; local
4870 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...]
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c774 vdev_t *rvd; local
776 STAILQ_FOREACH(rvd, &spa->spa_vdevs, v_childlink)
777 if (rvd->v_id == vdev)
780 return (rvd);

Completed in 213 milliseconds