/titanic_44/usr/src/uts/common/fs/zfs/ |
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() 840 ASSERT(txg == 0 || spa_config_held(spa, SCL_ALLOC, RW_WRITER)); in vdev_metaslab_init() 1019 if (spa_config_held(spa, SCL_ZIO, RW_WRITER)) { in vdev_probe() 1144 spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL); in vdev_open() 1467 ASSERT(spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL); in vdev_close() [all …]
|
H A D | vdev_label.c | 185 ASSERT(spa_config_held(zio->io_spa, SCL_STATE_ALL, RW_WRITER) == in vdev_label_read() 199 ASSERT(spa_config_held(zio->io_spa, SCL_ALL, RW_WRITER) == SCL_ALL || in vdev_label_write() 200 (spa_config_held(zio->io_spa, SCL_CONFIG | SCL_STATE, RW_READER) == in vdev_label_write() 445 ASSERT(spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL); in vdev_label_read_config() 639 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_label_init()
|
H A D | vdev_disk.c | 191 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER)); in vdev_disk_hold() 230 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER)); in vdev_disk_rele()
|
H A D | spa.c | 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() 1766 ASSERT(spa_config_held(spa, SCL_ALLOC, RW_WRITER)); in spa_passivate_log() 1789 ASSERT(spa_config_held(spa, SCL_ALLOC, RW_WRITER)); in spa_activate_log() 3098 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER)); in spa_add_spares() 3147 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER)); in spa_add_l2cache() 3195 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER)); in spa_add_feature_stats() 3313 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); in spa_validate_aux_devs() 3389 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); in spa_validate_aux() 5222 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == 0); in spa_vdev_remove_evacuate() [all …]
|
H A D | spa_config.c | 373 ASSERT(spa_config_held(spa, SCL_CONFIG | SCL_STATE, RW_READER) == in spa_config_generate()
|
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() 517 ASSERT(spa_config_held(mc->mc_spa, SCL_ALLOC, RW_WRITER)); in metaslab_group_activate() 549 ASSERT(spa_config_held(mc->mc_spa, SCL_ALLOC, RW_WRITER)); in metaslab_group_passivate()
|
H A D | spa_misc.c | 459 spa_config_held(spa_t *spa, int locks, krw_t rw) in spa_config_held() function 1754 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0); in dva_get_dsize_sync()
|
H A D | dnode.c | 1081 ASSERT(spa_config_held(os->os_spa, SCL_ALL, RW_WRITER) == 0 || in dnode_hold_impl() 1083 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER))); in dnode_hold_impl()
|
H A D | zio.c | 510 ASSERT(!vd || spa_config_held(spa, SCL_STATE_ALL, RW_READER)); in zio_create()
|
/titanic_44/usr/src/uts/common/fs/zfs/sys/ |
H A D | spa.h | 723 extern int spa_config_held(spa_t *spa, int locks, krw_t rw);
|
/titanic_44/usr/src/cmd/ztest/ |
H A D | ztest.c | 1002 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0); in ztest_random_vdev_top() 2480 ASSERT(spa_config_held(spa, SCL_VDEV, RW_READER) == SCL_VDEV); in find_vdev_hole() 2933 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE); in grow_vdev() 2964 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE); in online_vdev()
|