Lines Matching defs:fs_info
28 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_should_fragment_free_space() local
43 static u64 get_restripe_target(const struct btrfs_fs_info *fs_info, u64 flags) in get_restripe_target()
72 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile()
121 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile()
275 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local
314 struct btrfs_block_group *btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, in btrfs_inc_nocow_writers()
365 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, in btrfs_dec_block_group_reservations()
486 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space() local
583 struct btrfs_fs_info *fs_info = block_group->fs_info; in sample_block_group_extent_item() local
670 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_block_group_size_class() local
703 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_extent_tree_free() local
845 struct btrfs_fs_info *fs_info; in caching_thread() local
918 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_cache_block_group() local
970 static void clear_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags) in clear_avail_alloc_bits()
993 static void clear_incompat_bg_bits(struct btrfs_fs_info *fs_info, u64 flags) in clear_incompat_bg_bits()
1023 static struct btrfs_root *btrfs_block_group_root(struct btrfs_fs_info *fs_info) in btrfs_block_group_root()
1034 struct btrfs_fs_info *fs_info = trans->fs_info; in remove_block_group_item() local
1057 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_block_group() local
1294 struct btrfs_fs_info *fs_info, const u64 chunk_offset) in btrfs_start_trans_remove_block_group()
1417 struct btrfs_fs_info *fs_info = trans->fs_info; in clean_pinned_extents() local
1463 void btrfs_delete_unused_bgs(struct btrfs_fs_info *fs_info) in btrfs_delete_unused_bgs()
1725 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_mark_bg_unused() local
1755 static inline bool btrfs_should_reclaim(const struct btrfs_fs_info *fs_info) in btrfs_should_reclaim()
1785 struct btrfs_fs_info *fs_info = in btrfs_reclaim_bgs_work() local
2008 void btrfs_reclaim_bgs(struct btrfs_fs_info *fs_info) in btrfs_reclaim_bgs()
2019 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_mark_bg_to_reclaim() local
2030 static int read_bg_from_eb(struct btrfs_fs_info *fs_info, const struct btrfs_key *key, in read_bg_from_eb()
2077 static int find_first_block_group(struct btrfs_fs_info *fs_info, in find_first_block_group()
2094 static void set_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags) in set_avail_alloc_bits()
2123 int btrfs_rmap_block(struct btrfs_fs_info *fs_info, u64 chunk_start, in btrfs_rmap_block()
2200 struct btrfs_fs_info *fs_info = cache->fs_info; in exclude_super_stripes() local
2253 struct btrfs_fs_info *fs_info, u64 start) in btrfs_create_block_group_cache()
2297 static int check_chunk_block_group_mappings(struct btrfs_fs_info *fs_info) in check_chunk_block_group_mappings()
2465 static int fill_dummy_bgs(struct btrfs_fs_info *fs_info) in fill_dummy_bgs()
2634 struct btrfs_fs_info *fs_info = trans->fs_info; in insert_block_group_item() local
2667 struct btrfs_fs_info *fs_info = device->fs_info; in insert_dev_extent() local
2710 struct btrfs_fs_info *fs_info = trans->fs_info; in insert_dev_extents() local
2755 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_pending_block_groups() local
2843 static u64 calculate_global_root_id(const struct btrfs_fs_info *fs_info, u64 offset) in calculate_global_root_id()
2864 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_make_block_group() local
2960 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_inc_block_group_ro() local
3103 struct btrfs_fs_info *fs_info = trans->fs_info; in update_block_group_item() local
3172 struct btrfs_fs_info *fs_info = block_group->fs_info; in cache_save_setup() local
3334 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_setup_space_cache() local
3372 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_start_dirty_block_groups() local
3538 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_write_dirty_block_groups() local
3867 static int should_alloc_chunk(const struct btrfs_fs_info *fs_info, in should_alloc_chunk()
4104 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_chunk_alloc() local
4243 static u64 get_profile_num_devs(const struct btrfs_fs_info *fs_info, u64 type) in get_profile_num_devs()
4258 struct btrfs_fs_info *fs_info = trans->fs_info; in reserve_chunk_space() local
4331 struct btrfs_fs_info *fs_info = trans->fs_info; in check_system_chunk() local
4361 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_reserve_chunk_metadata() local
4534 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_unfreeze_block_group() local