Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3312 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 Dspa_misc.c2244 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 Dbrt.c493 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 Dmetaslab.c566 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 Dzio.c1236 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 Dvdev_indirect.c656 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 Dvdev_removal.c1973 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 Dvdev.c506 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 Dspa.h889 #define SCL_VDEV 0x40 macro
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c6366 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()