Lines Matching defs:fs_info

1572 	struct btrfs_fs_info *fs_info = device->fs_info;  in find_free_dev_extent_start()  local
1723 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1773 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1792 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
1952 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
2002 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
2021 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices()
2035 static void btrfs_scratch_superblock(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblock()
2057 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblocks()
2080 int btrfs_rm_device(struct btrfs_fs_info *fs_info, in btrfs_rm_device()
2353 int btrfs_get_dev_args_from_path(struct btrfs_fs_info *fs_info, in btrfs_get_dev_args_from_path()
2407 struct btrfs_fs_info *fs_info, u64 devid, in btrfs_find_device_by_devspec()
2432 static struct btrfs_fs_devices *btrfs_init_sprout(struct btrfs_fs_info *fs_info) in btrfs_init_sprout()
2477 static void btrfs_setup_sprout(struct btrfs_fs_info *fs_info, in btrfs_setup_sprout()
2532 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_finish_sprout() local
2604 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device()
2900 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_grow_device() local
2942 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_free_chunk() local
2975 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk()
3028 struct extent_map *btrfs_get_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_get_chunk_map()
3082 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_chunk() local
3237 int btrfs_relocate_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_relocate_chunk()
3310 static int btrfs_relocate_sys_chunks(struct btrfs_fs_info *fs_info) in btrfs_relocate_sys_chunks()
3389 static int btrfs_may_alloc_data_chunk(struct btrfs_fs_info *fs_info, in btrfs_may_alloc_data_chunk()
3426 static int insert_balance_item(struct btrfs_fs_info *fs_info, in insert_balance_item()
3480 static int del_balance_item(struct btrfs_fs_info *fs_info) in del_balance_item()
3565 static void reset_balance_state(struct btrfs_fs_info *fs_info) in reset_balance_state()
3598 static int chunk_usage_range_filter(struct btrfs_fs_info *fs_info, u64 chunk_offset, in chunk_usage_range_filter()
3629 static int chunk_usage_filter(struct btrfs_fs_info *fs_info, in chunk_usage_filter()
3760 struct btrfs_fs_info *fs_info = leaf->fs_info; in should_balance_chunk() local
3846 static int __btrfs_balance(struct btrfs_fs_info *fs_info) in __btrfs_balance()
4058 static inline int balance_need_close(struct btrfs_fs_info *fs_info) in balance_need_close()
4070 static inline int validate_convert_profile(struct btrfs_fs_info *fs_info, in validate_convert_profile()
4185 static void describe_balance_start_or_resume(struct btrfs_fs_info *fs_info) in describe_balance_start_or_resume()
4244 int btrfs_balance(struct btrfs_fs_info *fs_info, in btrfs_balance()
4434 struct btrfs_fs_info *fs_info = data; in balance_kthread() local
4447 int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info) in btrfs_resume_balance_async()
4480 int btrfs_recover_balance(struct btrfs_fs_info *fs_info) in btrfs_recover_balance()
4552 int btrfs_pause_balance(struct btrfs_fs_info *fs_info) in btrfs_pause_balance()
4581 int btrfs_cancel_balance(struct btrfs_fs_info *fs_info) in btrfs_cancel_balance()
4633 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_scan_kthread() local
4766 int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info) in btrfs_create_uuid_tree()
4815 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_shrink_device() local
5001 static int btrfs_add_system_chunk(struct btrfs_fs_info *fs_info, in btrfs_add_system_chunk()
5529 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_chunk_alloc_add_chunk_item() local
5634 struct btrfs_fs_info *fs_info = trans->fs_info; in init_first_rw_device() local
5680 bool btrfs_chunk_writeable(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_chunk_writeable()
5736 int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_num_copies()
5781 unsigned long btrfs_full_stripe_len(struct btrfs_fs_info *fs_info, in btrfs_full_stripe_len()
5802 int btrfs_is_parity_mirror(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_is_parity_mirror()
5822 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()
5949 struct btrfs_discard_stripe *btrfs_map_discard(struct btrfs_fs_info *fs_info, in btrfs_map_discard()
6103 static int get_extra_mirror_from_replace(struct btrfs_fs_info *fs_info, in get_extra_mirror_from_replace()
6167 static bool is_block_group_to_copy(struct btrfs_fs_info *fs_info, u64 logical) in is_block_group_to_copy()
6333 int __btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in __btrfs_map_block()
6600 int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_block()
6609 int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_sblock()
6720 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info, in btrfs_alloc_device()
6774 static void btrfs_report_missing_device(struct btrfs_fs_info *fs_info, in btrfs_report_missing_device()
6801 static int check_32bit_meta_chunk(struct btrfs_fs_info *fs_info, in check_32bit_meta_chunk()
6820 static void warn_32bit_meta_chunk(struct btrfs_fs_info *fs_info, in warn_32bit_meta_chunk()
6833 static struct btrfs_device *handle_missing_device(struct btrfs_fs_info *fs_info, in handle_missing_device()
6858 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_chunk() local
7000 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
7058 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_dev() local
7165 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info) in btrfs_read_sys_array()
7279 bool btrfs_check_rw_degradable(struct btrfs_fs_info *fs_info, in btrfs_check_rw_degradable()
7345 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info) in btrfs_read_chunk_tree()
7470 int btrfs_init_devices_late(struct btrfs_fs_info *fs_info) in btrfs_init_devices_late()
7564 int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info) in btrfs_init_dev_stats()
7598 struct btrfs_fs_info *fs_info = trans->fs_info; in update_dev_stat_item() local
7665 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_stats() local
7736 int btrfs_get_dev_stats(struct btrfs_fs_info *fs_info, in btrfs_get_dev_stats()
7818 static int verify_one_dev_extent(struct btrfs_fs_info *fs_info, in verify_one_dev_extent()
7922 static int verify_chunk_dev_extent_mapping(struct btrfs_fs_info *fs_info) in verify_chunk_dev_extent_mapping()
7954 int btrfs_verify_dev_extents(struct btrfs_fs_info *fs_info) in btrfs_verify_dev_extents()
8054 bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr) in btrfs_pinned_by_swapfile()
8077 struct btrfs_fs_info *fs_info = cache->fs_info; in relocating_repair_kthread() local
8122 bool btrfs_repair_one_zone(struct btrfs_fs_info *fs_info, u64 logical) in btrfs_repair_one_zone()