/freebsd/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 3312 ASSERT3U(spa_config_held(spa, SCL_VDEV, RW_READER), ==, SCL_VDEV); in spa_num_top_vdevs() 3339 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_add_remove() 3358 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove() 3384 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove() 3450 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_class_add() 3452 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_class_add() 3522 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_aux_add_remove() 3556 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_aux_add_remove() 3631 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_split_pool() 3679 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_split_pool() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_misc.c | 2244 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in bp_get_dsize() 2249 spa_config_exit(spa, SCL_VDEV, FTAG); in bp_get_dsize() 2833 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_get_last_removal_txg() 2857 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_get_last_removal_txg()
|
H A D | brt.c | 493 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in brt_vdev_realloc() 496 spa_config_exit(spa, SCL_VDEV, FTAG); in brt_vdev_realloc()
|
H A D | metaslab.c | 566 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_fragmentation() 586 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation() 600 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation() 616 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_expandable_space() 634 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_expandable_space() 6080 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in metaslab_check_free() 6094 spa_config_exit(spa, SCL_VDEV, FTAG); in metaslab_check_free()
|
H A D | zio.c | 1236 ASSERT(spa_config_held(spa, SCL_VDEV, RW_WRITER)); in zfs_blkptr_verify() 1239 spa_config_enter(spa, SCL_VDEV, bp, RW_READER); in zfs_blkptr_verify() 1242 if (!spa_config_tryenter(spa, SCL_VDEV, bp, RW_READER)) in zfs_blkptr_verify() 1303 spa_config_exit(spa, SCL_VDEV, bp); in zfs_blkptr_verify() 3333 spa_config_enter(zio->io_spa, SCL_VDEV, FTAG, RW_READER); in zio_nop_write() 3338 spa_config_exit(zio->io_spa, SCL_VDEV, FTAG); in zio_nop_write() 3342 spa_config_exit(zio->io_spa, SCL_VDEV, FTAG); in zio_nop_write()
|
H A D | vdev_indirect.c | 656 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_condense_indirect_thread() 659 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_condense_indirect_thread()
|
H A D | vdev_removal.c | 1973 spa_config_enter(spa, SCL_ALLOC | SCL_VDEV, FTAG, RW_WRITER); in spa_vdev_remove_cancel_sync() 1975 spa_config_exit(spa, SCL_ALLOC | SCL_VDEV, FTAG); in spa_vdev_remove_cancel_sync()
|
H A D | vdev.c | 506 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in vdev_count_leaves() 508 spa_config_exit(spa, SCL_VDEV, FTAG); in vdev_count_leaves()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | spa.h | 889 #define SCL_VDEV 0x40 macro
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 6366 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in increment_indirect_mapping_cb() 6369 spa_config_exit(spa, SCL_VDEV, FTAG); in increment_indirect_mapping_cb()
|