Lines Matching defs:bg
330 struct btrfs_block_group *bg; in btrfs_inc_nocow_writers() local
364 void btrfs_dec_nocow_writers(struct btrfs_block_group *bg) in btrfs_dec_nocow_writers()
373 void btrfs_wait_nocow_writers(struct btrfs_block_group *bg) in btrfs_wait_nocow_writers()
381 struct btrfs_block_group *bg; in btrfs_dec_block_group_reservations() local
390 void btrfs_wait_block_group_reservations(struct btrfs_block_group *bg) in btrfs_wait_block_group_reservations()
846 static inline void btrfs_free_excluded_extents(const struct btrfs_block_group *bg) in btrfs_free_excluded_extents()
1434 const struct btrfs_block_group *bg) in clean_pinned_extents()
1488 static bool btrfs_link_bg_list(struct btrfs_block_group *bg, struct list_head *list) in btrfs_link_bg_list()
1769 void btrfs_mark_bg_unused(struct btrfs_block_group *bg) in btrfs_mark_bg_unused()
1815 static bool should_reclaim_block_group(const struct btrfs_block_group *bg, u64 bytes_freed) in should_reclaim_block_group()
1840 struct btrfs_block_group *bg; in btrfs_reclaim_bgs_work() local
2045 void btrfs_mark_bg_to_reclaim(struct btrfs_block_group *bg) in btrfs_mark_bg_to_reclaim()
2057 struct btrfs_block_group_item bg; in read_bg_from_eb() local
2327 struct btrfs_block_group *bg; in check_chunk_block_group_mappings() local
2497 struct btrfs_block_group *bg; in fill_dummy_bgs() local
3936 struct btrfs_block_group *bg; in do_chunk_alloc() local
4323 struct btrfs_block_group *bg; in reserve_chunk_space() local
4623 bool btrfs_inc_block_group_swap_extents(struct btrfs_block_group *bg) in btrfs_inc_block_group_swap_extents()
4637 void btrfs_dec_block_group_swap_extents(struct btrfs_block_group *bg, int amount) in btrfs_dec_block_group_swap_extents()
4674 int btrfs_use_block_group_size_class(struct btrfs_block_group *bg, in btrfs_use_block_group_size_class()
4707 bool btrfs_block_group_should_use_size_class(const struct btrfs_block_group *bg) in btrfs_block_group_should_use_size_class()