Lines Matching defs:fs_info
25 static u64 get_restripe_target(struct btrfs_fs_info *fs_info, u64 flags) in get_restripe_target()
54 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile()
96 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile()
255 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local
279 bool btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_inc_nocow_writers()
302 void btrfs_dec_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_dec_nocow_writers()
323 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, in btrfs_dec_block_group_reservations()
430 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space() local
496 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_extent_tree_free() local
631 struct btrfs_fs_info *fs_info; in caching_thread() local
689 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_cache_block_group() local
819 static void clear_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags) in clear_avail_alloc_bits()
842 static void clear_incompat_bg_bits(struct btrfs_fs_info *fs_info, u64 flags) in clear_incompat_bg_bits()
876 struct btrfs_fs_info *fs_info = trans->fs_info; in remove_block_group_item() local
899 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_block_group() local
1171 struct btrfs_fs_info *fs_info, const u64 chunk_offset) in btrfs_start_trans_remove_block_group()
1292 struct btrfs_fs_info *fs_info = bg->fs_info; in clean_pinned_extents() local
1338 void btrfs_delete_unused_bgs(struct btrfs_fs_info *fs_info) in btrfs_delete_unused_bgs()
1529 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_mark_bg_unused() local
1540 static int read_bg_from_eb(struct btrfs_fs_info *fs_info, struct btrfs_key *key, in read_bg_from_eb()
1591 static int find_first_block_group(struct btrfs_fs_info *fs_info, in find_first_block_group()
1630 static void set_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags) in set_avail_alloc_bits()
1658 int btrfs_rmap_block(struct btrfs_fs_info *fs_info, u64 chunk_start, in btrfs_rmap_block()
1736 struct btrfs_fs_info *fs_info = cache->fs_info; in exclude_super_stripes() local
1787 struct btrfs_fs_info *fs_info, u64 start) in btrfs_create_block_group_cache()
1831 static int check_chunk_block_group_mappings(struct btrfs_fs_info *fs_info) in check_chunk_block_group_mappings()
2082 struct btrfs_fs_info *fs_info = trans->fs_info; in insert_block_group_item() local
2103 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_pending_block_groups() local
2150 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_make_block_group() local
2233 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_inc_block_group_ro() local
2330 struct btrfs_fs_info *fs_info = trans->fs_info; in update_block_group_item() local
2367 struct btrfs_fs_info *fs_info = block_group->fs_info; in cache_save_setup() local
2527 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_setup_space_cache() local
2565 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_start_dirty_block_groups() local
2731 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_write_dirty_block_groups() local
3047 static int should_alloc_chunk(struct btrfs_fs_info *fs_info, in should_alloc_chunk()
3092 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_chunk_alloc() local
3210 static u64 get_profile_num_devs(struct btrfs_fs_info *fs_info, u64 type) in get_profile_num_devs()
3226 struct btrfs_fs_info *fs_info = trans->fs_info; in check_system_chunk() local
3406 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_unfreeze_block_group() local