Lines Matching refs:btrfs_block_group
50 struct btrfs_block_group *block_group;
58 struct btrfs_block_group { struct
208 static inline u64 btrfs_block_group_end(struct btrfs_block_group *block_group) in btrfs_block_group_end() argument
214 struct btrfs_block_group *block_group) in btrfs_is_block_group_data_only()
226 struct btrfs_block_group *block_group) in btrfs_should_fragment_free_space()
237 struct btrfs_block_group *btrfs_lookup_first_block_group(
239 struct btrfs_block_group *btrfs_lookup_block_group(
241 struct btrfs_block_group *btrfs_next_block_group(
242 struct btrfs_block_group *cache);
243 void btrfs_get_block_group(struct btrfs_block_group *cache);
244 void btrfs_put_block_group(struct btrfs_block_group *cache);
247 void btrfs_wait_block_group_reservations(struct btrfs_block_group *bg);
250 void btrfs_wait_nocow_writers(struct btrfs_block_group *bg);
251 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache,
253 int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache);
254 int btrfs_cache_block_group(struct btrfs_block_group *cache,
258 struct btrfs_block_group *cache);
259 u64 add_new_free_space(struct btrfs_block_group *block_group,
267 void btrfs_mark_bg_unused(struct btrfs_block_group *bg);
270 void btrfs_mark_bg_to_reclaim(struct btrfs_block_group *bg);
272 struct btrfs_block_group *btrfs_make_block_group(struct btrfs_trans_handle *trans,
276 int btrfs_inc_block_group_ro(struct btrfs_block_group *cache,
278 void btrfs_dec_block_group_ro(struct btrfs_block_group *cache);
284 int btrfs_add_reserved_bytes(struct btrfs_block_group *cache,
286 void btrfs_free_reserved_bytes(struct btrfs_block_group *cache,
295 void btrfs_wait_space_cache_v1_finished(struct btrfs_block_group *cache,
316 static inline int btrfs_block_group_done(struct btrfs_block_group *cache) in btrfs_block_group_done()
323 void btrfs_freeze_block_group(struct btrfs_block_group *cache);
324 void btrfs_unfreeze_block_group(struct btrfs_block_group *cache);
326 bool btrfs_inc_block_group_swap_extents(struct btrfs_block_group *bg);
327 void btrfs_dec_block_group_swap_extents(struct btrfs_block_group *bg, int amount);