Lines Matching refs:spin_lock
65 spin_lock(&fs_info->balance_lock); in btrfs_reduce_alloc_profile()
162 spin_lock(&info->block_group_cache_lock); in btrfs_add_block_group_cache()
201 spin_lock(&info->block_group_cache_lock); in block_group_cache_tree_search()
258 spin_lock(&fs_info->block_group_cache_lock); in btrfs_next_block_group()
288 spin_lock(&bg->lock); in btrfs_inc_nocow_writers()
365 spin_lock(&cache->lock); in btrfs_get_caching_control()
655 spin_lock(&block_group->lock); in caching_thread()
664 spin_lock(&block_group->space_info->lock); in caching_thread()
665 spin_lock(&block_group->lock); in caching_thread()
705 spin_lock(&cache->lock); in btrfs_cache_block_group()
730 spin_lock(&cache->lock); in btrfs_cache_block_group()
747 spin_lock(&cache->lock); in btrfs_cache_block_group()
768 spin_lock(&cache->space_info->lock); in btrfs_cache_block_group()
769 spin_lock(&cache->lock); in btrfs_cache_block_group()
790 spin_lock(&cache->lock); in btrfs_cache_block_group()
932 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
941 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
962 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
971 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
990 spin_lock(&block_group->lock); in btrfs_remove_block_group()
1019 spin_lock(&fs_info->block_group_cache_lock); in btrfs_remove_block_group()
1076 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_remove_block_group()
1083 spin_lock(&block_group->space_info->lock); in btrfs_remove_block_group()
1119 spin_lock(&block_group->lock); in btrfs_remove_block_group()
1229 spin_lock(&sinfo->lock); in inc_block_group_ro()
1230 spin_lock(&cache->lock); in inc_block_group_ro()
1298 spin_lock(&fs_info->trans_lock); in clean_pinned_extents()
1349 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
1388 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
1441 spin_lock(&fs_info->discard_ctl.lock); in btrfs_delete_unused_bgs()
1452 spin_lock(&space_info->lock); in btrfs_delete_unused_bgs()
1453 spin_lock(&block_group->lock); in btrfs_delete_unused_bgs()
1499 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
1515 spin_lock(&fs_info->unused_bgs_lock); in btrfs_delete_unused_bgs()
1531 spin_lock(&fs_info->unused_bgs_lock); in btrfs_mark_bg_unused()
2087 spin_lock(&block_group->lock); in insert_block_group_item()
2314 spin_lock(&sinfo->lock); in btrfs_dec_block_group_ro()
2315 spin_lock(&cache->lock); in btrfs_dec_block_group_ro()
2382 spin_lock(&block_group->lock); in cache_save_setup()
2452 spin_lock(&block_group->lock); in cache_save_setup()
2515 spin_lock(&block_group->lock); in cache_save_setup()
2575 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2626 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2667 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2705 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2719 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2758 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
2774 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
2833 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
2865 spin_lock(&info->delalloc_root_lock); in btrfs_update_block_group()
2894 spin_lock(&cache->space_info->lock); in btrfs_update_block_group()
2895 spin_lock(&cache->lock); in btrfs_update_block_group()
2930 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_update_block_group()
2978 spin_lock(&space_info->lock); in btrfs_add_reserved_bytes()
2979 spin_lock(&cache->lock); in btrfs_add_reserved_bytes()
3020 spin_lock(&space_info->lock); in btrfs_free_reserved_bytes()
3021 spin_lock(&cache->lock); in btrfs_free_reserved_bytes()
3106 spin_lock(&space_info->lock); in btrfs_chunk_alloc()
3174 spin_lock(&space_info->lock); in btrfs_chunk_alloc()
3240 spin_lock(&info->lock); in check_system_chunk()
3288 spin_lock(&block_group->lock); in btrfs_put_block_group_cache()
3333 spin_lock(&info->unused_bgs_lock); in btrfs_free_block_groups()
3343 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
3373 spin_lock(&info->block_group_cache_lock); in btrfs_free_block_groups()
3411 spin_lock(&block_group->lock); in btrfs_unfreeze_block_group()
3442 spin_lock(&bg->lock); in btrfs_inc_block_group_swap_extents()
3454 spin_lock(&bg->lock); in btrfs_dec_block_group_swap_extents()