Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dspa_misc.c1856 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_update_dspace()
1870 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_update_dspace()
2135 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in bp_get_dsize()
2140 spa_config_exit(spa, SCL_VDEV, FTAG); in bp_get_dsize()
2626 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_get_last_removal_txg()
2650 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_get_last_removal_txg()
H A Dmetaslab.c567 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_fragmentation()
587 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation()
601 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation()
617 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_expandable_space()
635 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_expandable_space()
5935 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in metaslab_fastwrite_mark()
5943 spa_config_exit(spa, SCL_VDEV, FTAG); in metaslab_fastwrite_mark()
5959 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in metaslab_fastwrite_unmark()
5968 spa_config_exit(spa, SCL_VDEV, FTAG); in metaslab_fastwrite_unmark()
6036 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in metaslab_check_free()
[all …]
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 Dzio.c1013 spa_config_enter(spa, SCL_VDEV, bp, RW_READER); in zfs_blkptr_verify()
1015 ASSERT(spa_config_held(spa, SCL_VDEV, RW_WRITER)); in zfs_blkptr_verify()
1068 spa_config_exit(spa, SCL_VDEV, bp); in zfs_blkptr_verify()
3022 spa_config_enter(zio->io_spa, SCL_VDEV, FTAG, RW_READER); in zio_nop_write()
3026 spa_config_exit(zio->io_spa, SCL_VDEV, FTAG); in zio_nop_write()
3029 spa_config_exit(zio->io_spa, SCL_VDEV, FTAG); in zio_nop_write()
H A Dvdev_removal.c1788 spa_config_enter(spa, SCL_ALLOC | SCL_VDEV, FTAG, RW_WRITER); in spa_vdev_remove_cancel_impl()
1793 spa_config_exit(spa, SCL_ALLOC | SCL_VDEV, FTAG); in spa_vdev_remove_cancel_impl()
H A Dvdev.c447 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in vdev_count_leaves()
449 spa_config_exit(spa, SCL_VDEV, FTAG); in vdev_count_leaves()
/freebsd-13.1/sys/contrib/openzfs/cmd/ztest/
H A Dztest.c3202 ASSERT3U(spa_config_held(spa, SCL_VDEV, RW_READER), ==, SCL_VDEV); in spa_num_top_vdevs()
3246 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove()
3272 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove()
3339 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_class_add()
3442 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_aux_add_remove()
3563 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_split_pool()
3850 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_device_removal()
6658 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_initialize()
6673 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_initialize()
6730 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_trim()
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dspa.h895 #define SCL_VDEV 0x40 macro
/freebsd-13.1/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c5577 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in increment_indirect_mapping_cb()
5580 spa_config_exit(spa, SCL_VDEV, FTAG); in increment_indirect_mapping_cb()