/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 1257 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_unload() 1318 spa_config_exit(spa, SCL_ALL, FTAG); in spa_unload() 1335 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); in spa_load_spares() 1454 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); in spa_load_l2cache() 1627 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_config_valid() 1714 spa_config_exit(spa, SCL_ALL, FTAG); in spa_config_valid() 1716 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_config_valid() 1730 spa_config_exit(spa, SCL_ALL, FTAG); in spa_config_valid() 2198 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_load_impl() 2200 spa_config_exit(spa, SCL_ALL, FTAG); in spa_load_impl() [all …]
|
H A D | spa_misc.c | 1072 spa_config_enter(spa, SCL_ALL, spa, RW_WRITER); in spa_vdev_config_enter() 1108 spa_config_exit(spa, SCL_ALL, spa); in spa_vdev_config_exit() 1128 spa_config_enter(spa, SCL_ALL, spa, RW_WRITER); in spa_vdev_config_exit() 1130 spa_config_exit(spa, SCL_ALL, spa); in spa_vdev_config_exit() 1279 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_rename() 1292 spa_config_exit(spa, SCL_ALL, FTAG); in spa_rename() 1440 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_freeze() 1445 spa_config_exit(spa, SCL_ALL, FTAG); in spa_freeze() 1754 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0); in dva_get_dsize_sync()
|
H A D | vdev_label.c | 199 ASSERT(spa_config_held(zio->io_spa, SCL_ALL, RW_WRITER) == SCL_ALL || in vdev_label_write() 639 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_label_init() 959 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in vdev_uberblock_load() 972 spa_config_exit(spa, SCL_ALL, FTAG); in vdev_uberblock_load()
|
H A D | vdev.c | 155 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0); in vdev_lookup_top() 209 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_add_child() 286 ASSERT(spa_config_held(pvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_compact_children() 378 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_alloc() 763 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_add_parent() 795 ASSERT(spa_config_held(cvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_remove_parent() 1797 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0); in vdev_dtl_reassess() 2654 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0); in vdev_get_stats() 3309 ASSERT(spa_config_held(vd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_expand()
|
H A D | spa_config.c | 510 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_config_update() 529 spa_config_exit(spa, SCL_ALL, FTAG); in spa_config_update()
|
H A D | metaslab.c | 223 ASSERT(spa_config_held(mc->mc_spa, SCL_ALL, RW_READER) || in metaslab_class_validate() 224 spa_config_held(mc->mc_spa, SCL_ALL, RW_WRITER)); in metaslab_class_validate()
|
H A D | dnode.c | 1081 ASSERT(spa_config_held(os->os_spa, SCL_ALL, RW_WRITER) == 0 || in dnode_hold_impl()
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | spa.h | 716 #define SCL_ALL ((1 << SCL_LOCKS) - 1) macro
|
/titanic_41/usr/src/cmd/ztest/ |
H A D | ztest.c | 999 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0); in ztest_random_vdev_top()
|