Lines Matching defs:bg
317 struct btrfs_block_group *bg; in btrfs_inc_nocow_writers() local
351 void btrfs_dec_nocow_writers(struct btrfs_block_group *bg) in btrfs_dec_nocow_writers()
360 void btrfs_wait_nocow_writers(struct btrfs_block_group *bg) in btrfs_wait_nocow_writers()
368 struct btrfs_block_group *bg; in btrfs_dec_block_group_reservations() local
377 void btrfs_wait_block_group_reservations(struct btrfs_block_group *bg) in btrfs_wait_block_group_reservations()
835 static inline void btrfs_free_excluded_extents(const struct btrfs_block_group *bg) in btrfs_free_excluded_extents()
1414 const struct btrfs_block_group *bg) in clean_pinned_extents()
1469 static bool btrfs_link_bg_list(struct btrfs_block_group *bg, struct list_head *list) in btrfs_link_bg_list()
1747 void btrfs_mark_bg_unused(struct btrfs_block_group *bg) in btrfs_mark_bg_unused()
1786 static bool should_reclaim_block_group(const struct btrfs_block_group *bg, u64 bytes_freed) in should_reclaim_block_group()
1811 struct btrfs_block_group *bg; in btrfs_reclaim_bgs_work() local
2033 void btrfs_mark_bg_to_reclaim(struct btrfs_block_group *bg) in btrfs_mark_bg_to_reclaim()
2045 struct btrfs_block_group_item bg; in read_bg_from_eb() local
2315 struct btrfs_block_group *bg; in check_chunk_block_group_mappings() local
2483 struct btrfs_block_group *bg; in fill_dummy_bgs() local
3909 struct btrfs_block_group *bg; in do_chunk_alloc() local
4289 struct btrfs_block_group *bg; in reserve_chunk_space() local
4570 bool btrfs_inc_block_group_swap_extents(struct btrfs_block_group *bg) in btrfs_inc_block_group_swap_extents()
4584 void btrfs_dec_block_group_swap_extents(struct btrfs_block_group *bg, int amount) in btrfs_dec_block_group_swap_extents()
4621 int btrfs_use_block_group_size_class(struct btrfs_block_group *bg, in btrfs_use_block_group_size_class()
4654 bool btrfs_block_group_should_use_size_class(const struct btrfs_block_group *bg) in btrfs_block_group_should_use_size_class()