Lines Matching refs:btrfs_block_group

123 void btrfs_get_block_group(struct btrfs_block_group *cache)
128 void btrfs_put_block_group(struct btrfs_block_group *cache)
161 struct btrfs_block_group *block_group)
165 struct btrfs_block_group *cache;
174 cache = rb_entry(parent, struct btrfs_block_group, cache_node);
201 static struct btrfs_block_group *block_group_cache_tree_search(
204 struct btrfs_block_group *cache, *ret = NULL;
212 cache = rb_entry(n, struct btrfs_block_group, cache_node);
244 struct btrfs_block_group *btrfs_lookup_first_block_group(
253 struct btrfs_block_group *btrfs_lookup_block_group(
259 struct btrfs_block_group *btrfs_next_block_group(
260 struct btrfs_block_group *cache)
278 cache = rb_entry(node, struct btrfs_block_group, cache_node);
288 struct btrfs_block_group *bg;
311 struct btrfs_block_group *bg;
325 void btrfs_wait_nocow_writers(struct btrfs_block_group *bg)
333 struct btrfs_block_group *bg;
342 void btrfs_wait_block_group_reservations(struct btrfs_block_group *bg)
368 struct btrfs_block_group *cache)
403 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache,
418 int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache)
435 static void fragment_free_space(struct btrfs_block_group *block_group)
461 u64 add_new_free_space(struct btrfs_block_group *block_group, u64 start, u64 end)
502 struct btrfs_block_group *block_group = caching_ctl->block_group;
637 struct btrfs_block_group *block_group;
693 int btrfs_cache_block_group(struct btrfs_block_group *cache, int load_cache_only)
881 struct btrfs_block_group *block_group)
908 struct btrfs_block_group *block_group;
1230 static int inc_block_group_ro(struct btrfs_block_group *cache, int force)
1297 struct btrfs_block_group *bg)
1347 struct btrfs_block_group *block_group;
1361 struct btrfs_block_group,
1534 void btrfs_mark_bg_unused(struct btrfs_block_group *bg)
1741 static int exclude_super_stripes(struct btrfs_block_group *cache)
1783 static void link_block_group(struct btrfs_block_group *cache)
1793 static struct btrfs_block_group *btrfs_create_block_group_cache(
1796 struct btrfs_block_group *cache;
1842 struct btrfs_block_group *bg;
1888 static void read_block_group_item(struct btrfs_block_group *cache,
1909 struct btrfs_block_group *cache;
2010 struct btrfs_block_group *cache;
2054 struct btrfs_block_group,
2087 struct btrfs_block_group *block_group)
2111 struct btrfs_block_group *block_group;
2121 struct btrfs_block_group,
2158 struct btrfs_block_group *cache;
2237 int btrfs_inc_block_group_ro(struct btrfs_block_group *cache,
2324 void btrfs_dec_block_group_ro(struct btrfs_block_group *cache)
2345 struct btrfs_block_group *cache)
2380 static int cache_save_setup(struct btrfs_block_group *block_group,
2545 struct btrfs_block_group *cache, *tmp;
2583 struct btrfs_block_group *cache;
2621 cache = list_first_entry(&dirty, struct btrfs_block_group,
2749 struct btrfs_block_group *cache;
2778 struct btrfs_block_group,
2859 cache = list_first_entry(io, struct btrfs_block_group,
2874 struct btrfs_block_group *cache = NULL;
2989 int btrfs_add_reserved_bytes(struct btrfs_block_group *cache,
3032 void btrfs_free_reserved_bytes(struct btrfs_block_group *cache,
3296 struct btrfs_block_group *block_group;
3336 struct btrfs_block_group *block_group;
3353 struct btrfs_block_group,
3362 block_group = rb_entry(n, struct btrfs_block_group,
3416 void btrfs_freeze_block_group(struct btrfs_block_group *cache)
3421 void btrfs_unfreeze_block_group(struct btrfs_block_group *block_group)
3455 bool btrfs_inc_block_group_swap_extents(struct btrfs_block_group *bg)
3469 void btrfs_dec_block_group_swap_extents(struct btrfs_block_group *bg, int amount)