Lines Matching refs:btrfs_block_group
72 struct btrfs_block_group *block_group;
87 struct btrfs_block_group { struct
237 static inline u64 btrfs_block_group_end(struct btrfs_block_group *block_group) in btrfs_block_group_end() argument
243 struct btrfs_block_group *block_group) in btrfs_is_block_group_data_only()
255 struct btrfs_block_group *block_group) in btrfs_should_fragment_free_space()
266 struct btrfs_block_group *btrfs_lookup_first_block_group(
268 struct btrfs_block_group *btrfs_lookup_block_group(
270 struct btrfs_block_group *btrfs_next_block_group(
271 struct btrfs_block_group *cache);
272 void btrfs_get_block_group(struct btrfs_block_group *cache);
273 void btrfs_put_block_group(struct btrfs_block_group *cache);
276 void btrfs_wait_block_group_reservations(struct btrfs_block_group *bg);
277 struct btrfs_block_group *btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info,
279 void btrfs_dec_nocow_writers(struct btrfs_block_group *bg);
280 void btrfs_wait_nocow_writers(struct btrfs_block_group *bg);
281 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache,
283 int btrfs_cache_block_group(struct btrfs_block_group *cache, bool wait);
286 struct btrfs_block_group *cache);
287 u64 add_new_free_space(struct btrfs_block_group *block_group,
295 void btrfs_mark_bg_unused(struct btrfs_block_group *bg);
298 void btrfs_mark_bg_to_reclaim(struct btrfs_block_group *bg);
300 struct btrfs_block_group *btrfs_make_block_group(struct btrfs_trans_handle *trans,
304 int btrfs_inc_block_group_ro(struct btrfs_block_group *cache,
306 void btrfs_dec_block_group_ro(struct btrfs_block_group *cache);
312 int btrfs_add_reserved_bytes(struct btrfs_block_group *cache,
314 void btrfs_free_reserved_bytes(struct btrfs_block_group *cache,
344 static inline int btrfs_block_group_done(struct btrfs_block_group *cache) in btrfs_block_group_done()
351 void btrfs_freeze_block_group(struct btrfs_block_group *cache);
352 void btrfs_unfreeze_block_group(struct btrfs_block_group *cache);
354 bool btrfs_inc_block_group_swap_extents(struct btrfs_block_group *bg);
355 void btrfs_dec_block_group_swap_extents(struct btrfs_block_group *bg, int amount);