Searched refs:spa_root_vdev (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c268 vdev_t *rvd = spa->spa_root_vdev;
581 if (!vdev_is_bootable(spa->spa_root_vdev)) {
820 vdev_t *rvd = spa->spa_root_vdev;
847 vdev_t *rvd = spa->spa_root_vdev;
1223 ASSERT(spa->spa_root_vdev == NULL);
1366 if (spa->spa_root_vdev) {
1367 vdev_initialize_stop_all(spa->spa_root_vdev,
1385 if (spa->spa_root_vdev != NULL) {
1387 for (int c = 0; c < spa->spa_root_vdev->vdev_children; c++)
1388 vdev_metaslab_fini(spa->spa_root_vdev
[all...]
H A Dspa_checkpoint.c256 vdev_t *rvd = spa->spa_root_vdev;
365 vdev_t *rvd = spa->spa_root_vdev;
398 vdev_t *rvd = spa->spa_root_vdev;
H A Dspa_misc.c593 vdev_deadman(spa->spa_root_vdev);
1178 vdev_dtl_reassess(spa->spa_root_vdev, 0, 0, B_FALSE);
1269 vdev_hold(spa->spa_root_vdev);
1283 vdev_dtl_reassess(vd ? vd->vdev_top : spa->spa_root_vdev,
1293 vdev_rele(spa->spa_root_vdev);
1338 vdev_config_dirty(spa->spa_root_vdev);
1346 vdev_config_dirty(spa->spa_root_vdev);
1365 if (spa->spa_root_vdev == NULL)
1371 if (vdev_lookup_by_guid(spa->spa_root_vdev,
1620 if (spa->spa_root_vdev
[all...]
H A Dvdev.c289 vdev_t *rvd = spa->spa_root_vdev;
334 return (vdev_count_leaves_impl(spa->spa_root_vdev));
465 if (spa->spa_root_vdev == NULL) {
467 spa->spa_root_vdev = vd;
472 if (spa->spa_root_vdev == vd) {
576 if (ops != &vdev_root_ops && spa->spa_root_vdev == NULL)
917 if (vd == spa->spa_root_vdev)
918 spa->spa_root_vdev = NULL;
2335 ASSERT(vd != vd->vdev_spa->spa_root_vdev);
2351 ASSERT(vd != vd->vdev_spa->spa_root_vdev);
[all...]
H A Ddsl_scan.c647 for (i = 0; i < spa->spa_root_vdev->vdev_children; i++) {
648 vdev_t *vd = spa->spa_root_vdev->vdev_child[i];
714 scn->scn_phys.scn_to_examine = spa->spa_root_vdev->vdev_stat.vs_alloc;
726 vdev_config_dirty(spa->spa_root_vdev);
728 if (vdev_resilver_needed(spa->spa_root_vdev,
791 vdev_reopen(spa->spa_root_vdev);
831 if (vd == spa->spa_root_vdev &&
932 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg,
939 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg,
961 dsl_scan_clear_deferred(spa->spa_root_vdev, t
[all...]
H A Dspa_config.c366 vdev_t *rvd = spa->spa_root_vdev;
519 vdev_t *rvd = spa->spa_root_vdev;
H A Dvdev_removal.c689 vdev_config_dirty(spa->spa_root_vdev);
1192 vdev_config_dirty(spa->spa_root_vdev);
1717 vdev_t *rvd = spa->spa_root_vdev;
1905 vdev_t *rvd = spa->spa_root_vdev;
2148 vdev_t *vd = spa->spa_root_vdev->vdev_child[indirect_vdev_id];
H A Dvdev_label.c219 if (vd != spa->spa_root_vdev)
542 vdev_t *rvd = spa->spa_root_vdev;
1389 boolean_t changed = uberblock_update(ub, spa->spa_root_vdev,
H A Dmetaslab.c330 vdev_t *rvd = spa->spa_root_vdev;
373 vdev_t *rvd = mc->mc_spa->spa_root_vdev;
423 vdev_t *rvd = mc->mc_spa->spa_root_vdev;
1761 ASSERT3P(vd->vdev_spa->spa_root_vdev, ==, vd->vdev_parent);
H A Dzio.c853 if (vdevid >= spa->spa_root_vdev->vdev_children) {
859 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid];
897 if (vdevid >= spa->spa_root_vdev->vdev_children)
900 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid];
H A Dvdev_indirect.c533 vdev_config_dirty(spa->spa_root_vdev);
H A Ddsl_pool.c576 vdev_t *rvd = spa->spa_root_vdev;
H A Dzvol.c1949 vdev_t *vd = spa->spa_root_vdev;
1971 * Now have spa_root_vdev->vdev_children == 1 (the raidz vdev),
H A Dzfs_ioctl.c5213 vdev_reopen(spa->spa_root_vdev);
6190 vdev_config_dirty(spa->spa_root_vdev);
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c763 actual_refcount = get_dtl_refcount(spa->spa_root_vdev);
764 actual_refcount += get_metaslab_refcount(spa->spa_root_vdev);
765 actual_refcount += get_obsolete_refcount(spa->spa_root_vdev);
767 actual_refcount += get_checkpoint_refcount(spa->spa_root_vdev);
959 vdev_t *rvd = spa->spa_root_vdev;
1072 vdev_t *vd, *rvd = spa->spa_root_vdev;
3421 vdev_t *rvd = spa->spa_root_vdev;
3431 vdev_t *rvd = spa->spa_root_vdev;
3519 vdev_t *rvd = spa->spa_root_vdev;
3569 vdev_t *rvd = spa->spa_root_vdev;
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h236 vdev_t *spa_root_vdev; /* top-level vdev container */ member in struct:spa
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1138 vdev_t *rvd = spa->spa_root_vdev;
2833 vdev_t *rvd = spa->spa_root_vdev;
3022 vdev_t *rvd = spa->spa_root_vdev;
3121 vdev_t *rvd = spa->spa_root_vdev;
3220 vdev_t *rvd = spa->spa_root_vdev;
3618 tvd = spa->spa_root_vdev->vdev_child[top];
3692 tvd = spa->spa_root_vdev->vdev_child[top];
5568 vd0 = vdev_lookup_by_path(spa->spa_root_vdev, path0);
5956 vdev_t *rand_vd = ztest_random_concrete_vdev_leaf(spa->spa_root_vdev);
6220 if (spa_suspended(spa) || spa->spa_root_vdev
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2069 if (GETMEMB(wsp->walk_addr, "spa", spa_root_vdev, root_vdevp) ||
2090 uintptr_t spa_root_vdev; member in struct:mdb_spa
2269 uintptr_t spa_root_vdev; member in struct:mdb_spa_vdevs
2358 if (spa.spa_root_vdev == 0) {
2375 ret = mdb_call_dcmd("vdev", (uintptr_t)spa.spa_root_vdev,

Completed in 327 milliseconds