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()
257 spin_lock(&block_group->lock); in btrfs_truncate_free_space_cache()
645 spin_lock(&ctl->tree_lock); in merge_space_tree()
766 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
784 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
841 spin_lock(&block_group->lock); in load_free_space_cache()
861 spin_lock(&block_group->lock); in load_free_space_cache()
875 spin_lock(&ctl->tree_lock); in load_free_space_cache()
889 spin_lock(&block_group->lock); in load_free_space_cache()
924 spin_lock(&cluster_locked->lock); in write_cache_extent_entries()
949 spin_lock(&cluster_locked->lock); in write_cache_extent_entries()
1183 spin_lock(&trans->transaction->dirty_bgs_lock); in btrfs_wait_cache_io()
1186 spin_lock(&block_group->lock); in btrfs_wait_cache_io()
1245 spin_lock(&block_group->lock); in __btrfs_write_out_cache()
1270 spin_lock(&ctl->tree_lock); in __btrfs_write_out_cache()
1371 spin_lock(&block_group->lock); in btrfs_write_out_cache()
1391 spin_lock(&block_group->lock); in btrfs_write_out_cache()
2055 spin_lock(&cluster->lock); in insert_into_bitmap()
2114 spin_lock(&ctl->tree_lock); in insert_into_bitmap()
2122 spin_lock(&ctl->tree_lock); in insert_into_bitmap()
2322 spin_lock(&ctl->tree_lock); in __btrfs_add_free_space()
2370 spin_lock(&ctl->tree_lock); in btrfs_remove_free_space()
2511 spin_lock(&cluster->lock); in __btrfs_return_cluster_to_free_space()
2565 spin_lock(&ctl->tree_lock); in __btrfs_remove_free_space_cache()
2576 spin_lock(&ctl->tree_lock); in btrfs_remove_free_space_cache()
2603 spin_lock(&ctl->tree_lock); in btrfs_find_space_for_alloc()
2652 spin_lock(&cluster->lock); in btrfs_return_cluster_to_free_space()
2670 spin_lock(&ctl->tree_lock); in btrfs_return_cluster_to_free_space()
2721 spin_lock(&cluster->lock); in btrfs_alloc_from_cluster()
2778 spin_lock(&ctl->tree_lock); in btrfs_alloc_from_cluster()
3047 spin_lock(&ctl->tree_lock); in btrfs_find_space_cluster()
3058 spin_lock(&cluster->lock); in btrfs_find_space_cluster()
3122 spin_lock(&space_info->lock); in do_trimming()
3123 spin_lock(&block_group->lock); in do_trimming()
3143 spin_lock(&space_info->lock); in do_trimming()
3144 spin_lock(&block_group->lock); in do_trimming()
3171 spin_lock(&ctl->tree_lock); in trim_no_bitmap()
3256 spin_lock(&ctl->tree_lock); in trim_bitmaps()
3333 spin_lock(&block_group->lock); in btrfs_put_block_group_trimming()
3372 spin_lock(&block_group->lock); in btrfs_trim_block_group()
3403 spin_lock(&ctl->tree_lock); in btrfs_find_ino_for_alloc()
3446 spin_lock(&root->ino_cache_lock); in lookup_free_ino_inode()
3457 spin_lock(&root->ino_cache_lock); in lookup_free_ino_inode()
3579 spin_lock(&ctl->tree_lock); in test_add_free_space_entry()
3598 spin_lock(&ctl->tree_lock); in test_add_free_space_entry()
3637 spin_lock(&ctl->tree_lock); in test_check_exists()