Lines Matching refs:btrfs_block_group_cache

101 static int btrfs_update_reserved_bytes(struct btrfs_block_group_cache *cache,
105 block_group_cache_done(struct btrfs_block_group_cache *cache) in block_group_cache_done()
111 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) in block_group_bits()
116 static void btrfs_get_block_group(struct btrfs_block_group_cache *cache) in btrfs_get_block_group()
121 void btrfs_put_block_group(struct btrfs_block_group_cache *cache) in btrfs_put_block_group()
136 struct btrfs_block_group_cache *block_group) in btrfs_add_block_group_cache()
140 struct btrfs_block_group_cache *cache; in btrfs_add_block_group_cache()
147 cache = rb_entry(parent, struct btrfs_block_group_cache, in btrfs_add_block_group_cache()
171 static struct btrfs_block_group_cache *
175 struct btrfs_block_group_cache *cache, *ret = NULL; in block_group_cache_tree_search()
183 cache = rb_entry(n, struct btrfs_block_group_cache, in block_group_cache_tree_search()
222 struct btrfs_block_group_cache *cache) in free_excluded_extents()
236 struct btrfs_block_group_cache *cache) in exclude_super_stripes()
271 get_caching_control(struct btrfs_block_group_cache *cache) in get_caching_control()
304 static u64 add_new_free_space(struct btrfs_block_group_cache *block_group, in add_new_free_space()
343 struct btrfs_block_group_cache *block_group; in caching_thread()
466 static int cache_block_group(struct btrfs_block_group_cache *cache, in cache_block_group()
592 static struct btrfs_block_group_cache *
595 struct btrfs_block_group_cache *cache; in btrfs_lookup_first_block_group()
605 struct btrfs_block_group_cache *btrfs_lookup_block_group( in btrfs_lookup_block_group()
609 struct btrfs_block_group_cache *cache; in btrfs_lookup_block_group()
671 struct btrfs_block_group_cache *cache; in btrfs_find_block_group()
2760 struct btrfs_block_group_cache *cache) in write_one_cache_group()
2784 static struct btrfs_block_group_cache *
2786 struct btrfs_block_group_cache *cache) in next_block_group()
2793 cache = rb_entry(node, struct btrfs_block_group_cache, in next_block_group()
2802 static int cache_save_setup(struct btrfs_block_group_cache *block_group, in cache_save_setup()
2920 struct btrfs_block_group_cache *cache; in btrfs_write_dirty_block_groups()
3035 struct btrfs_block_group_cache *block_group; in btrfs_extent_readonly()
4523 struct btrfs_block_group_cache *cache = NULL; in update_block_group()
4604 struct btrfs_block_group_cache *cache; in first_logical_byte()
4618 struct btrfs_block_group_cache *cache, in pin_down_extent()
4643 struct btrfs_block_group_cache *cache; in btrfs_pin_extent()
4661 struct btrfs_block_group_cache *cache; in btrfs_pin_extent_for_log_replay()
4704 static int btrfs_update_reserved_bytes(struct btrfs_block_group_cache *cache, in btrfs_update_reserved_bytes()
4743 struct btrfs_block_group_cache *cache; in btrfs_prepare_extent_commit()
4773 struct btrfs_block_group_cache *cache = NULL; in unpin_extent_range()
5118 struct btrfs_block_group_cache *cache = NULL; in btrfs_free_tree_block()
5213 wait_block_group_cache_progress(struct btrfs_block_group_cache *cache, in wait_block_group_cache_progress()
5231 wait_block_group_cache_done(struct btrfs_block_group_cache *cache) in wait_block_group_cache_done()
5246 static int get_block_group_index(struct btrfs_block_group_cache *cache) in get_block_group_index()
5288 struct btrfs_block_group_cache *block_group = NULL; in find_free_extent()
5289 struct btrfs_block_group_cache *used_block_group; in find_free_extent()
5755 struct btrfs_block_group_cache *cache; in dump_space_info()
5853 struct btrfs_block_group_cache *cache; in __btrfs_free_reserved_extent()
6047 struct btrfs_block_group_cache *block_group; in btrfs_alloc_logged_file_extent()
7051 static int set_block_group_ro(struct btrfs_block_group_cache *cache, int force) in set_block_group_ro()
7096 struct btrfs_block_group_cache *cache) in btrfs_set_block_group_ro()
7141 struct btrfs_block_group_cache *block_group; in __btrfs_get_ro_block_group_free_space()
7192 struct btrfs_block_group_cache *cache) in btrfs_set_block_group_rw()
7218 struct btrfs_block_group_cache *block_group; in btrfs_can_relocate()
7360 struct btrfs_block_group_cache *block_group; in btrfs_put_block_group_cache()
7394 struct btrfs_block_group_cache *block_group; in btrfs_free_block_groups()
7410 block_group = rb_entry(n, struct btrfs_block_group_cache, in btrfs_free_block_groups()
7464 struct btrfs_block_group_cache *cache) in __link_block_group()
7477 struct btrfs_block_group_cache *cache; in btrfs_read_block_groups()
7621 struct btrfs_block_group_cache *cache; in btrfs_make_block_group()
7707 struct btrfs_block_group_cache *block_group; in btrfs_remove_block_group()
7890 struct btrfs_block_group_cache *cache = NULL; in btrfs_trim_fs()