Lines Matching defs:bg
319 struct btrfs_block_group *bg; in btrfs_inc_nocow_writers() local
353 void btrfs_dec_nocow_writers(struct btrfs_block_group *bg) in btrfs_dec_nocow_writers()
362 void btrfs_wait_nocow_writers(struct btrfs_block_group *bg) in btrfs_wait_nocow_writers()
370 struct btrfs_block_group *bg; in btrfs_dec_block_group_reservations() local
379 void btrfs_wait_block_group_reservations(struct btrfs_block_group *bg) in btrfs_wait_block_group_reservations()
838 static inline void btrfs_free_excluded_extents(const struct btrfs_block_group *bg) in btrfs_free_excluded_extents()
1408 struct btrfs_block_group *bg) in clean_pinned_extents()
1709 void btrfs_mark_bg_unused(struct btrfs_block_group *bg) in btrfs_mark_bg_unused()
1748 static bool should_reclaim_block_group(struct btrfs_block_group *bg, u64 bytes_freed) in should_reclaim_block_group()
1776 struct btrfs_block_group *bg; in btrfs_reclaim_bgs_work() local
1947 void btrfs_mark_bg_to_reclaim(struct btrfs_block_group *bg) in btrfs_mark_bg_to_reclaim()
1964 struct btrfs_block_group_item bg; in read_bg_from_eb() local
2234 struct btrfs_block_group *bg; in check_chunk_block_group_mappings() local
2402 struct btrfs_block_group *bg; in fill_dummy_bgs() local
3824 struct btrfs_block_group *bg; in do_chunk_alloc() local
4204 struct btrfs_block_group *bg; in reserve_chunk_space() local
4485 bool btrfs_inc_block_group_swap_extents(struct btrfs_block_group *bg) in btrfs_inc_block_group_swap_extents()
4499 void btrfs_dec_block_group_swap_extents(struct btrfs_block_group *bg, int amount) in btrfs_dec_block_group_swap_extents()
4536 int btrfs_use_block_group_size_class(struct btrfs_block_group *bg, in btrfs_use_block_group_size_class()
4569 bool btrfs_block_group_should_use_size_class(struct btrfs_block_group *bg) in btrfs_block_group_should_use_size_class()