Home
last modified time | relevance | path

Searched refs:SCL_VDEV (Results 1 – 11 of 11) sorted by relevance

/src/sys/contrib/openzfs/cmd/
H A Dztest.c3313 ASSERT3U(spa_config_held(spa, SCL_VDEV, RW_READER), ==, SCL_VDEV); in spa_num_top_vdevs()
3340 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_add_remove()
3359 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove()
3385 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove()
3451 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_class_add()
3453 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_class_add()
3523 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_aux_add_remove()
3557 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_aux_add_remove()
3632 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_split_pool()
3680 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_split_pool()
[all …]
H A Dzhack.c694 spa_config_enter(spa, SCL_VDEV | SCL_ALLOC, FTAG, RW_READER); in zhack_do_metaslab_leak()
784 spa_config_exit(spa, SCL_VDEV | SCL_ALLOC, FTAG); in zhack_do_metaslab_leak()
/src/sys/contrib/openzfs/module/zfs/
H A Dspa_misc.c2325 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in bp_get_dsize()
2330 spa_config_exit(spa, SCL_VDEV, FTAG); in bp_get_dsize()
2912 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_get_last_removal_txg()
2936 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_get_last_removal_txg()
H A Dzio.c1221 ASSERT(spa_config_held(spa, SCL_VDEV, RW_WRITER)); in zfs_blkptr_verify()
1224 spa_config_enter(spa, SCL_VDEV, bp, RW_READER); in zfs_blkptr_verify()
1227 if (!spa_config_tryenter(spa, SCL_VDEV, bp, RW_READER)) in zfs_blkptr_verify()
1288 spa_config_exit(spa, SCL_VDEV, bp); in zfs_blkptr_verify()
2949 spa_config_enter(gio->io_spa, SCL_VDEV, FTAG, RW_READER); in zio_gang_tree_assemble()
2956 spa_config_exit(gio->io_spa, SCL_VDEV, FTAG); in zio_gang_tree_assemble()
3398 spa_config_enter(zio->io_spa, SCL_VDEV, FTAG, RW_READER); in zio_nop_write()
3403 spa_config_exit(zio->io_spa, SCL_VDEV, FTAG); in zio_nop_write()
3407 spa_config_exit(zio->io_spa, SCL_VDEV, FTAG); in zio_nop_write()
H A Dmetaslab.c809 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_fragmentation()
813 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation()
835 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation()
849 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation()
865 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_expandable_space()
883 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_expandable_space()
6221 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in metaslab_check_free()
6235 spa_config_exit(spa, SCL_VDEV, FTAG); in metaslab_check_free()
H A Dbrt.c507 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in brt_vdev_realloc()
510 spa_config_exit(spa, SCL_VDEV, FTAG); in brt_vdev_realloc()
H A Dvdev_indirect.c657 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_condense_indirect_thread()
660 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_condense_indirect_thread()
H A Dvdev_removal.c2019 spa_config_enter(spa, SCL_ALLOC | SCL_VDEV, FTAG, RW_WRITER); in spa_vdev_remove_cancel_sync()
2021 spa_config_exit(spa, SCL_ALLOC | SCL_VDEV, FTAG); in spa_vdev_remove_cancel_sync()
H A Dvdev.c564 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in vdev_count_leaves()
566 spa_config_exit(spa, SCL_VDEV, FTAG); in vdev_count_leaves()
/src/sys/contrib/openzfs/include/sys/
H A Dspa.h919 #define SCL_VDEV 0x40 macro
/src/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c6927 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in increment_indirect_mapping_cb()
6930 spa_config_exit(spa, SCL_VDEV, FTAG); in increment_indirect_mapping_cb()