Lines Matching defs:fs_info
1565 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent_start() local
1712 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1762 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1781 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
1947 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
1997 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
2016 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices()
2030 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblocks()
2075 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device()
2324 struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_find_device_by_path()
2358 struct btrfs_fs_info *fs_info, u64 devid, in btrfs_find_device_by_devspec()
2391 static int btrfs_prepare_sprout(struct btrfs_fs_info *fs_info) in btrfs_prepare_sprout()
2462 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_finish_sprout() local
2532 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device()
2825 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_grow_device() local
2862 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_free_chunk() local
2895 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk()
2948 struct extent_map *btrfs_get_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_get_chunk_map()
3002 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_chunk() local
3157 int btrfs_relocate_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_relocate_chunk()
3224 static int btrfs_relocate_sys_chunks(struct btrfs_fs_info *fs_info) in btrfs_relocate_sys_chunks()
3303 static int btrfs_may_alloc_data_chunk(struct btrfs_fs_info *fs_info, in btrfs_may_alloc_data_chunk()
3340 static int insert_balance_item(struct btrfs_fs_info *fs_info, in insert_balance_item()
3394 static int del_balance_item(struct btrfs_fs_info *fs_info) in del_balance_item()
3479 static void reset_balance_state(struct btrfs_fs_info *fs_info) in reset_balance_state()
3512 static int chunk_usage_range_filter(struct btrfs_fs_info *fs_info, u64 chunk_offset, in chunk_usage_range_filter()
3545 static int chunk_usage_filter(struct btrfs_fs_info *fs_info, in chunk_usage_filter()
3676 struct btrfs_fs_info *fs_info = leaf->fs_info; in should_balance_chunk() local
3762 static int __btrfs_balance(struct btrfs_fs_info *fs_info) in __btrfs_balance()
3973 static inline int balance_need_close(struct btrfs_fs_info *fs_info) in balance_need_close()
3985 static inline int validate_convert_profile(struct btrfs_fs_info *fs_info, in validate_convert_profile()
4107 static void describe_balance_start_or_resume(struct btrfs_fs_info *fs_info) in describe_balance_start_or_resume()
4166 int btrfs_balance(struct btrfs_fs_info *fs_info, in btrfs_balance()
4354 struct btrfs_fs_info *fs_info = data; in balance_kthread() local
4365 int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info) in btrfs_resume_balance_async()
4394 int btrfs_recover_balance(struct btrfs_fs_info *fs_info) in btrfs_recover_balance()
4466 int btrfs_pause_balance(struct btrfs_fs_info *fs_info) in btrfs_pause_balance()
4495 int btrfs_cancel_balance(struct btrfs_fs_info *fs_info) in btrfs_cancel_balance()
4547 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_scan_kthread() local
4680 int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info) in btrfs_create_uuid_tree()
4729 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_shrink_device() local
4913 static int btrfs_add_system_chunk(struct btrfs_fs_info *fs_info, in btrfs_add_system_chunk()
5448 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_chunk_alloc_add_chunk_item() local
5554 struct btrfs_fs_info *fs_info = trans->fs_info; in init_first_rw_device() local
5600 int btrfs_chunk_readonly(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_chunk_readonly()
5657 int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_num_copies()
5702 unsigned long btrfs_full_stripe_len(struct btrfs_fs_info *fs_info, in btrfs_full_stripe_len()
5720 int btrfs_is_parity_mirror(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_is_parity_mirror()
5737 static int find_live_mirror(struct btrfs_fs_info *fs_info, in find_live_mirror()
5860 static int __btrfs_map_block_for_discard(struct btrfs_fs_info *fs_info, in __btrfs_map_block_for_discard()
6022 static int get_extra_mirror_from_replace(struct btrfs_fs_info *fs_info, in get_extra_mirror_from_replace()
6086 static bool is_block_group_to_copy(struct btrfs_fs_info *fs_info, u64 logical) in is_block_group_to_copy()
6226 int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, struct extent_map *em, in btrfs_get_io_geometry()
6304 static int __btrfs_map_block(struct btrfs_fs_info *fs_info, in __btrfs_map_block()
6547 int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_block()
6560 int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_sblock()
6634 struct btrfs_fs_info *fs_info = bbio->fs_info; in submit_stripe_bio() local
6683 blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio, in btrfs_map_bio()
6837 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info, in btrfs_alloc_device()
6894 static void btrfs_report_missing_device(struct btrfs_fs_info *fs_info, in btrfs_report_missing_device()
6920 static int check_32bit_meta_chunk(struct btrfs_fs_info *fs_info, in check_32bit_meta_chunk()
6939 static void warn_32bit_meta_chunk(struct btrfs_fs_info *fs_info, in warn_32bit_meta_chunk()
6955 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_chunk() local
7097 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
7154 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_dev() local
7259 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info) in btrfs_read_sys_array()
7388 bool btrfs_check_rw_degradable(struct btrfs_fs_info *fs_info, in btrfs_check_rw_degradable()
7454 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info) in btrfs_read_chunk_tree()
7578 void btrfs_init_devices_late(struct btrfs_fs_info *fs_info) in btrfs_init_devices_late()
7665 int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info) in btrfs_init_dev_stats()
7699 struct btrfs_fs_info *fs_info = trans->fs_info; in update_dev_stat_item() local
7766 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_stats() local
7841 int btrfs_get_dev_stats(struct btrfs_fs_info *fs_info, in btrfs_get_dev_stats()
7921 static int verify_one_dev_extent(struct btrfs_fs_info *fs_info, in verify_one_dev_extent()
8014 static int verify_chunk_dev_extent_mapping(struct btrfs_fs_info *fs_info) in verify_chunk_dev_extent_mapping()
8046 int btrfs_verify_dev_extents(struct btrfs_fs_info *fs_info) in btrfs_verify_dev_extents()
8146 bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr) in btrfs_pinned_by_swapfile()
8169 struct btrfs_fs_info *fs_info = cache->fs_info; in relocating_repair_kthread() local
8211 int btrfs_repair_one_zone(struct btrfs_fs_info *fs_info, u64 logical) in btrfs_repair_one_zone()