/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 3946 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in increment_indirect_mapping_cb() 3949 spa_config_exit(spa, SCL_VDEV, FTAG); in increment_indirect_mapping_cb()
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 2839 ASSERT3U(spa_config_held(spa, SCL_VDEV, RW_READER), ==, SCL_VDEV); in spa_num_top_vdevs() 2882 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove() 2906 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_add_remove() 2971 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_class_add() 3066 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_vdev_aux_add_remove() 3186 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_split_pool() 3439 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_device_removal() 6101 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_initialize() 6116 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_initialize() 6173 spa_config_exit(spa, SCL_VDEV, FTAG); in ztest_trim() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dbuf.c | 4054 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in dbuf_can_remap() 4062 spa_config_exit(spa, SCL_VDEV, FTAG); in dbuf_can_remap() 4079 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in dnode_needs_remap() 4087 spa_config_exit(spa, SCL_VDEV, FTAG); in dnode_needs_remap()
|
H A D | metaslab.c | 523 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_fragmentation() 543 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation() 557 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_fragmentation() 573 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_expandable_space() 596 spa_config_exit(mc->mc_spa, SCL_VDEV, FTAG); in metaslab_class_expandable_space() 5888 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in metaslab_check_free() 5902 spa_config_exit(spa, SCL_VDEV, FTAG); in metaslab_check_free()
|
H A D | spa_misc.c | 1834 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_update_dspace() 1839 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_update_dspace() 2047 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in bp_get_dsize() 2052 spa_config_exit(spa, SCL_VDEV, FTAG); in bp_get_dsize() 2493 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_get_last_removal_txg() 2517 spa_config_exit(spa, SCL_VDEV, FTAG); in spa_get_last_removal_txg()
|
H A D | vdev.c | 344 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in vdev_count_leaves() 346 spa_config_exit(spa, SCL_VDEV, FTAG); in vdev_count_leaves()
|
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 | vdev_removal.c | 1692 spa_config_enter(spa, SCL_ALLOC | SCL_VDEV, FTAG, RW_WRITER); in spa_vdev_remove_cancel() 1695 spa_config_exit(spa, SCL_ALLOC | SCL_VDEV, FTAG); in spa_vdev_remove_cancel()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | spa.h | 850 #define SCL_VDEV 0x40 macro
|