Home
last modified time | relevance | path

Searched refs:spa_root_vdev (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c532 vdev_deadman(spa->spa_root_vdev); in spa_deadman()
1095 vdev_dtl_reassess(spa->spa_root_vdev, 0, 0, B_FALSE); in spa_vdev_config_exit()
1178 vdev_hold(spa->spa_root_vdev); in spa_vdev_state_enter()
1192 vdev_dtl_reassess(vd ? vd->vdev_top : spa->spa_root_vdev, in spa_vdev_state_exit()
1202 vdev_rele(spa->spa_root_vdev); in spa_vdev_state_exit()
1247 vdev_config_dirty(spa->spa_root_vdev); in spa_activate_mos_feature()
1255 vdev_config_dirty(spa->spa_root_vdev); in spa_deactivate_mos_feature()
1290 vdev_config_dirty(spa->spa_root_vdev); in spa_rename()
1324 if (spa->spa_root_vdev == NULL) in spa_by_guid()
1330 if (vdev_lookup_by_guid(spa->spa_root_vdev, in spa_by_guid()
[all …]
H A Dspa.c196 vdev_t *rvd = spa->spa_root_vdev; in spa_prop_get_config()
482 if (!vdev_is_bootable(spa->spa_root_vdev)) { in spa_prop_validate()
728 vdev_t *rvd = spa->spa_root_vdev; in spa_change_guid_check()
749 vdev_t *rvd = spa->spa_root_vdev; in spa_change_guid_sync()
1114 ASSERT(spa->spa_root_vdev == NULL); in spa_deactivate()
1262 if (spa->spa_root_vdev) in spa_unload()
1263 vdev_free(spa->spa_root_vdev); in spa_unload()
1264 ASSERT(spa->spa_root_vdev == NULL); in spa_unload()
1622 vdev_t *mrvd, *rvd = spa->spa_root_vdev; in spa_config_valid()
1763 vdev_t *rvd = spa->spa_root_vdev; in spa_passivate_log()
[all …]
H A Dvdev.c153 vdev_t *rvd = spa->spa_root_vdev; in vdev_lookup_top()
198 return (vdev_count_leaves_impl(spa->spa_root_vdev)); in vdev_count_leaves()
316 if (spa->spa_root_vdev == NULL) { in vdev_alloc_common()
318 spa->spa_root_vdev = vd; in vdev_alloc_common()
323 if (spa->spa_root_vdev == vd) { in vdev_alloc_common()
413 if (ops != &vdev_root_ops && spa->spa_root_vdev == NULL) in vdev_alloc()
669 if (vd == spa->spa_root_vdev) in vdev_free()
670 spa->spa_root_vdev = NULL; in vdev_free()
1679 ASSERT(vd != vd->vdev_spa->spa_root_vdev); in vdev_dtl_dirty()
1695 ASSERT(vd != vd->vdev_spa->spa_root_vdev); in vdev_dtl_contains()
[all …]
H A Dspa_config.c363 vdev_t *rvd = spa->spa_root_vdev; in spa_config_generate()
504 vdev_t *rvd = spa->spa_root_vdev; in spa_config_update()
H A Ddsl_scan.c196 scn->scn_phys.scn_to_examine = spa->spa_root_vdev->vdev_stat.vs_alloc; in dsl_scan_setup_sync()
205 vdev_config_dirty(spa->spa_root_vdev); in dsl_scan_setup_sync()
207 if (vdev_resilver_needed(spa->spa_root_vdev, in dsl_scan_setup_sync()
308 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg, in dsl_scan_done()
1449 if (vdev_resilver_needed(spa->spa_root_vdev, NULL, NULL)) in dsl_scan_sync()
1810 vdev_t *rvd = spa->spa_root_vdev; in dsl_scan_scrub_cb()
1850 vdev_reopen(spa->spa_root_vdev); in dsl_scan()
H A Dvdev_label.c401 vdev_t *rvd = spa->spa_root_vdev; in vdev_top_config_generate()
1213 uberblock_update(ub, spa->spa_root_vdev, txg) == B_FALSE && in vdev_config_sync()
H A Dmetaslab.c277 vdev_t *rvd = mc->mc_spa->spa_root_vdev; in metaslab_class_histogram_verify()
320 vdev_t *rvd = mc->mc_spa->spa_root_vdev; in metaslab_class_fragmentation()
370 vdev_t *rvd = mc->mc_spa->spa_root_vdev; in metaslab_class_expandable_space()
H A Dzio.c650 if (vdevid >= spa->spa_root_vdev->vdev_children) { in zfs_blkptr_verify()
656 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid]; in zfs_blkptr_verify()
964 (pio->io_vd ? pio->io_vd : pio->io_spa->spa_root_vdev)); in zio_vdev_child_io()
H A Dzvol.c1906 vdev_t *vd = spa->spa_root_vdev; in zvol_dump_init()
H A Dzfs_ioctl.c4636 vdev_reopen(spa->spa_root_vdev); in zfs_ioc_pool_reopen()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h152 vdev_t *spa_root_vdev; /* top-level vdev container */ member
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c654 actual_refcount = get_dtl_refcount(spa->spa_root_vdev); in verify_spacemap_refcounts()
655 actual_refcount += get_metaslab_refcount(spa->spa_root_vdev); in verify_spacemap_refcounts()
798 vdev_t *rvd = spa->spa_root_vdev; in dump_metaslab_groups()
839 vdev_t *vd, *rvd = spa->spa_root_vdev; in dump_metaslabs()
2549 vdev_t *rvd = spa->spa_root_vdev; in zdb_leak_init()
2604 vdev_t *rvd = spa->spa_root_vdev; in zdb_leak_fini()
3035 dump_dtl(spa->spa_root_vdev, 0); in dump_zpool()
3299 vd = zdb_vdev_lookup(spa->spa_root_vdev, vdev); in zdb_read_block()
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c996 vdev_t *rvd = spa->spa_root_vdev; in ztest_random_vdev_top()
2474 vdev_t *rvd = spa->spa_root_vdev; in find_vdev_hole()
2566 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_aux_add_remove()
2649 vdev_t *rvd = spa->spa_root_vdev; in ztest_split_pool()
2746 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_attach_detach()
3049 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
3121 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
4842 vd0 = vdev_lookup_by_path(spa->spa_root_vdev, path0); in ztest_fault_inject()
5378 if (spa_suspended(spa) || spa->spa_root_vdev == NULL) { in ztest_deadman_thread()
5384 vdev_deadman(spa->spa_root_vdev); in ztest_deadman_thread()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1671 if (GETMEMB(wsp->walk_addr, "spa", spa_root_vdev, root_vdevp) || in metaslab_walk_init()
1692 uintptr_t spa_root_vdev; member
1856 uintptr_t spa_root_vdev; member
1945 if (spa.spa_root_vdev == NULL) { in spa_vdevs()
1962 ret = mdb_call_dcmd("vdev", (uintptr_t)spa.spa_root_vdev, in spa_vdevs()