/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_trim.c | 533 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 D | spa.c | 993 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 D | spa_misc.c | 548 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 D | vdev_rebuild.c | 598 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 D | vdev_initialize.c | 256 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 D | spa_config.c | 428 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 D | vdev_removal.c | 578 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 D | spa_stats.c | 410 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 D | metaslab.c | 772 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 D | vdev_raidz.c | 4025 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 D | ddt_log.c | 698 spa_config_enter(ddt->ddt_spa, SCL_STATE, FTAG, RW_READER); in ddt_log_load()
|
H A D | vdev_label.c | 1620 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 D | spa_log_spacemap.c | 1361 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); in spa_ld_log_spacemaps()
|
H A D | ddt.c | 2477 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 D | brt.c | 494 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in brt_vdev_realloc()
|
H A D | vdev_indirect.c | 657 spa_config_enter(spa, SCL_VDEV, FTAG, RW_READER); in spa_condense_indirect_thread()
|
H A D | zio.c | 1250 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 D | zil.c | 1276 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 D | arc.c | 8398 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 D | vdev.c | 507 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 D | zfs_ioctl.c | 7084 spa_config_enter(spa, SCL_CONFIG, FTAG, RW_WRITER); in zfs_ioc_pool_sync()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | spa_os.c | 247 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 D | ztest.c | 3106 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 D | zdb.c | 357 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 D | spa.h | 1002 extern void spa_config_enter(spa_t *spa, int locks, const void *tag, krw_t rw);
|