/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_config.c | 427 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER); in spa_config_generate() 430 ASSERT(spa_config_held(spa, SCL_CONFIG | SCL_STATE, RW_READER) == in spa_config_generate() 431 (SCL_CONFIG | SCL_STATE)); in spa_config_generate() 555 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG); in spa_config_generate()
|
H A D | mmp.c | 290 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER)); in mmp_next_leaf() 406 spa_config_exit(spa, SCL_STATE, mmp_tag); in mmp_write_done() 448 spa_config_enter_mmp(spa, SCL_STATE, mmp_tag, RW_READER); in mmp_write_uberblock() 451 zfs_dbgmsg("MMP SCL_STATE acquisition pool '%s' took %llu ns " in mmp_write_uberblock() 481 spa_config_exit(spa, SCL_STATE, mmp_tag); in mmp_write_uberblock()
|
H A D | vdev_label.c | 192 spa_config_held(zio->io_spa, SCL_STATE, RW_READER) == SCL_STATE || in vdev_label_read() 193 spa_config_held(zio->io_spa, SCL_STATE, RW_WRITER) == SCL_STATE); in vdev_label_read() 207 spa_config_held(zio->io_spa, SCL_STATE, RW_READER) == SCL_STATE || in vdev_label_write() 208 spa_config_held(zio->io_spa, SCL_STATE, RW_WRITER) == SCL_STATE); in vdev_label_write() 1682 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_READER) == in vdev_copy_uberblocks() 1683 SCL_STATE); in vdev_copy_uberblocks()
|
H A D | spa.c | 991 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_change_guid_check() 993 spa_config_exit(spa, SCL_STATE, FTAG); in spa_change_guid_check() 1013 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_change_guid_sync() 1017 spa_config_exit(spa, SCL_STATE, FTAG); in spa_change_guid_sync() 8073 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER); 8078 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG); 8081 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG); 8084 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG); 8088 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG); 8191 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER); [all …]
|
H A D | vdev_removal.c | 576 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_remove_init() 581 spa_config_exit(spa, SCL_STATE, FTAG); in spa_remove_init() 596 spa_config_exit(spa, SCL_STATE, FTAG); in spa_remove_init() 601 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_remove_init() 616 spa_config_exit(spa, SCL_STATE, FTAG); in spa_remove_init() 974 spa_config_exit(zio->io_spa, SCL_STATE, zio->io_spa); in spa_vdev_copy_segment_done() 1231 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in spa_vdev_copy_segment()
|
H A D | ddt_log.c | 697 spa_config_enter(ddt->ddt_spa, SCL_STATE, FTAG, RW_READER); in ddt_log_load() 740 spa_config_exit(ddt->ddt_spa, SCL_STATE, FTAG); in ddt_log_load()
|
H A D | vdev_raidz.c | 3858 spa_config_exit(zio->io_spa, SCL_STATE, zio->io_spa); in raidz_reflow_write_done() 3993 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in raidz_reflow_impl() 4011 spa_config_exit(spa, SCL_STATE, spa); in raidz_reflow_impl() 4073 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in raidz_reflow_scratch_sync() 4156 spa_config_exit(spa, SCL_STATE, FTAG); in raidz_reflow_scratch_sync() 4308 spa_config_exit(spa, SCL_STATE, FTAG); in raidz_reflow_scratch_sync() 4333 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in vdev_raidz_reflow_copy_scratch() 4416 spa_config_exit(spa, SCL_STATE, FTAG); in vdev_raidz_reflow_copy_scratch()
|
H A D | zil.c | 1275 spa_config_enter(os->os_spa, SCL_STATE, FTAG, RW_READER); in zil_check_log_chain() 1279 spa_config_exit(os->os_spa, SCL_STATE, FTAG); in zil_check_log_chain() 1460 spa_config_exit(zilog->zl_spa, SCL_STATE, lwb); in zil_lwb_flush_vdevs_done() 1586 ASSERT3S(spa_config_held(spa, SCL_STATE, RW_READER), !=, 0); in zil_lwb_write_done() 2013 spa_config_enter(spa, SCL_STATE, lwb, RW_READER); in zil_lwb_write_issue()
|
H A D | vdev_initialize.c | 708 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER)); in vdev_initialize_stop()
|
H A D | vdev.c | 5265 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) || in vdev_state_dirty() 5267 spa_config_held(spa, SCL_STATE, RW_READER))); in vdev_state_dirty() 5279 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) || in vdev_state_clean() 5281 spa_config_held(spa, SCL_STATE, RW_READER))); in vdev_state_clean()
|
H A D | vdev_trim.c | 1065 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER)); in vdev_trim_stop()
|
H A D | dnode.c | 1457 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER))); in dnode_hold_impl()
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 4254 ASSERT3S(spa_config_held(spa, SCL_STATE, RW_READER), ==, SCL_STATE); in grow_vdev() 4285 ASSERT3S(spa_config_held(spa, SCL_STATE, RW_READER), ==, SCL_STATE); in online_vdev() 4289 spa_config_exit(spa, SCL_STATE, spa); in online_vdev() 4291 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in online_vdev() 4372 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in ztest_vdev_LUN_growth() 4381 spa_config_exit(spa, SCL_STATE, spa); in ztest_vdev_LUN_growth() 4393 spa_config_exit(spa, SCL_STATE, spa); in ztest_vdev_LUN_growth() 4423 spa_config_exit(spa, SCL_STATE, spa); in ztest_vdev_LUN_growth() 4449 spa_config_exit(spa, SCL_STATE, spa); in ztest_vdev_LUN_growth() 4455 spa_config_exit(spa, SCL_STATE, spa); in ztest_vdev_LUN_growth() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | vdev_disk.c | 1488 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER)); in vdev_disk_hold() 1506 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER)); in vdev_disk_rele()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | spa.h | 881 #define SCL_STATE 0x02 macro 889 #define SCL_STATE_ALL (SCL_STATE | SCL_L2ARC | SCL_ZIO)
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 8937 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in zdb_read_block() 8959 spa_config_exit(spa, SCL_STATE, FTAG); in zdb_read_block() 9035 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in zdb_read_block() 9073 spa_config_exit(spa, SCL_STATE, FTAG); in zdb_read_block()
|