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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c270 vdev_t *rvd = spa->spa_root_vdev;
584 if (!vdev_is_bootable(spa->spa_root_vdev)) {
823 vdev_t *rvd = spa->spa_root_vdev;
850 vdev_t *rvd = spa->spa_root_vdev;
1226 ASSERT(spa->spa_root_vdev == NULL);
1440 if (spa->spa_root_vdev) {
1441 vdev_t *root_vdev = spa->spa_root_vdev;
1459 if (spa->spa_root_vdev != NULL) {
1460 for (int c = 0; c < spa->spa_root_vdev->vdev_children; c++) {
1461 vdev_t *vc = 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.c594 vdev_deadman(spa->spa_root_vdev);
1202 vdev_dtl_reassess(spa->spa_root_vdev, 0, 0, B_FALSE);
1305 vdev_hold(spa->spa_root_vdev);
1319 vdev_dtl_reassess(vd ? vd->vdev_top : spa->spa_root_vdev,
1329 vdev_rele(spa->spa_root_vdev);
1374 vdev_config_dirty(spa->spa_root_vdev);
1382 vdev_config_dirty(spa->spa_root_vdev);
1401 if (spa->spa_root_vdev == NULL)
1407 if (vdev_lookup_by_guid(spa->spa_root_vdev,
1656 if (spa->spa_root_vdev
[all...]
H A Dvdev.c290 vdev_t *rvd = spa->spa_root_vdev;
335 return (vdev_count_leaves_impl(spa->spa_root_vdev));
466 if (spa->spa_root_vdev == NULL) {
468 spa->spa_root_vdev = vd;
473 if (spa->spa_root_vdev == vd) {
585 if (ops != &vdev_root_ops && spa->spa_root_vdev == NULL)
935 if (vd == spa->spa_root_vdev)
936 spa->spa_root_vdev = NULL;
2366 ASSERT(vd != vd->vdev_spa->spa_root_vdev);
2382 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.c690 vdev_config_dirty(spa->spa_root_vdev);
1196 vdev_config_dirty(spa->spa_root_vdev);
1730 vdev_t *rvd = spa->spa_root_vdev;
1936 vdev_t *rvd = spa->spa_root_vdev;
2183 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;
1414 boolean_t changed = uberblock_update(ub, spa->spa_root_vdev,
H A Dspa_log_spacemap.c1264 for (uint64_t c = 0; c < spa->spa_root_vdev->vdev_children; c++) {
1265 vdev_t *vd = spa->spa_root_vdev->vdev_child[c];
H A Dvdev_trim.c1375 vdev_t *root_vd = spa->spa_root_vdev;
1423 vdev_t *root_vd = spa->spa_root_vdev;
H A Dmetaslab.c385 vdev_t *rvd = spa->spa_root_vdev;
428 vdev_t *rvd = mc->mc_spa->spa_root_vdev;
478 vdev_t *rvd = mc->mc_spa->spa_root_vdev;
1974 ASSERT3P(vd->vdev_spa->spa_root_vdev, ==, vd->vdev_parent);
H A Dzio.c854 if (vdevid >= spa->spa_root_vdev->vdev_children) {
860 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid];
898 if (vdevid >= spa->spa_root_vdev->vdev_children)
901 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid];
H A Ddsl_pool.c576 vdev_t *rvd = spa->spa_root_vdev;
H A Dvdev_indirect.c533 vdev_config_dirty(spa->spa_root_vdev);
H A Dzvol.c1954 vdev_t *vd = spa->spa_root_vdev;
1976 * Now have spa_root_vdev->vdev_children == 1 (the raidz vdev),
H A Dzfs_ioctl.c5288 vdev_reopen(spa->spa_root_vdev);
6265 vdev_config_dirty(spa->spa_root_vdev);
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c782 actual_refcount = get_dtl_refcount(spa->spa_root_vdev);
783 actual_refcount += get_metaslab_refcount(spa->spa_root_vdev);
784 actual_refcount += get_obsolete_refcount(spa->spa_root_vdev);
786 actual_refcount += get_checkpoint_refcount(spa->spa_root_vdev);
1002 vdev_t *rvd = spa->spa_root_vdev;
1115 vdev_t *vd, *rvd = spa->spa_root_vdev;
3576 vdev_t *rvd = spa->spa_root_vdev;
3659 vdev_t *rvd = spa->spa_root_vdev;
3749 vdev_t *rvd = spa->spa_root_vdev;
3799 vdev_t *rvd = spa->spa_root_vdev;
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h237 vdev_t *spa_root_vdev; /* top-level vdev container */ member in struct:spa
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1141 vdev_t *rvd = spa->spa_root_vdev;
2833 vdev_t *rvd = spa->spa_root_vdev;
3013 vdev_t *rvd = spa->spa_root_vdev;
3112 vdev_t *rvd = spa->spa_root_vdev;
3211 vdev_t *rvd = spa->spa_root_vdev;
3609 tvd = spa->spa_root_vdev->vdev_child[top];
3683 tvd = spa->spa_root_vdev->vdev_child[top];
5561 vd0 = vdev_lookup_by_path(spa->spa_root_vdev, path0);
5949 vdev_t *rand_vd = ztest_random_concrete_vdev_leaf(spa->spa_root_vdev);
6021 vdev_t *rand_vd = ztest_random_concrete_vdev_leaf(spa->spa_root_vdev);
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2126 if (GETMEMB(wsp->walk_addr, "spa", spa_root_vdev, root_vdevp) ||
2147 uintptr_t spa_root_vdev; member in struct:mdb_spa
2343 uintptr_t spa_root_vdev; member in struct:mdb_spa_vdevs
2432 if (spa.spa_root_vdev == 0) {
2449 ret = mdb_call_dcmd("vdev", (uintptr_t)spa.spa_root_vdev,

Completed in 331 milliseconds