Lines Matching refs:spin_lock
153 spin_lock(&info->block_group_cache_lock); in btrfs_add_block_group_cache()
194 spin_lock(&info->block_group_cache_lock); in block_group_cache_tree_search()
316 spin_lock(&cache->lock); in get_caching_control()
537 spin_lock(&block_group->lock); in caching_thread()
546 spin_lock(&block_group->space_info->lock); in caching_thread()
547 spin_lock(&block_group->lock); in caching_thread()
567 spin_lock(&block_group->lock); in caching_thread()
599 spin_lock(&cache->lock); in cache_block_group()
624 spin_lock(&cache->lock); in cache_block_group()
641 spin_lock(&cache->lock); in cache_block_group()
663 spin_lock(&cache->space_info->lock); in cache_block_group()
664 spin_lock(&cache->lock); in cache_block_group()
686 spin_lock(&cache->lock); in cache_block_group()
895 spin_lock(&delayed_refs->lock); in btrfs_lookup_extent_info()
913 spin_lock(&head->lock); in btrfs_lookup_extent_info()
2474 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2510 spin_lock(&locked_ref->lock); in __btrfs_run_delayed_refs()
2524 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2587 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2588 spin_lock(&locked_ref->lock); in __btrfs_run_delayed_refs()
2647 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2672 spin_lock(&delayed_refs->lock); in __btrfs_run_delayed_refs()
2787 spin_lock(&global_rsv->lock); in btrfs_check_space_for_delayed_refs()
2935 spin_lock(&delayed_refs->lock); in btrfs_run_delayed_refs()
3015 spin_lock(&delayed_refs->lock); in check_delayed_ref()
3039 spin_lock(&head->lock); in check_delayed_ref()
3291 spin_lock(&root->fs_info->block_group_cache_lock); in next_block_group()
3332 spin_lock(&block_group->lock); in cache_save_setup()
3402 spin_lock(&block_group->lock); in cache_save_setup()
3464 spin_lock(&block_group->lock); in cache_save_setup()
3524 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3577 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3618 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3654 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3808 spin_lock(&found->lock); in update_space_info()
3927 spin_lock(&root->fs_info->balance_lock); in btrfs_reduce_alloc_profile()
4021 spin_lock(&data_sinfo->lock); in btrfs_alloc_data_chunk_ondemand()
4179 spin_lock(&data_sinfo->lock); in btrfs_free_reserved_data_space_noquota()
4296 spin_lock(&info->lock); in check_system_chunk()
4357 spin_lock(&space_info->lock); in do_chunk_alloc()
4424 spin_lock(&space_info->lock); in do_chunk_alloc()
4478 spin_lock(&global_rsv->lock); in can_overcommit()
4486 spin_lock(&root->fs_info->free_chunk_lock); in can_overcommit()
4613 spin_lock(&space_info->lock); in shrink_delalloc()
4669 spin_lock(&delayed_rsv->lock); in may_commit_transaction()
4757 spin_lock(&space_info->lock); in btrfs_calc_reclaim_metadata_size()
4804 spin_lock(&space_info->lock); in btrfs_need_do_async_reclaim()
4885 spin_lock(&space_info->lock); in reserve_metadata_bytes()
4906 spin_lock(&space_info->lock); in reserve_metadata_bytes()
5019 spin_lock(&space_info->lock); in reserve_metadata_bytes()
5051 spin_lock(&block_rsv->lock); in block_rsv_use_bytes()
5065 spin_lock(&block_rsv->lock); in block_rsv_add_bytes()
5084 spin_lock(&global_rsv->lock); in btrfs_cond_migrate_bytes()
5105 spin_lock(&block_rsv->lock); in block_rsv_release_bytes()
5120 spin_lock(&dest->lock); in block_rsv_release_bytes()
5134 spin_lock(&space_info->lock); in block_rsv_release_bytes()
5220 spin_lock(&block_rsv->lock); in btrfs_block_rsv_check()
5239 spin_lock(&block_rsv->lock); in btrfs_block_rsv_refill()
5292 spin_lock(&sinfo->lock); in calc_global_metadata_size()
5297 spin_lock(&sinfo->lock); in calc_global_metadata_size()
5321 spin_lock(&sinfo->lock); in update_global_block_rsv()
5322 spin_lock(&block_rsv->lock); in update_global_block_rsv()
5630 spin_lock(&BTRFS_I(inode)->lock); in btrfs_delalloc_reserve_metadata()
5670 spin_lock(&BTRFS_I(inode)->lock); in btrfs_delalloc_reserve_metadata()
5690 spin_lock(&BTRFS_I(inode)->lock); in btrfs_delalloc_reserve_metadata()
5769 spin_lock(&BTRFS_I(inode)->lock); in btrfs_delalloc_release_metadata()
5859 spin_lock(&info->delalloc_root_lock); in update_block_group()
5890 spin_lock(&cache->space_info->lock); in update_block_group()
5891 spin_lock(&cache->lock); in update_block_group()
5923 spin_lock(&trans->transaction->dirty_bgs_lock); in update_block_group()
5939 spin_lock(&info->unused_bgs_lock); in update_block_group()
5960 spin_lock(&root->fs_info->block_group_cache_lock); in first_logical_byte()
5981 spin_lock(&cache->space_info->lock); in pin_down_extent()
5982 spin_lock(&cache->lock); in pin_down_extent()
6148 spin_lock(&space_info->lock); in btrfs_update_reserved_bytes()
6149 spin_lock(&cache->lock); in btrfs_update_reserved_bytes()
6290 spin_lock(&cluster->lock); in unpin_extent_range()
6295 spin_lock(&space_info->lock); in unpin_extent_range()
6296 spin_lock(&cache->lock); in unpin_extent_range()
6307 spin_lock(&global_rsv->lock); in unpin_extent_range()
6694 spin_lock(&delayed_refs->lock); in check_ref_cleanup()
6699 spin_lock(&head->lock); in check_ref_cleanup()
6967 spin_lock(&cluster->refill_lock); in btrfs_lock_cluster()
7065 spin_lock(&space_info->lock); in find_free_extent()
7079 spin_lock(&last_ptr->lock); in find_free_extent()
7312 spin_lock(&last_ptr->lock); in find_free_extent()
7316 spin_lock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
7482 spin_lock(&last_ptr->lock); in find_free_extent()
7490 spin_lock(&space_info->lock); in find_free_extent()
7504 spin_lock(&info->lock); in dump_space_info()
7523 spin_lock(&cache->lock); in dump_space_info()
8133 spin_lock(&delayed_refs->lock); in record_one_subtree_extent()
9134 spin_lock(&sinfo->lock); in inc_block_group_ro()
9135 spin_lock(&cache->lock); in inc_block_group_ro()
9254 spin_lock(&sinfo->lock); in btrfs_account_ro_block_groups_free_space()
9256 spin_lock(&block_group->lock); in btrfs_account_ro_block_groups_free_space()
9289 spin_lock(&sinfo->lock); in btrfs_dec_block_group_ro()
9290 spin_lock(&cache->lock); in btrfs_dec_block_group_ro()
9336 spin_lock(&space_info->lock); in btrfs_can_relocate()
9482 spin_lock(&block_group->lock); in btrfs_put_block_group_cache()
9522 spin_lock(&info->unused_bgs_lock); in btrfs_free_block_groups()
9532 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
9559 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
9795 spin_lock(&info->block_group_cache_lock); in btrfs_read_block_groups()
9805 spin_lock(&cache->space_info->lock); in btrfs_read_block_groups()
9815 spin_lock(&info->unused_bgs_lock); in btrfs_read_block_groups()
9870 spin_lock(&block_group->lock); in btrfs_create_pending_block_groups()
9965 spin_lock(&root->fs_info->block_group_cache_lock); in btrfs_make_block_group()
9975 spin_lock(&cache->space_info->lock); in btrfs_make_block_group()
10043 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
10052 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
10073 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
10084 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
10102 spin_lock(&block_group->lock); in btrfs_remove_block_group()
10131 spin_lock(&root->fs_info->block_group_cache_lock); in btrfs_remove_block_group()
10184 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
10194 spin_lock(&block_group->space_info->lock); in btrfs_remove_block_group()
10218 spin_lock(&block_group->lock); in btrfs_remove_block_group()
10354 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
10376 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
10448 spin_lock(&space_info->lock); in btrfs_delete_unused_bgs()
10449 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
10486 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
10502 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
10597 spin_lock(&fs_info->trans_lock); in btrfs_trim_free_extents()