Home
last modified time | relevance | path

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

/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()
945 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_thread()
958 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_thread()
1231 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_autotrim_thread()
1273 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_autotrim_thread()
1432 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_autotrim_thread()
1456 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_autotrim_thread()
1595 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_trim_l2arc_thread()
1659 spa_config_enter(vd->vdev_spa, SCL_L2ARC, vd, in vdev_trim_l2arc_thread()
H A Dspa.c993 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_change_guid_check()
1015 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_change_guid_sync()
2128 spa_config_enter(spa, SCL_ALL, spa, RW_WRITER); in spa_unload()
3985 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4034 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4082 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4279 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4354 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4860 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
4882 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER);
[all …]
H A Dspa_misc.c548 spa_config_enter(spa_t *spa, int locks, const void *tag, krw_t rw) in spa_config_enter() function
1273 spa_config_enter(spa, SCL_ALL, spa, RW_WRITER); in spa_vdev_config_enter()
1349 spa_config_enter(spa, SCL_STATE_ALL, spa, RW_WRITER); in spa_vdev_config_exit()
1401 spa_config_enter(spa, high, spa, RW_WRITER); in spa_vdev_state_enter()
1403 spa_config_enter(spa, low, spa, RW_WRITER); in spa_vdev_state_enter()
1405 spa_config_enter(spa, locks, spa, RW_WRITER); in spa_vdev_state_enter()
1641 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_freeze()
2231 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in bp_get_dsize()
2820 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_get_last_removal_txg()
3044 EXPORT_SYMBOL(spa_config_enter);
H A Dvdev_rebuild.c598 spa_config_enter(spa, SCL_STATE_ALL, vd, RW_READER); in vdev_rebuild_range()
777 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_rebuild_thread()
911 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_rebuild_thread()
931 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()
574 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in vdev_initialize_thread()
H A Dspa_config.c428 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER); in spa_config_generate()
575 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in spa_config_update()
H A Dvdev_removal.c578 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_remove_init()
603 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in spa_remove_init()
1235 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in spa_vdev_copy_segment()
1607 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_vdev_remove_thread()
1746 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_vdev_remove_thread()
1994 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.c772 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_fragmentation()
822 spa_config_enter(mc->mc_spa, SCL_VDEV, FTAG, RW_READER); in metaslab_class_expandable_space()
1168 spa_config_enter(spa, locks & ~(SCL_ZIO - 1), spa, RW_WRITER); in metaslab_group_passivate()
4570 spa_config_enter(spa, SCL_ALLOC, FTAG, RW_READER); in metaslab_sync_reassess()
5209 spa_config_enter(spa, SCL_ZIO, FTAG, RW_READER); in metaslab_group_allocatable()
5851 spa_config_enter(spa, SCL_ALLOC, FTAG, RW_READER); in metaslab_alloc()
5933 spa_config_enter(spa, SCL_FREE, FTAG, RW_READER); in metaslab_free()
5965 spa_config_enter(spa, SCL_ALLOC, FTAG, RW_READER); in metaslab_claim()
6046 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in metaslab_check_free()
H A Dvdev_raidz.c4025 spa_config_enter(spa, SCL_STATE, spa, RW_READER); in raidz_reflow_impl()
4137 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in raidz_reflow_scratch_sync()
4397 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in vdev_raidz_reflow_copy_scratch()
4523 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_raidz_expand_thread()
4635 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_raidz_expand_thread()
4646 spa_config_enter(spa, SCL_CONFIG, FTAG, in spa_raidz_expand_thread()
4657 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_raidz_expand_thread()
H A Dddt_log.c698 spa_config_enter(ddt->ddt_spa, SCL_STATE, FTAG, RW_READER); in ddt_log_load()
H A Dvdev_label.c1620 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in vdev_uberblock_load()
1695 spa_config_enter(vd->vdev_spa, locks, FTAG, RW_READER); in vdev_copy_uberblocks()
H A Dspa_log_spacemap.c1361 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_ld_log_spacemaps()
H A Dddt.c2477 spa_config_enter(spa, SCL_ZIO, FTAG, RW_READER); in ddt_addref()
2541 spa_config_enter(dpi->dpi_spa, SCL_ZIO, FTAG, RW_READER); in prune_candidates_sync()
H A Dbrt.c494 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 Dzio.c1250 spa_config_enter(spa, SCL_VDEV, bp, RW_READER); in zfs_blkptr_verify()
3315 spa_config_enter(zio->io_spa, SCL_VDEV, FTAG, RW_READER); in zio_nop_write()
4389 spa_config_enter(spa, SCL_ZIO, zio, RW_READER); in zio_vdev_io_start()
H A Dzil.c1276 spa_config_enter(os->os_spa, SCL_STATE, FTAG, RW_READER); in zil_check_log_chain()
2014 spa_config_enter(spa, SCL_STATE, lwb, RW_READER); in zil_lwb_write_issue()
H A Darc.c8398 spa_config_enter(next->l2ad_spa, SCL_L2ARC, next, RW_READER); in l2arc_dev_get_next()
8982 spa_config_enter(dev->l2ad_spa, SCL_L2ARC, dev, in l2arc_evict()
10144 spa_config_enter(spa, SCL_L2ARC, vd, RW_READER); in l2arc_rebuild()
H A Dvdev.c507 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in vdev_count_leaves()
1621 spa_config_enter(spa, SCL_ALLOC, FTAG, RW_WRITER); in vdev_metaslab_init()
H A Dzfs_ioctl.c7084 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.c3106 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in ztest_mmp_enable_disable()
3123 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in ztest_mmp_enable_disable()
3341 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_add_remove()
3452 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_class_add()
3524 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_vdev_aux_add_remove()
3633 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_split_pool()
3739 spa_config_enter(spa, SCL_ALL, FTAG, RW_WRITER); in ztest_vdev_attach_detach()
3990 spa_config_enter(spa, SCL_ALL, FTAG, RW_READER); in raidz_scratch_verify()
4086 spa_config_enter(spa, SCL_ALL, FTAG, RW_READER); in ztest_vdev_raidz_attach()
4202 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in ztest_device_removal()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c357 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in iterate_through_spacemap_logs()
3455 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in zdb_ddt_cleanup()
5843 spa_config_enter(zcb->zcb_spa, SCL_CONFIG, FTAG, RW_READER); in zdb_count_block()
6317 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in zdb_claim_removing()
6369 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in increment_indirect_mapping_cb()
7514 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in dump_simulated_ddt()
9000 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in zdb_read_block()
9098 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); in zdb_read_block()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.h1002 extern void spa_config_enter(spa_t *spa, int locks, const void *tag, krw_t rw);