Lines Matching refs:block_group
27 * This describes the state of the block_group for async discard. This is due
92 struct btrfs_block_group *block_group;
253 static inline u64 btrfs_block_group_end(struct btrfs_block_group *block_group)
255 return (block_group->start + block_group->length);
266 struct btrfs_block_group *block_group)
272 return (block_group->flags & BTRFS_BLOCK_GROUP_DATA) &&
273 !(block_group->flags & BTRFS_BLOCK_GROUP_METADATA);
277 int btrfs_should_fragment_free_space(struct btrfs_block_group *block_group);
301 int btrfs_add_new_free_space(struct btrfs_block_group *block_group,