Lines Matching defs:fs_info

1596 	struct btrfs_fs_info *fs_info = device->fs_info;  in find_free_dev_extent()  local
1740 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1790 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1809 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
1967 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
2017 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
2036 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices()
2050 static void btrfs_scratch_superblock(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblock()
2072 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblocks()
2095 int btrfs_rm_device(struct btrfs_fs_info *fs_info, in btrfs_rm_device()
2368 int btrfs_get_dev_args_from_path(struct btrfs_fs_info *fs_info, in btrfs_get_dev_args_from_path()
2422 struct btrfs_fs_info *fs_info, u64 devid, in btrfs_find_device_by_devspec()
2447 static struct btrfs_fs_devices *btrfs_init_sprout(struct btrfs_fs_info *fs_info) in btrfs_init_sprout()
2492 static void btrfs_setup_sprout(struct btrfs_fs_info *fs_info, in btrfs_setup_sprout()
2547 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_finish_sprout() local
2619 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device()
2915 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_grow_device() local
2957 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_free_chunk() local
2990 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk()
3043 struct extent_map *btrfs_get_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_get_chunk_map()
3098 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_chunk() local
3253 int btrfs_relocate_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_relocate_chunk()
3333 static int btrfs_relocate_sys_chunks(struct btrfs_fs_info *fs_info) in btrfs_relocate_sys_chunks()
3423 static int btrfs_may_alloc_data_chunk(struct btrfs_fs_info *fs_info, in btrfs_may_alloc_data_chunk()
3460 static int insert_balance_item(struct btrfs_fs_info *fs_info, in insert_balance_item()
3514 static int del_balance_item(struct btrfs_fs_info *fs_info) in del_balance_item()
3599 static void reset_balance_state(struct btrfs_fs_info *fs_info) in reset_balance_state()
3632 static int chunk_usage_range_filter(struct btrfs_fs_info *fs_info, u64 chunk_offset, in chunk_usage_range_filter()
3663 static int chunk_usage_filter(struct btrfs_fs_info *fs_info, in chunk_usage_filter()
3794 struct btrfs_fs_info *fs_info = leaf->fs_info; in should_balance_chunk() local
3880 static int __btrfs_balance(struct btrfs_fs_info *fs_info) in __btrfs_balance()
4096 static inline int validate_convert_profile(struct btrfs_fs_info *fs_info, in validate_convert_profile()
4211 static void describe_balance_start_or_resume(struct btrfs_fs_info *fs_info) in describe_balance_start_or_resume()
4270 int btrfs_balance(struct btrfs_fs_info *fs_info, in btrfs_balance()
4462 struct btrfs_fs_info *fs_info = data; in balance_kthread() local
4475 int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info) in btrfs_resume_balance_async()
4508 int btrfs_recover_balance(struct btrfs_fs_info *fs_info) in btrfs_recover_balance()
4580 int btrfs_pause_balance(struct btrfs_fs_info *fs_info) in btrfs_pause_balance()
4609 int btrfs_cancel_balance(struct btrfs_fs_info *fs_info) in btrfs_cancel_balance()
4660 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_scan_kthread() local
4793 int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info) in btrfs_create_uuid_tree()
4842 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_shrink_device() local
5028 static int btrfs_add_system_chunk(struct btrfs_fs_info *fs_info, in btrfs_add_system_chunk()
5555 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_chunk_alloc_add_chunk_item() local
5660 struct btrfs_fs_info *fs_info = trans->fs_info; in init_first_rw_device() local
5706 bool btrfs_chunk_writeable(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_chunk_writeable()
5762 int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_num_copies()
5800 unsigned long btrfs_full_stripe_len(struct btrfs_fs_info *fs_info, in btrfs_full_stripe_len()
5821 int btrfs_is_parity_mirror(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_is_parity_mirror()
5841 static int find_live_mirror(struct btrfs_fs_info *fs_info, in find_live_mirror()
5901 static struct btrfs_io_context *alloc_btrfs_io_context(struct btrfs_fs_info *fs_info, in alloc_btrfs_io_context()
5943 struct btrfs_discard_stripe *btrfs_map_discard(struct btrfs_fs_info *fs_info, in btrfs_map_discard()
6083 static bool is_block_group_to_copy(struct btrfs_fs_info *fs_info, u64 logical) in is_block_group_to_copy()
6272 int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_block()
6624 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info, in btrfs_alloc_device()
6678 static void btrfs_report_missing_device(struct btrfs_fs_info *fs_info, in btrfs_report_missing_device()
6705 static int check_32bit_meta_chunk(struct btrfs_fs_info *fs_info, in check_32bit_meta_chunk()
6724 static void warn_32bit_meta_chunk(struct btrfs_fs_info *fs_info, in warn_32bit_meta_chunk()
6737 static struct btrfs_device *handle_missing_device(struct btrfs_fs_info *fs_info, in handle_missing_device()
6762 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_chunk() local
6903 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
6961 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_dev() local
7068 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info) in btrfs_read_sys_array()
7182 bool btrfs_check_rw_degradable(struct btrfs_fs_info *fs_info, in btrfs_check_rw_degradable()
7248 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info) in btrfs_read_chunk_tree()
7373 int btrfs_init_devices_late(struct btrfs_fs_info *fs_info) in btrfs_init_devices_late()
7467 int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info) in btrfs_init_dev_stats()
7501 struct btrfs_fs_info *fs_info = trans->fs_info; in update_dev_stat_item() local
7568 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_stats() local
7639 int btrfs_get_dev_stats(struct btrfs_fs_info *fs_info, in btrfs_get_dev_stats()
7721 static int verify_one_dev_extent(struct btrfs_fs_info *fs_info, in verify_one_dev_extent()
7825 static int verify_chunk_dev_extent_mapping(struct btrfs_fs_info *fs_info) in verify_chunk_dev_extent_mapping()
7857 int btrfs_verify_dev_extents(struct btrfs_fs_info *fs_info) in btrfs_verify_dev_extents()
7957 bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr) in btrfs_pinned_by_swapfile()
7980 struct btrfs_fs_info *fs_info = cache->fs_info; in relocating_repair_kthread() local
8025 bool btrfs_repair_one_zone(struct btrfs_fs_info *fs_info, u64 logical) in btrfs_repair_one_zone()
8086 int btrfs_map_repair_block(struct btrfs_fs_info *fs_info, in btrfs_map_repair_block()