Lines Matching refs:btrfs_fs_info

24 static u64 get_restripe_target(struct btrfs_fs_info *fs_info, u64 flags)  in get_restripe_target()
53 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile()
98 static u64 get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in get_alloc_profile()
118 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile()
151 static int btrfs_add_block_group_cache(struct btrfs_fs_info *info, in btrfs_add_block_group_cache()
192 struct btrfs_fs_info *info, u64 bytenr, int contains) in block_group_cache_tree_search()
236 struct btrfs_fs_info *info, u64 bytenr) in btrfs_lookup_first_block_group()
245 struct btrfs_fs_info *info, u64 bytenr) in btrfs_lookup_block_group()
253 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group()
278 bool btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_inc_nocow_writers()
301 void btrfs_dec_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_dec_nocow_writers()
322 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, in btrfs_dec_block_group_reservations()
429 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space()
456 struct btrfs_fs_info *info = block_group->fs_info; in add_new_free_space()
495 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_extent_tree_free()
632 struct btrfs_fs_info *fs_info; in caching_thread()
684 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_cache_block_group()
816 static void clear_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags) in clear_avail_alloc_bits()
837 static void clear_incompat_bg_bits(struct btrfs_fs_info *fs_info, u64 flags) in clear_incompat_bg_bits()
863 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_block_group()
1131 struct btrfs_fs_info *fs_info, const u64 chunk_offset) in btrfs_start_trans_remove_block_group()
1248 void btrfs_delete_unused_bgs(struct btrfs_fs_info *fs_info) in btrfs_delete_unused_bgs()
1415 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_mark_bg_unused()
1426 static int find_first_block_group(struct btrfs_fs_info *fs_info, in find_first_block_group()
1506 static void set_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags) in set_avail_alloc_bits()
1523 struct btrfs_fs_info *fs_info = cache->fs_info; in exclude_super_stripes()
1595 struct btrfs_fs_info *fs_info, u64 start, u64 size) in btrfs_create_block_group_cache()
1639 static int check_chunk_block_group_mappings(struct btrfs_fs_info *fs_info) in check_chunk_block_group_mappings()
1690 int btrfs_read_block_groups(struct btrfs_fs_info *info) in btrfs_read_block_groups()
1863 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_pending_block_groups()
1904 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_make_block_group()
1977 static u64 update_block_group_flags(struct btrfs_fs_info *fs_info, u64 flags) in update_block_group_flags()
2028 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_inc_block_group_ro()
2119 struct btrfs_fs_info *fs_info = trans->fs_info; in write_one_cache_group()
2146 struct btrfs_fs_info *fs_info = block_group->fs_info; in cache_save_setup()
2305 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_setup_space_cache()
2343 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_start_dirty_block_groups()
2506 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_write_dirty_block_groups()
2633 struct btrfs_fs_info *info = trans->fs_info; in btrfs_update_block_group()
2804 static void force_metadata_allocation(struct btrfs_fs_info *info) in force_metadata_allocation()
2817 static int should_alloc_chunk(struct btrfs_fs_info *fs_info, in should_alloc_chunk()
2862 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_chunk_alloc()
2979 static u64 get_profile_num_devs(struct btrfs_fs_info *fs_info, u64 type) in get_profile_num_devs()
2997 struct btrfs_fs_info *fs_info = trans->fs_info; in check_system_chunk()
3048 void btrfs_put_block_group_cache(struct btrfs_fs_info *info) in btrfs_put_block_group_cache()
3088 int btrfs_free_block_groups(struct btrfs_fs_info *info) in btrfs_free_block_groups()