Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_config.c427 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 Dmmp.c290 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 Dvdev_label.c192 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 Dspa.c991 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 Dvdev_removal.c576 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 Dddt_log.c697 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 Dvdev_raidz.c3858 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 Dzil.c1275 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 Dvdev_initialize.c708 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER)); in vdev_initialize_stop()
H A Dvdev.c5265 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 Dvdev_trim.c1065 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER)); in vdev_trim_stop()
H A Ddnode.c1457 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER))); in dnode_hold_impl()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c4254 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 Dvdev_disk.c1488 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 Dspa.h881 #define SCL_STATE 0x02 macro
889 #define SCL_STATE_ALL (SCL_STATE | SCL_L2ARC | SCL_ZIO)
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c8937 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()