Lines Matching refs:spin_lock
64 spin_lock(&fs_info->balance_lock); in btrfs_reduce_alloc_profile()
158 spin_lock(&info->block_group_cache_lock); in btrfs_add_block_group_cache()
198 spin_lock(&info->block_group_cache_lock); in block_group_cache_tree_search()
256 spin_lock(&fs_info->block_group_cache_lock); in btrfs_next_block_group()
287 spin_lock(&bg->lock); in btrfs_inc_nocow_writers()
364 spin_lock(&cache->lock); in btrfs_get_caching_control()
648 spin_lock(&block_group->lock); in caching_thread()
657 spin_lock(&block_group->space_info->lock); in caching_thread()
658 spin_lock(&block_group->lock); in caching_thread()
701 spin_lock(&cache->lock); in btrfs_cache_block_group()
726 spin_lock(&cache->lock); in btrfs_cache_block_group()
743 spin_lock(&cache->lock); in btrfs_cache_block_group()
764 spin_lock(&cache->space_info->lock); in btrfs_cache_block_group()
765 spin_lock(&cache->lock); in btrfs_cache_block_group()
787 spin_lock(&cache->lock); in btrfs_cache_block_group()
898 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
907 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
928 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
937 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
956 spin_lock(&block_group->lock); in btrfs_remove_block_group()
985 spin_lock(&fs_info->block_group_cache_lock); in btrfs_remove_block_group()
1039 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
1046 spin_lock(&block_group->space_info->lock); in btrfs_remove_block_group()
1066 spin_lock(&block_group->lock); in btrfs_remove_block_group()
1203 spin_lock(&sinfo->lock); in inc_block_group_ro()
1204 spin_lock(&cache->lock); in inc_block_group_ro()
1258 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
1280 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
1353 spin_lock(&space_info->lock); in btrfs_delete_unused_bgs()
1354 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
1392 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
1408 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
1417 spin_lock(&fs_info->unused_bgs_lock); in btrfs_mark_bg_unused()
1880 spin_lock(&block_group->lock); in btrfs_create_pending_block_groups()
2102 spin_lock(&sinfo->lock); in btrfs_dec_block_group_ro()
2103 spin_lock(&cache->lock); in btrfs_dec_block_group_ro()
2161 spin_lock(&block_group->lock); in cache_save_setup()
2231 spin_lock(&block_group->lock); in cache_save_setup()
2293 spin_lock(&block_group->lock); in cache_save_setup()
2354 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2404 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2446 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2485 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2534 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
2550 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
2610 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
2642 spin_lock(&info->delalloc_root_lock); in btrfs_update_block_group()
2671 spin_lock(&cache->space_info->lock); in btrfs_update_block_group()
2672 spin_lock(&cache->lock); in btrfs_update_block_group()
2709 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_update_block_group()
2755 spin_lock(&space_info->lock); in btrfs_add_reserved_bytes()
2756 spin_lock(&cache->lock); in btrfs_add_reserved_bytes()
2790 spin_lock(&space_info->lock); in btrfs_free_reserved_bytes()
2791 spin_lock(&cache->lock); in btrfs_free_reserved_bytes()
2876 spin_lock(&space_info->lock); in btrfs_chunk_alloc()
2943 spin_lock(&space_info->lock); in btrfs_chunk_alloc()
3011 spin_lock(&info->lock); in check_system_chunk()
3059 spin_lock(&block_group->lock); in btrfs_put_block_group_cache()
3104 spin_lock(&info->unused_bgs_lock); in btrfs_free_block_groups()
3114 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
3143 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()