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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c278 vdev_t *rvd = spa->spa_root_vdev;
592 if (!vdev_is_bootable(spa->spa_root_vdev)) {
831 vdev_t *rvd = spa->spa_root_vdev;
858 vdev_t *rvd = spa->spa_root_vdev;
1234 ASSERT(spa->spa_root_vdev == NULL);
1449 if (spa->spa_root_vdev) {
1450 vdev_t *root_vdev = spa->spa_root_vdev;
1468 if (spa->spa_root_vdev != NULL) {
1469 for (int c = 0; c < spa->spa_root_vdev->vdev_children; c++) {
1470 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.c598 vdev_deadman(spa->spa_root_vdev);
1243 vdev_dtl_reassess(spa->spa_root_vdev, 0, 0, B_FALSE);
1346 vdev_hold(spa->spa_root_vdev);
1360 vdev_dtl_reassess(vd ? vd->vdev_top : spa->spa_root_vdev,
1370 vdev_rele(spa->spa_root_vdev);
1415 vdev_config_dirty(spa->spa_root_vdev);
1423 vdev_config_dirty(spa->spa_root_vdev);
1442 if (spa->spa_root_vdev == NULL)
1448 if (vdev_lookup_by_guid(spa->spa_root_vdev,
1697 if (spa->spa_root_vdev
[all...]
H A Dvdev.c297 vdev_t *rvd = spa->spa_root_vdev;
342 return (vdev_count_leaves_impl(spa->spa_root_vdev));
473 if (spa->spa_root_vdev == NULL) {
475 spa->spa_root_vdev = vd;
480 if (spa->spa_root_vdev == vd) {
594 if (ops != &vdev_root_ops && spa->spa_root_vdev == NULL)
944 if (vd == spa->spa_root_vdev)
945 spa->spa_root_vdev = NULL;
2369 ASSERT(vd != vd->vdev_spa->spa_root_vdev);
2385 ASSERT(vd != vd->vdev_spa->spa_root_vdev);
[all...]
H A Ddsl_scan.c670 for (i = 0; i < spa->spa_root_vdev->vdev_children; i++) {
671 vdev_t *vd = spa->spa_root_vdev->vdev_child[i];
738 scn->scn_phys.scn_to_examine = spa->spa_root_vdev->vdev_stat.vs_alloc;
750 vdev_config_dirty(spa->spa_root_vdev);
752 if (vdev_resilver_needed(spa->spa_root_vdev,
815 vdev_reopen(spa->spa_root_vdev);
920 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg,
927 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg,
955 vdev_clear_resilver_deferred(spa->spa_root_vdev, tx)) {
1215 vdev_t *rvd = scn->scn_dp->dp_spa->spa_root_vdev;
[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.c691 vdev_config_dirty(spa->spa_root_vdev);
1196 vdev_config_dirty(spa->spa_root_vdev);
1733 vdev_t *rvd = spa->spa_root_vdev;
1939 vdev_t *rvd = spa->spa_root_vdev;
2186 vdev_t *vd = spa->spa_root_vdev->vdev_child[indirect_vdev_id];
H A Dvdev_label.c382 if (vd != spa->spa_root_vdev)
701 vdev_t *rvd = spa->spa_root_vdev;
1573 boolean_t changed = uberblock_update(ub, spa->spa_root_vdev,
H A Dspa_log_spacemap.c1265 for (uint64_t c = 0; c < spa->spa_root_vdev->vdev_children; c++) {
1266 vdev_t *vd = spa->spa_root_vdev->vdev_child[c];
H A Dvdev_trim.c1382 vdev_t *root_vd = spa->spa_root_vdev;
1430 vdev_t *root_vd = spa->spa_root_vdev;
H A Dzio.c858 if (vdevid >= spa->spa_root_vdev->vdev_children) {
864 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid];
902 if (vdevid >= spa->spa_root_vdev->vdev_children)
905 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid];
H A Ddsl_pool.c580 vdev_t *rvd = spa->spa_root_vdev;
H A Dmetaslab.c477 vdev_t *rvd = spa->spa_root_vdev;
520 vdev_t *rvd = mc->mc_spa->spa_root_vdev;
570 vdev_t *rvd = mc->mc_spa->spa_root_vdev;
2546 ASSERT3P(vd->vdev_spa->spa_root_vdev, ==, vd->vdev_parent);
H A Dvdev_indirect.c534 vdev_config_dirty(spa->spa_root_vdev);
H A Dzvol.c1914 vdev_t *vd = spa->spa_root_vdev;
1936 * Now have spa_root_vdev->vdev_children == 1 (the raidz vdev),
H A Dzfs_ioctl.c5373 vdev_reopen(spa->spa_root_vdev);
6387 vdev_config_dirty(spa->spa_root_vdev);
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c777 actual_refcount = get_dtl_refcount(spa->spa_root_vdev);
778 actual_refcount += get_metaslab_refcount(spa->spa_root_vdev);
779 actual_refcount += get_obsolete_refcount(spa->spa_root_vdev);
781 actual_refcount += get_checkpoint_refcount(spa->spa_root_vdev);
997 vdev_t *rvd = spa->spa_root_vdev;
1110 vdev_t *vd, *rvd = spa->spa_root_vdev;
3571 vdev_t *rvd = spa->spa_root_vdev;
3654 vdev_t *rvd = spa->spa_root_vdev;
3744 vdev_t *rvd = spa->spa_root_vdev;
3794 vdev_t *rvd = spa->spa_root_vdev;
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h238 vdev_t *spa_root_vdev; /* top-level vdev container */ member in struct:spa
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c749 vlist = &spa->spa_root_vdev->v_children;
1350 vdev_insert(spa->spa_root_vdev, top_vdev);
1507 spa->spa_root_vdev->v_nchildren = vdev_children;
1542 vdev_set_state(spa->spa_root_vdev);
1587 vdev = spa->spa_root_vdev;
1608 spa->spa_root_vdev = vdev_create(guid, NULL);
1609 if (spa->spa_root_vdev == NULL) {
1614 spa->spa_root_vdev->v_name = strdup("root");
1720 vlist = &spa->spa_root_vdev->v_children;
2028 spa->spa_root_vdev
[all...]
/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.c2146 if (GETMEMB(wsp->walk_addr, "spa", spa_root_vdev, root_vdevp) ||
2167 uintptr_t spa_root_vdev; member in struct:mdb_spa
2363 uintptr_t spa_root_vdev; member in struct:mdb_spa_vdevs
2452 if (spa.spa_root_vdev == 0) {
2469 ret = mdb_call_dcmd("vdev", (uintptr_t)spa.spa_root_vdev,
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h1799 vdev_t *spa_root_vdev; /* toplevel vdev container */ member in struct:spa

Completed in 123 milliseconds