Lines Matching refs:spin_lock

155 	spin_lock(&info->block_group_cache_lock);  in btrfs_add_block_group_cache()
196 spin_lock(&info->block_group_cache_lock); in block_group_cache_tree_search()
318 spin_lock(&cache->lock); in get_caching_control()
507 spin_lock(&block_group->lock); in caching_thread()
521 spin_lock(&block_group->lock); in caching_thread()
553 spin_lock(&cache->lock); in cache_block_group()
578 spin_lock(&cache->lock); in cache_block_group()
595 spin_lock(&cache->lock); in cache_block_group()
624 spin_lock(&cache->lock); in cache_block_group()
833 spin_lock(&delayed_refs->lock); in btrfs_lookup_extent_info()
851 spin_lock(&head->lock); in btrfs_lookup_extent_info()
2375 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2406 spin_lock(&locked_ref->lock); in __btrfs_run_delayed_refs()
2420 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2483 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2484 spin_lock(&locked_ref->lock); in __btrfs_run_delayed_refs()
2543 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2568 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2683 spin_lock(&global_rsv->lock); in btrfs_check_space_for_delayed_refs()
2829 spin_lock(&delayed_refs->lock); in btrfs_run_delayed_refs()
2912 spin_lock(&delayed_refs->lock); in check_delayed_ref()
2936 spin_lock(&head->lock); in check_delayed_ref()
3193 spin_lock(&root->fs_info->block_group_cache_lock); in next_block_group()
3234 spin_lock(&block_group->lock); in cache_save_setup()
3304 spin_lock(&block_group->lock); in cache_save_setup()
3347 spin_lock(&block_group->lock); in cache_save_setup()
3407 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3460 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3501 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3537 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3691 spin_lock(&found->lock); in update_space_info()
3807 spin_lock(&root->fs_info->balance_lock); in btrfs_reduce_alloc_profile()
3910 spin_lock(&data_sinfo->lock); in btrfs_check_data_free_space()
4034 spin_lock(&data_sinfo->lock); in btrfs_free_reserved_data_space()
4123 spin_lock(&info->lock); in check_system_chunk()
4164 spin_lock(&space_info->lock); in do_chunk_alloc()
4231 spin_lock(&space_info->lock); in do_chunk_alloc()
4266 spin_lock(&global_rsv->lock); in can_overcommit()
4274 spin_lock(&root->fs_info->free_chunk_lock); in can_overcommit()
4401 spin_lock(&space_info->lock); in shrink_delalloc()
4457 spin_lock(&delayed_rsv->lock); in may_commit_transaction()
4545 spin_lock(&space_info->lock); in btrfs_calc_reclaim_metadata_size()
4592 spin_lock(&space_info->lock); in btrfs_need_do_async_reclaim()
4673 spin_lock(&space_info->lock); in reserve_metadata_bytes()
4694 spin_lock(&space_info->lock); in reserve_metadata_bytes()
4807 spin_lock(&space_info->lock); in reserve_metadata_bytes()
4843 spin_lock(&block_rsv->lock); in block_rsv_use_bytes()
4857 spin_lock(&block_rsv->lock); in block_rsv_add_bytes()
4876 spin_lock(&global_rsv->lock); in btrfs_cond_migrate_bytes()
4897 spin_lock(&block_rsv->lock); in block_rsv_release_bytes()
4912 spin_lock(&dest->lock); in block_rsv_release_bytes()
4926 spin_lock(&space_info->lock); in block_rsv_release_bytes()
5012 spin_lock(&block_rsv->lock); in btrfs_block_rsv_check()
5031 spin_lock(&block_rsv->lock); in btrfs_block_rsv_refill()
5084 spin_lock(&sinfo->lock); in calc_global_metadata_size()
5089 spin_lock(&sinfo->lock); in calc_global_metadata_size()
5113 spin_lock(&sinfo->lock); in update_global_block_rsv()
5114 spin_lock(&block_rsv->lock); in update_global_block_rsv()
5406 spin_lock(&BTRFS_I(inode)->lock); in btrfs_delalloc_reserve_metadata()
5446 spin_lock(&BTRFS_I(inode)->lock); in btrfs_delalloc_reserve_metadata()
5466 spin_lock(&BTRFS_I(inode)->lock); in btrfs_delalloc_reserve_metadata()
5545 spin_lock(&BTRFS_I(inode)->lock); in btrfs_delalloc_release_metadata()
5627 spin_lock(&info->delalloc_root_lock); in update_block_group()
5658 spin_lock(&cache->space_info->lock); in update_block_group()
5659 spin_lock(&cache->lock); in update_block_group()
5694 spin_lock(&info->unused_bgs_lock); in update_block_group()
5704 spin_lock(&trans->transaction->dirty_bgs_lock); in update_block_group()
5725 spin_lock(&root->fs_info->block_group_cache_lock); in first_logical_byte()
5746 spin_lock(&cache->space_info->lock); in pin_down_extent()
5747 spin_lock(&cache->lock); in pin_down_extent()
5913 spin_lock(&space_info->lock); in btrfs_update_reserved_bytes()
5914 spin_lock(&cache->lock); in btrfs_update_reserved_bytes()
6009 spin_lock(&space_info->lock); in unpin_extent_range()
6010 spin_lock(&cache->lock); in unpin_extent_range()
6020 spin_lock(&global_rsv->lock); in unpin_extent_range()
6396 spin_lock(&delayed_refs->lock); in check_ref_cleanup()
6401 spin_lock(&head->lock); in check_ref_cleanup()
6669 spin_lock(&cluster->refill_lock); in btrfs_lock_cluster()
6773 spin_lock(&last_ptr->lock); in find_free_extent()
6992 spin_lock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
7138 spin_lock(&info->lock); in dump_space_info()
7157 spin_lock(&cache->lock); in dump_space_info()
8780 spin_lock(&sinfo->lock); in set_block_group_ro()
8781 spin_lock(&cache->lock); in set_block_group_ro()
8901 spin_lock(&sinfo->lock); in btrfs_account_ro_block_groups_free_space()
8903 spin_lock(&block_group->lock); in btrfs_account_ro_block_groups_free_space()
8936 spin_lock(&sinfo->lock); in btrfs_set_block_group_rw()
8937 spin_lock(&cache->lock); in btrfs_set_block_group_rw()
8981 spin_lock(&space_info->lock); in btrfs_can_relocate()
9127 spin_lock(&block_group->lock); in btrfs_put_block_group_cache()
9167 spin_lock(&info->unused_bgs_lock); in btrfs_free_block_groups()
9177 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
9204 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
9440 spin_lock(&info->block_group_cache_lock); in btrfs_read_block_groups()
9450 spin_lock(&cache->space_info->lock); in btrfs_read_block_groups()
9460 spin_lock(&info->unused_bgs_lock); in btrfs_read_block_groups()
9513 spin_lock(&block_group->lock); in btrfs_create_pending_block_groups()
9582 spin_lock(&root->fs_info->block_group_cache_lock); in btrfs_make_block_group()
9592 spin_lock(&cache->space_info->lock); in btrfs_make_block_group()
9660 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
9669 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
9690 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
9701 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
9719 spin_lock(&block_group->lock); in btrfs_remove_block_group()
9748 spin_lock(&root->fs_info->block_group_cache_lock); in btrfs_remove_block_group()
9801 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
9811 spin_lock(&block_group->space_info->lock); in btrfs_remove_block_group()
9835 spin_lock(&block_group->lock); in btrfs_remove_block_group()
9925 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
9942 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
10013 spin_lock(&space_info->lock); in btrfs_delete_unused_bgs()
10014 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
10035 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()