Lines Matching refs:block_group
50 struct btrfs_block_group *block_group; member
209 static inline u64 btrfs_block_group_end(struct btrfs_block_group *block_group) in btrfs_block_group_end() argument
211 return (block_group->start + block_group->length); in btrfs_block_group_end()
215 struct btrfs_block_group *block_group) in btrfs_is_block_group_data_only() argument
221 return (block_group->flags & BTRFS_BLOCK_GROUP_DATA) && in btrfs_is_block_group_data_only()
222 !(block_group->flags & BTRFS_BLOCK_GROUP_METADATA); in btrfs_is_block_group_data_only()
227 struct btrfs_block_group *block_group) in btrfs_should_fragment_free_space() argument
229 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_should_fragment_free_space()
232 block_group->flags & BTRFS_BLOCK_GROUP_METADATA) || in btrfs_should_fragment_free_space()
234 block_group->flags & BTRFS_BLOCK_GROUP_DATA); in btrfs_should_fragment_free_space()
258 u64 add_new_free_space(struct btrfs_block_group *block_group,