Lines Matching defs:fs_info
59 struct btrfs_fs_info *fs_info;
214 struct btrfs_fs_info *fs_info = block_group->fs_info;
216 return (btrfs_test_opt(fs_info, FRAGMENT_METADATA) &&
218 (btrfs_test_opt(fs_info, FRAGMENT_DATA) &&
231 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info,
234 bool btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr);
235 void btrfs_dec_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr);
248 struct btrfs_fs_info *fs_info,
252 void btrfs_delete_unused_bgs(struct btrfs_fs_info *fs_info);
274 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags);
278 static inline u64 btrfs_data_alloc_profile(struct btrfs_fs_info *fs_info)
280 return btrfs_get_alloc_profile(fs_info, BTRFS_BLOCK_GROUP_DATA);
283 static inline u64 btrfs_metadata_alloc_profile(struct btrfs_fs_info *fs_info)
285 return btrfs_get_alloc_profile(fs_info, BTRFS_BLOCK_GROUP_METADATA);
288 static inline u64 btrfs_system_alloc_profile(struct btrfs_fs_info *fs_info)
290 return btrfs_get_alloc_profile(fs_info, BTRFS_BLOCK_GROUP_SYSTEM);
304 int btrfs_rmap_block(struct btrfs_fs_info *fs_info, u64 chunk_start,