| /freebsd/sys/contrib/openzfs/cmd/ |
| H A D | zhack.c | 715 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in zhack_do_mmp_reclaim() 717 spa_config_exit(spa, SCL_VDEV, FTAG); in zhack_do_mmp_reclaim() 1042 spa_config_enter(spa, SCL_VDEV | SCL_ALLOC, FTAG, RW_READER); in zhack_collect_mos_leak_report() 1044 spa_config_exit(spa, SCL_VDEV | SCL_ALLOC, FTAG); in zhack_collect_mos_leak_report() 1511 spa_config_enter(spa, SCL_VDEV | SCL_ALLOC, FTAG, RW_READER); in zhack_do_metaslab_leak() 1601 spa_config_exit(spa, SCL_VDEV | SCL_ALLOC, FTAG); in zhack_do_metaslab_leak()
|
| H A D | ztest.c | 3470 ASSERT3U(spa_config_held(spa, SCL_VDEV, RW_READER), ==, SCL_VDEV); in spa_num_top_vdevs() 3497 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_add_remove() 3516 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove() 3542 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove() 3608 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_class_add() 3610 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_class_add() 3680 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_aux_add_remove() 3714 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_aux_add_remove() 3789 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_split_pool() 3837 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_split_pool() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | spa_misc.c | 2317 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in bp_get_dsize() 2322 spa_config_exit(spa, SCL_VDEV, FTAG); in bp_get_dsize() 2907 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_get_last_removal_txg() 2931 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_get_last_removal_txg()
|
| H A D | spa_log_spacemap.c | 775 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_log_flushall_start() 811 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_log_flushall_start()
|
| H A D | zio.c | 1241 ASSERT(spa_config_held(spa, SCL_VDEV, RW_WRITER)); in zfs_blkptr_verify() 1244 spa_config_enter(spa, SCL_VDEV, bp, RW_READER); in zfs_blkptr_verify() 1247 if (!spa_config_tryenter(spa, SCL_VDEV, bp, RW_READER)) in zfs_blkptr_verify() 1308 spa_config_exit(spa, SCL_VDEV, bp); in zfs_blkptr_verify() 3289 spa_config_enter(gio->io_spa, SCL_VDEV, FTAG, RW_READER); in zio_gang_tree_assemble() 3296 spa_config_exit(gio->io_spa, SCL_VDEV, FTAG); in zio_gang_tree_assemble() 3738 spa_config_enter(zio->io_spa, SCL_VDEV, FTAG, RW_READER); in zio_nop_write() 3743 spa_config_exit(zio->io_spa, SCL_VDEV, FTAG); in zio_nop_write() 3747 spa_config_exit(zio->io_spa, SCL_VDEV, FTAG); in zio_nop_write()
|
| H A D | metaslab.c | 806 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_fragmentation() 810 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation() 832 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation() 846 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation() 862 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_expandable_space() 880 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_expandable_space() 6234 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in metaslab_check_free() 6248 spa_config_exit(spa, SCL_VDEV, FTAG); in metaslab_check_free()
|
| H A D | vdev_indirect.c | 653 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_condense_indirect_thread() 656 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_condense_indirect_thread()
|
| H A D | brt.c | 500 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in brt_vdev_realloc() 503 spa_config_exit(spa, SCL_VDEV, FTAG); in brt_vdev_realloc()
|
| H A D | vdev_removal.c | 2027 spa_config_enter(spa, SCL_ALLOC | SCL_VDEV, FTAG, RW_WRITER); in spa_vdev_remove_cancel_sync() 2029 spa_config_exit(spa, SCL_ALLOC | SCL_VDEV, FTAG); in spa_vdev_remove_cancel_sync()
|
| H A D | vdev.c | 560 held = (spa_config_held(spa, SCL_VDEV, RW_WRITER) == SCL_VDEV); in vdev_count_leaves() 563 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()
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 913 #define SCL_VDEV 0x40 macro
|
| /freebsd/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 7121 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in increment_indirect_mapping_cb() 7124 spa_config_exit(spa, SCL_VDEV, FTAG); in increment_indirect_mapping_cb()
|