Home
last modified time | relevance | path

Searched refs:spa_config_enter (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_trim.c533 spa_config_enter(spa, SCL_STATE_ALL, vd, RW_READER); in vdev_trim_range()
893 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_thread()
947 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_thread()
960 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_thread()
1233 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_autotrim_thread()
1275 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_autotrim_thread()
1438 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_autotrim_thread()
1462 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_autotrim_thread()
1601 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_l2arc_thread()
1667 spa_config_enter(vd->vdev_spa, SCL_L2ARC, vd, in vdev_trim_l2arc_thread()
H A Dspa.c1080 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_change_guid_check()
1102 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_change_guid_sync()
2359 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_unload()
2403 spa_config_enter(spa, SCL_ALL, spa, RW_WRITER); in spa_unload()
4641 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4690 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4738 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4922 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4997 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
5524 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
[all …]
H A Dspa_misc.c549 spa_config_enter(spa_t *spa, int locks, const void *tag, krw_t rw) in spa_config_enter() function
1331 spa_config_enter(spa, SCL_ALL, spa, RW_WRITER); in spa_vdev_config_enter()
1408 spa_config_enter(spa, SCL_STATE_ALL, spa, RW_WRITER); in spa_vdev_config_exit()
1460 spa_config_enter(spa, high, spa, RW_WRITER); in spa_vdev_state_enter()
1462 spa_config_enter(spa, low, spa, RW_WRITER); in spa_vdev_state_enter()
1464 spa_config_enter(spa, locks, spa, RW_WRITER); in spa_vdev_state_enter()
1700 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_freeze()
2325 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in bp_get_dsize()
2912 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_get_last_removal_txg()
3136 EXPORT_SYMBOL(spa_config_enter);
H A Dspa_config.c339 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER); in spa_config_generate()
488 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_config_update()
H A Dvdev_rebuild.c598 spa_config_enter(spa, SCL_STATE_ALL, vd, RW_READER); in vdev_rebuild_range()
779 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_rebuild_thread()
924 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_rebuild_thread()
943 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_rebuild_thread()
H A Dvdev_initialize.c256 spa_config_enter(spa, SCL_STATE_ALL, vd, RW_READER); in vdev_initialize_write()
537 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_initialize_thread()
575 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_initialize_thread()
H A Dvdev_removal.c610 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_remove_init()
635 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_remove_init()
1268 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in spa_vdev_copy_segment()
1636 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_vdev_remove_thread()
1777 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_vdev_remove_thread()
2019 spa_config_enter(spa, SCL_ALLOC | SCL_VDEV, FTAG, RW_WRITER); in spa_vdev_remove_cancel_sync()
H A Dspa_stats.c410 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_txg_history_init_io()
433 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_txg_history_fini_io()
H A Dmetaslab.c809 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_fragmentation()
865 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_expandable_space()
1213 spa_config_enter(spa, locks & ~(SCL_ZIO - 1), spa, RW_WRITER); in metaslab_group_passivate()
4688 spa_config_enter(spa, SCL_ALLOC, FTAG, RW_READER); in metaslab_sync_reassess()
5332 spa_config_enter(spa, SCL_ZIO, FTAG, RW_READER); in metaslab_group_allocatable()
6020 spa_config_enter(spa, SCL_ALLOC, FTAG, RW_READER); in metaslab_alloc_range()
6109 spa_config_enter(spa, SCL_FREE, FTAG, RW_READER); in metaslab_free()
6141 spa_config_enter(spa, SCL_ALLOC, FTAG, RW_READER); in metaslab_claim()
6222 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in metaslab_check_free()
H A Dvdev_raidz.c4445 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in raidz_reflow_impl()
4557 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in raidz_reflow_scratch_sync()
4817 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in vdev_raidz_reflow_copy_scratch()
4943 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_raidz_expand_thread()
5058 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_raidz_expand_thread()
5069 spa_config_enter(spa, SCL_CONFIG, FTAG, in spa_raidz_expand_thread()
5080 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_raidz_expand_thread()
H A Dmmp.c624 spa_config_enter(spa, SCL_ALL, mmp_tag, RW_WRITER); in mmp_claim_uberblock()
H A Dddt_log.c716 spa_config_enter(ddt->ddt_spa, SCL_STATE, FTAG, RW_READER); in ddt_log_load()
H A Dvdev_label.c1648 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in vdev_uberblock_load()
1725 spa_config_enter(vd->vdev_spa, locks, FTAG, RW_READER); in vdev_copy_uberblocks()
H A Dspa_log_spacemap.c1360 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_ld_log_spacemaps()
H A Dzio.c1224 spa_config_enter(spa, SCL_VDEV, bp, RW_READER); in zfs_blkptr_verify()
2951 spa_config_enter(gio->io_spa, SCL_VDEV, FTAG, RW_READER); in zio_gang_tree_assemble()
3400 spa_config_enter(zio->io_spa, SCL_VDEV, FTAG, RW_READER); in zio_nop_write()
4664 spa_config_enter(spa, SCL_ZIO, zio, in zio_vdev_io_start()
H A Dddt.c2679 spa_config_enter(spa, SCL_ZIO, FTAG, RW_READER); in ddt_addref()
2743 spa_config_enter(dpi->dpi_spa, SCL_ZIO, FTAG, RW_READER); in prune_candidates_sync()
H A Dbrt.c507 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in brt_vdev_realloc()
H A Dvdev_indirect.c657 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_condense_indirect_thread()
H A Dzil.c1295 spa_config_enter(os->os_spa, SCL_STATE, FTAG, RW_READER); in zil_check_log_chain()
2105 spa_config_enter(spa, SCL_STATE, lwb, RW_READER); in zil_lwb_write_issue()
H A Dzfs_ioctl.c3476 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in zfs_ioc_vdev_set_props()
3523 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in zfs_ioc_vdev_get_props()
7520 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_WRITER); in zfs_ioc_pool_sync()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dspa_os.c247 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_import_rootpool()
259 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_import_rootpool()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3105 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in ztest_mmp_enable_disable()
3122 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in ztest_mmp_enable_disable()
3340 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_add_remove()
3451 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_class_add()
3523 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_aux_add_remove()
3632 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_split_pool()
3738 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in ztest_vdev_attach_detach()
3989 spa_config_enter(spa, SCL_ALL, FTAG, RW_READER); in raidz_scratch_verify()
4085 spa_config_enter(spa, SCL_ALL, FTAG, RW_READER); in ztest_vdev_raidz_attach()
4201 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_device_removal()
[all …]
H A Dzhack.c694 spa_config_enter(spa, SCL_VDEV | SCL_ALLOC, FTAG, RW_READER); in zhack_do_metaslab_leak()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c383 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in iterate_through_spacemap_logs()
3881 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in zdb_ddt_cleanup()
6368 spa_config_enter(zcb->zcb_spa, SCL_CONFIG, FTAG, RW_READER); in zdb_count_block()
6605 spa_config_enter(zcb->zcb_spa, SCL_CONFIG, FTAG, RW_READER); in zdb_count_block()
6912 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in zdb_claim_removing()
6965 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in increment_indirect_mapping_cb()
8184 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in dump_simulated_ddt()
9671 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in zdb_read_block()
9769 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in zdb_read_block()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.h1036 extern void spa_config_enter(spa_t *spa, int locks, const void *tag, krw_t rw);

12