Lines Matching refs:btrfs_block_group_cache

86 block_group_cache_done(struct btrfs_block_group_cache *cache)  in block_group_cache_done()
92 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) in block_group_bits()
97 void btrfs_get_block_group(struct btrfs_block_group_cache *cache) in btrfs_get_block_group()
102 void btrfs_put_block_group(struct btrfs_block_group_cache *cache) in btrfs_put_block_group()
117 struct btrfs_block_group_cache *block_group) in btrfs_add_block_group_cache()
121 struct btrfs_block_group_cache *cache; in btrfs_add_block_group_cache()
128 cache = rb_entry(parent, struct btrfs_block_group_cache, in btrfs_add_block_group_cache()
152 static struct btrfs_block_group_cache *
156 struct btrfs_block_group_cache *cache, *ret = NULL; in block_group_cache_tree_search()
164 cache = rb_entry(n, struct btrfs_block_group_cache, in block_group_cache_tree_search()
203 struct btrfs_block_group_cache *cache) in free_excluded_extents()
217 struct btrfs_block_group_cache *cache) in exclude_super_stripes()
252 get_caching_control(struct btrfs_block_group_cache *cache) in get_caching_control()
285 static u64 add_new_free_space(struct btrfs_block_group_cache *block_group, in add_new_free_space()
324 struct btrfs_block_group_cache *block_group = data; in caching_kthread()
442 static int cache_block_group(struct btrfs_block_group_cache *cache, in cache_block_group()
533 static struct btrfs_block_group_cache *
536 struct btrfs_block_group_cache *cache; in btrfs_lookup_first_block_group()
546 struct btrfs_block_group_cache *btrfs_lookup_block_group( in btrfs_lookup_block_group()
550 struct btrfs_block_group_cache *cache; in btrfs_lookup_block_group()
613 struct btrfs_block_group_cache *cache; in btrfs_find_block_group()
2719 struct btrfs_block_group_cache *cache) in write_one_cache_group()
2743 static struct btrfs_block_group_cache *
2745 struct btrfs_block_group_cache *cache) in next_block_group()
2752 cache = rb_entry(node, struct btrfs_block_group_cache, in next_block_group()
2761 static int cache_save_setup(struct btrfs_block_group_cache *block_group, in cache_save_setup()
2869 struct btrfs_block_group_cache *cache; in btrfs_write_dirty_block_groups()
2984 struct btrfs_block_group_cache *block_group; in btrfs_extent_readonly()
4168 struct btrfs_block_group_cache *cache = NULL; in update_block_group()
4250 struct btrfs_block_group_cache *cache; in first_logical_byte()
4264 struct btrfs_block_group_cache *cache, in pin_down_extent()
4290 struct btrfs_block_group_cache *cache; in btrfs_pin_extent()
4305 int btrfs_update_reserved_bytes(struct btrfs_block_group_cache *cache, in btrfs_update_reserved_bytes()
4350 struct btrfs_block_group_cache *cache; in btrfs_prepare_extent_commit()
4380 struct btrfs_block_group_cache *cache = NULL; in unpin_extent_range()
4754 struct btrfs_block_group_cache *cache = NULL; in btrfs_free_tree_block()
4885 wait_block_group_cache_progress(struct btrfs_block_group_cache *cache, in wait_block_group_cache_progress()
4903 wait_block_group_cache_done(struct btrfs_block_group_cache *cache) in wait_block_group_cache_done()
4918 static int get_block_group_index(struct btrfs_block_group_cache *cache) in get_block_group_index()
4960 struct btrfs_block_group_cache *block_group = NULL; in find_free_extent()
5404 struct btrfs_block_group_cache *cache; in dump_space_info()
5496 struct btrfs_block_group_cache *cache; in btrfs_free_reserved_extent()
5672 struct btrfs_block_group_cache *block_group; in btrfs_alloc_logged_file_extent()
7466 struct btrfs_block_group_cache *group,
7518 struct btrfs_block_group_cache *group,
7800 struct btrfs_block_group_cache *group,
7941 struct btrfs_block_group_cache *group,
8140 static int set_block_group_ro(struct btrfs_block_group_cache *cache) in set_block_group_ro()
8170 struct btrfs_block_group_cache *cache) in btrfs_set_block_group_ro()
8215 struct btrfs_block_group_cache *block_group; in __btrfs_get_ro_block_group_free_space()
8266 struct btrfs_block_group_cache *cache) in btrfs_set_block_group_rw()
8292 struct btrfs_block_group_cache *block_group; in btrfs_can_relocate()
8403 struct btrfs_block_group_cache *block_group; in btrfs_put_block_group_cache()
8437 struct btrfs_block_group_cache *block_group; in btrfs_free_block_groups()
8453 block_group = rb_entry(n, struct btrfs_block_group_cache, in btrfs_free_block_groups()
8506 struct btrfs_block_group_cache *cache) in __link_block_group()
8519 struct btrfs_block_group_cache *cache; in btrfs_read_block_groups()
8664 struct btrfs_block_group_cache *cache; in btrfs_make_block_group()
8733 struct btrfs_block_group_cache *block_group; in btrfs_remove_block_group()
8908 struct btrfs_block_group_cache *cache = NULL; in btrfs_trim_fs()