Lines Matching refs:spin_lock
67 spin_lock(&fs_info->balance_lock); in btrfs_reduce_alloc_profile()
165 spin_lock(&info->block_group_cache_lock); in btrfs_add_block_group_cache()
204 spin_lock(&info->block_group_cache_lock); in block_group_cache_tree_search()
261 spin_lock(&fs_info->block_group_cache_lock); in btrfs_next_block_group()
291 spin_lock(&bg->lock); in btrfs_inc_nocow_writers()
368 spin_lock(&cache->lock); in btrfs_get_caching_control()
434 spin_lock(&cache->lock); in space_cache_v1_done()
673 spin_lock(&block_group->lock); in caching_thread()
692 spin_lock(&block_group->lock); in caching_thread()
701 spin_lock(&block_group->space_info->lock); in caching_thread()
702 spin_lock(&block_group->lock); in caching_thread()
746 spin_lock(&cache->lock); in btrfs_cache_block_group()
765 spin_lock(&fs_info->block_group_cache_lock); in btrfs_cache_block_group()
893 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
902 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
926 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
935 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
950 spin_lock(&fs_info->block_group_cache_lock); in btrfs_remove_block_group()
985 spin_lock(&fs_info->block_group_cache_lock); in btrfs_remove_block_group()
1007 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
1014 spin_lock(&block_group->space_info->lock); in btrfs_remove_block_group()
1055 spin_lock(&block_group->lock); in btrfs_remove_block_group()
1165 spin_lock(&sinfo->lock); in inc_block_group_ro()
1166 spin_lock(&cache->lock); in inc_block_group_ro()
1240 spin_lock(&fs_info->trans_lock); in clean_pinned_extents()
1298 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
1335 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
1388 spin_lock(&fs_info->discard_ctl.lock); in btrfs_delete_unused_bgs()
1399 spin_lock(&space_info->lock); in btrfs_delete_unused_bgs()
1400 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
1449 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
1464 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
1481 spin_lock(&fs_info->unused_bgs_lock); in btrfs_mark_bg_unused()
1528 spin_lock(&fs_info->unused_bgs_lock); in btrfs_reclaim_bgs_work()
1550 spin_lock(&bg->lock); in btrfs_reclaim_bgs_work()
1593 spin_lock(&fs_info->unused_bgs_lock); in btrfs_reclaim_bgs_work()
1607 spin_lock(&fs_info->unused_bgs_lock); in btrfs_reclaim_bgs()
1617 spin_lock(&fs_info->unused_bgs_lock); in btrfs_mark_bg_to_reclaim()
2282 spin_lock(&block_group->lock); in insert_block_group_item()
2629 spin_lock(&sinfo->lock); in btrfs_dec_block_group_ro()
2630 spin_lock(&cache->lock); in btrfs_dec_block_group_ro()
2709 spin_lock(&block_group->lock); in cache_save_setup()
2779 spin_lock(&block_group->lock); in cache_save_setup()
2842 spin_lock(&block_group->lock); in cache_save_setup()
2903 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2954 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2996 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3034 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3048 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3088 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
3104 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
3164 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
3196 spin_lock(&info->delalloc_root_lock); in btrfs_update_block_group()
3225 spin_lock(&cache->space_info->lock); in btrfs_update_block_group()
3226 spin_lock(&cache->lock); in btrfs_update_block_group()
3259 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_update_block_group()
3307 spin_lock(&space_info->lock); in btrfs_add_reserved_bytes()
3308 spin_lock(&cache->lock); in btrfs_add_reserved_bytes()
3349 spin_lock(&space_info->lock); in btrfs_free_reserved_bytes()
3350 spin_lock(&cache->lock); in btrfs_free_reserved_bytes()
3646 spin_lock(&space_info->lock); in btrfs_chunk_alloc()
3707 spin_lock(&space_info->lock); in btrfs_chunk_alloc()
3754 spin_lock(&info->lock); in reserve_chunk_space()
3861 spin_lock(&block_group->lock); in btrfs_put_block_group_cache()
3897 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
3906 spin_lock(&info->unused_bgs_lock); in btrfs_free_block_groups()
3916 spin_lock(&info->unused_bgs_lock); in btrfs_free_block_groups()
3926 spin_lock(&info->zone_active_bgs_lock); in btrfs_free_block_groups()
3936 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
3966 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
4004 spin_lock(&block_group->lock); in btrfs_unfreeze_block_group()
4035 spin_lock(&bg->lock); in btrfs_inc_block_group_swap_extents()
4047 spin_lock(&bg->lock); in btrfs_dec_block_group_swap_extents()