Home
last modified time | relevance | path

Searched refs:SCL_STATE (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/uts/common/fs/zfs/
H A Dspa_config.c370 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER); in spa_config_generate()
373 ASSERT(spa_config_held(spa, SCL_CONFIG | SCL_STATE, RW_READER) == in spa_config_generate()
374 (SCL_CONFIG | SCL_STATE)); in spa_config_generate()
490 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG); in spa_config_generate()
H A Dspa.c731 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_change_guid_check()
733 spa_config_exit(spa, SCL_STATE, FTAG); in spa_change_guid_check()
753 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_change_guid_sync()
757 spa_config_exit(spa, SCL_STATE, FTAG); in spa_change_guid_sync()
5978 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_sync_config_object()
5991 spa_config_exit(spa, SCL_STATE, FTAG); in spa_sync_config_object()
6253 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_sync()
6262 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG); in spa_sync()
6263 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_WRITER); in spa_sync()
6268 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG); in spa_sync()
[all …]
H A Dvdev_disk.c191 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 Dzil.c726 spa_config_enter(os->os_spa, SCL_STATE, FTAG, RW_READER); in zil_check_log_chain()
730 spa_config_exit(os->os_spa, SCL_STATE, FTAG); in zil_check_log_chain()
812 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in zil_flush_vdevs()
829 spa_config_exit(spa, SCL_STATE, FTAG); in zil_flush_vdevs()
H A Dvdev_label.c200 (spa_config_held(zio->io_spa, SCL_CONFIG | SCL_STATE, RW_READER) == in vdev_label_write()
201 (SCL_CONFIG | SCL_STATE) && in vdev_label_write()
H A Dvdev.c3011 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) || in vdev_state_dirty()
3013 spa_config_held(spa, SCL_STATE, RW_READER))); in vdev_state_dirty()
3024 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) || in vdev_state_clean()
3026 spa_config_held(spa, SCL_STATE, RW_READER))); in vdev_state_clean()
H A Dzvol.c1205 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in zvol_dumpio()
1213 spa_config_exit(spa, SCL_STATE, FTAG); in zvol_dumpio()
H A Ddnode.c1083 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER))); in dnode_hold_impl()
/titanic_44/usr/src/cmd/ztest/
H A Dztest.c2933 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()
2968 spa_config_exit(spa, SCL_STATE, spa); in online_vdev()
2970 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in online_vdev()
3048 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in ztest_vdev_LUN_growth()
3074 spa_config_exit(spa, SCL_STATE, spa); in ztest_vdev_LUN_growth()
3099 spa_config_exit(spa, SCL_STATE, spa); in ztest_vdev_LUN_growth()
3104 spa_config_exit(spa, SCL_STATE, spa); in ztest_vdev_LUN_growth()
3122 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in ztest_vdev_LUN_growth()
3133 spa_config_exit(spa, SCL_STATE, spa); in ztest_vdev_LUN_growth()
[all …]
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h709 #define SCL_STATE 0x02 macro
717 #define SCL_STATE_ALL (SCL_STATE | SCL_L2ARC | SCL_ZIO)
/titanic_44/usr/src/cmd/zdb/
H A Dzdb.c3399 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in zdb_read_block()
3421 spa_config_exit(spa, SCL_STATE, FTAG); in zdb_read_block()