Home
last modified time | relevance | path

Searched refs:SCL_CONFIG (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_trim.c891 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_thread()
931 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_trim_thread()
955 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_thread()
962 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_trim_thread()
1225 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_autotrim_thread()
1265 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_autotrim_thread()
1364 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_autotrim_thread()
1444 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_autotrim_thread()
1463 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_autotrim_thread()
1588 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_l2arc_thread()
[all …]
H A Dvdev_initialize.c389 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) || in vdev_initialize_calculate_progress()
390 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER)); in vdev_initialize_calculate_progress()
462 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) || in vdev_initialize_load()
463 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER)); in vdev_initialize_load()
535 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_initialize_thread()
559 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_initialize_thread()
572 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_initialize_thread()
579 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_initialize_thread()
707 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER)); in vdev_initialize_stop()
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 Dvdev_rebuild.c772 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_rebuild_thread()
835 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_rebuild_thread()
905 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_rebuild_thread()
913 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_rebuild_thread()
925 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_rebuild_thread()
972 spa_config_exit(spa, SCL_CONFIG, FTAG); in vdev_rebuild_thread()
H A Dspa.c5568 spa_config_exit(spa, SCL_CONFIG, FTAG);
6136 spa_config_exit(spa, SCL_CONFIG, FTAG);
6929 spa_config_exit(spa, SCL_CONFIG, FTAG);
7990 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
8114 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
8927 spa_config_exit(spa, SCL_CONFIG, FTAG);
8961 spa_config_exit(spa, SCL_CONFIG, FTAG);
8969 spa_config_exit(spa, SCL_CONFIG, FTAG);
8977 spa_config_exit(spa, SCL_CONFIG, FTAG);
8988 spa_config_exit(spa, SCL_CONFIG, FTAG);
[all …]
H A Dspa_stats.c409 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_txg_history_init_io()
411 spa_config_exit(spa, SCL_CONFIG, FTAG); in spa_txg_history_init_io()
432 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_txg_history_fini_io()
434 spa_config_exit(spa, SCL_CONFIG, FTAG); in spa_txg_history_fini_io()
H A Dspa_log_spacemap.c1359 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_ld_log_spacemaps()
1361 spa_config_exit(spa, SCL_CONFIG, FTAG); in spa_ld_log_spacemaps()
H A Dvdev_raidz.c4425 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_raidz_expand_thread()
4499 spa_config_exit(spa, SCL_CONFIG, FTAG); in spa_raidz_expand_thread()
4530 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_raidz_expand_thread()
4539 spa_config_exit(spa, SCL_CONFIG, FTAG); in spa_raidz_expand_thread()
4541 spa_config_enter(spa, SCL_CONFIG, FTAG, in spa_raidz_expand_thread()
4546 spa_config_exit(spa, SCL_CONFIG, FTAG); in spa_raidz_expand_thread()
4552 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_raidz_expand_thread()
4556 spa_config_exit(spa, SCL_CONFIG, FTAG); in spa_raidz_expand_thread()
H A Dvdev_removal.c1602 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_vdev_remove_thread()
1693 spa_config_exit(spa, SCL_CONFIG, FTAG); in spa_vdev_remove_thread()
1722 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_vdev_remove_thread()
1746 spa_config_exit(spa, SCL_CONFIG, FTAG); in spa_vdev_remove_thread()
H A Dvdev.c2348 spa_config_held(spa, SCL_CONFIG, RW_WRITER) != SCL_CONFIG) in vdev_validate()
5164 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_WRITER) || in vdev_config_dirty()
5166 spa_config_held(spa, SCL_CONFIG, RW_READER))); in vdev_config_dirty()
5186 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_WRITER) || in vdev_config_clean()
5188 spa_config_held(spa, SCL_CONFIG, RW_READER))); in vdev_config_clean()
H A Dzfs_ioctl.c6864 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_WRITER); in zfs_ioc_pool_sync()
6866 spa_config_exit(spa, SCL_CONFIG, FTAG); in zfs_ioc_pool_sync()
H A Ddsl_scan.c3471 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER)); in scan_io_queues_run()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3088 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in ztest_mmp_enable_disable()
3099 spa_config_exit(spa, SCL_CONFIG, FTAG); in ztest_mmp_enable_disable()
3105 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in ztest_mmp_enable_disable()
3114 spa_config_exit(spa, SCL_CONFIG, FTAG); in ztest_mmp_enable_disable()
8008 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in ztest_raidz_expand_check()
8010 spa_config_exit(spa, SCL_CONFIG, FTAG); in ztest_raidz_expand_check()
8170 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in ztest_raidz_expand_run()
8172 spa_config_exit(spa, SCL_CONFIG, FTAG); in ztest_raidz_expand_run()
8176 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in ztest_raidz_expand_run()
8178 spa_config_exit(spa, SCL_CONFIG, FTAG); in ztest_raidz_expand_run()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c349 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in iterate_through_spacemap_logs()
366 spa_config_exit(spa, SCL_CONFIG, FTAG); in iterate_through_spacemap_logs()
5571 spa_config_enter(zcb->zcb_spa, SCL_CONFIG, FTAG, RW_READER); in zdb_count_block()
5644 spa_config_exit(zcb->zcb_spa, SCL_CONFIG, FTAG); in zdb_count_block()
5955 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in zdb_claim_removing()
5988 spa_config_exit(spa, SCL_CONFIG, FTAG); in zdb_claim_removing()
6477 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in zdb_leak_init()
6479 spa_config_exit(spa, SCL_CONFIG, FTAG); in zdb_leak_init()
7194 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in dump_simulated_ddt()
7199 spa_config_exit(spa, SCL_CONFIG, FTAG); in dump_simulated_ddt()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.h876 #define SCL_CONFIG 0x01 macro