Lines Matching refs:spin_lock

101 	spin_lock(&block_group->lock);  in lookup_free_space_inode()
113 spin_lock(&block_group->lock); in lookup_free_space_inode()
218 spin_lock(&rsv->lock); in btrfs_check_trunc_cache_free_space()
255 spin_lock(&block_group->lock); in btrfs_truncate_free_space_cache()
647 spin_lock(&ctl->tree_lock); in merge_space_tree()
768 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
786 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
843 spin_lock(&block_group->lock); in load_free_space_cache()
863 spin_lock(&block_group->lock); in load_free_space_cache()
877 spin_lock(&ctl->tree_lock); in load_free_space_cache()
891 spin_lock(&block_group->lock); in load_free_space_cache()
926 spin_lock(&cluster_locked->lock); in write_cache_extent_entries()
951 spin_lock(&cluster_locked->lock); in write_cache_extent_entries()
1185 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_wait_cache_io()
1188 spin_lock(&block_group->lock); in btrfs_wait_cache_io()
1247 spin_lock(&block_group->lock); in __btrfs_write_out_cache()
1272 spin_lock(&ctl->tree_lock); in __btrfs_write_out_cache()
1373 spin_lock(&block_group->lock); in btrfs_write_out_cache()
1393 spin_lock(&block_group->lock); in btrfs_write_out_cache()
2027 spin_lock(&cluster->lock); in insert_into_bitmap()
2086 spin_lock(&ctl->tree_lock); in insert_into_bitmap()
2094 spin_lock(&ctl->tree_lock); in insert_into_bitmap()
2294 spin_lock(&ctl->tree_lock); in __btrfs_add_free_space()
2342 spin_lock(&ctl->tree_lock); in btrfs_remove_free_space()
2483 spin_lock(&cluster->lock); in __btrfs_return_cluster_to_free_space()
2537 spin_lock(&ctl->tree_lock); in __btrfs_remove_free_space_cache()
2548 spin_lock(&ctl->tree_lock); in btrfs_remove_free_space_cache()
2575 spin_lock(&ctl->tree_lock); in btrfs_find_space_for_alloc()
2624 spin_lock(&cluster->lock); in btrfs_return_cluster_to_free_space()
2642 spin_lock(&ctl->tree_lock); in btrfs_return_cluster_to_free_space()
2693 spin_lock(&cluster->lock); in btrfs_alloc_from_cluster()
2750 spin_lock(&ctl->tree_lock); in btrfs_alloc_from_cluster()
3003 spin_lock(&ctl->tree_lock); in btrfs_find_space_cluster()
3014 spin_lock(&cluster->lock); in btrfs_find_space_cluster()
3077 spin_lock(&space_info->lock); in do_trimming()
3078 spin_lock(&block_group->lock); in do_trimming()
3098 spin_lock(&space_info->lock); in do_trimming()
3099 spin_lock(&block_group->lock); in do_trimming()
3126 spin_lock(&ctl->tree_lock); in trim_no_bitmap()
3211 spin_lock(&ctl->tree_lock); in trim_bitmaps()
3284 spin_lock(&block_group->lock); in btrfs_trim_block_group()
3298 spin_lock(&block_group->lock); in btrfs_trim_block_group()
3349 spin_lock(&ctl->tree_lock); in btrfs_find_ino_for_alloc()
3392 spin_lock(&root->ino_cache_lock); in lookup_free_ino_inode()
3403 spin_lock(&root->ino_cache_lock); in lookup_free_ino_inode()
3525 spin_lock(&ctl->tree_lock); in test_add_free_space_entry()
3543 spin_lock(&ctl->tree_lock); in test_add_free_space_entry()
3581 spin_lock(&ctl->tree_lock); in test_check_exists()