Lines Matching refs:btrfs_block_group
50 struct btrfs_block_group *block_group;
58 struct btrfs_block_group {
194 static inline u64 btrfs_block_group_end(struct btrfs_block_group *block_group)
200 struct btrfs_block_group *block_group)
212 struct btrfs_block_group *block_group)
223 struct btrfs_block_group *btrfs_lookup_first_block_group(
225 struct btrfs_block_group *btrfs_lookup_block_group(
227 struct btrfs_block_group *btrfs_next_block_group(
228 struct btrfs_block_group *cache);
229 void btrfs_get_block_group(struct btrfs_block_group *cache);
230 void btrfs_put_block_group(struct btrfs_block_group *cache);
233 void btrfs_wait_block_group_reservations(struct btrfs_block_group *bg);
236 void btrfs_wait_nocow_writers(struct btrfs_block_group *bg);
237 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache,
239 int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache);
240 int btrfs_cache_block_group(struct btrfs_block_group *cache,
244 struct btrfs_block_group *cache);
245 u64 add_new_free_space(struct btrfs_block_group *block_group,
253 void btrfs_mark_bg_unused(struct btrfs_block_group *bg);
258 int btrfs_inc_block_group_ro(struct btrfs_block_group *cache,
260 void btrfs_dec_block_group_ro(struct btrfs_block_group *cache);
266 int btrfs_add_reserved_bytes(struct btrfs_block_group *cache,
268 void btrfs_free_reserved_bytes(struct btrfs_block_group *cache,
293 static inline int btrfs_block_group_done(struct btrfs_block_group *cache)
300 void btrfs_freeze_block_group(struct btrfs_block_group *cache);
301 void btrfs_unfreeze_block_group(struct btrfs_block_group *cache);
308 bool btrfs_inc_block_group_swap_extents(struct btrfs_block_group *bg);
309 void btrfs_dec_block_group_swap_extents(struct btrfs_block_group *bg, int amount);