Lines Matching defs:fs_info

432 	struct btrfs_fs_info *fs_info = device->fs_info;  in run_scheduled_bios()  local
1293 struct btrfs_fs_info *fs_info = device->fs_info; in contains_pending_extent() local
1369 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent_start() local
1543 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1604 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_alloc_dev_extent() local
1640 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1659 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
1769 static int btrfs_rm_dev_item(struct btrfs_fs_info *fs_info, in btrfs_rm_dev_item()
1818 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
1872 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
1890 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device()
2060 void btrfs_rm_dev_replace_free_srcdev(struct btrfs_fs_info *fs_info, in btrfs_rm_dev_replace_free_srcdev()
2132 static int btrfs_find_device_by_path(struct btrfs_fs_info *fs_info, in btrfs_find_device_by_path()
2160 int btrfs_find_device_missing_or_by_path(struct btrfs_fs_info *fs_info, in btrfs_find_device_missing_or_by_path()
2190 int btrfs_find_device_by_devspec(struct btrfs_fs_info *fs_info, u64 devid, in btrfs_find_device_by_devspec()
2215 static int btrfs_prepare_sprout(struct btrfs_fs_info *fs_info) in btrfs_prepare_sprout()
2279 struct btrfs_fs_info *fs_info) in btrfs_finish_sprout()
2350 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device()
2626 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_grow_device() local
2666 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_free_chunk() local
2699 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk()
2746 static struct extent_map *get_chunk_map(struct btrfs_fs_info *fs_info, in get_chunk_map()
2777 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_chunk() local
2864 static int btrfs_relocate_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_relocate_chunk()
2922 static int btrfs_relocate_sys_chunks(struct btrfs_fs_info *fs_info) in btrfs_relocate_sys_chunks()
3001 static int btrfs_may_alloc_data_chunk(struct btrfs_fs_info *fs_info, in btrfs_may_alloc_data_chunk()
3040 static int insert_balance_item(struct btrfs_fs_info *fs_info, in insert_balance_item()
3094 static int del_balance_item(struct btrfs_fs_info *fs_info) in del_balance_item()
3179 static void reset_balance_state(struct btrfs_fs_info *fs_info) in reset_balance_state()
3212 static int chunk_usage_range_filter(struct btrfs_fs_info *fs_info, u64 chunk_offset, in chunk_usage_range_filter()
3245 static int chunk_usage_filter(struct btrfs_fs_info *fs_info, in chunk_usage_filter()
3372 static int should_balance_chunk(struct btrfs_fs_info *fs_info, in should_balance_chunk()
3461 static int __btrfs_balance(struct btrfs_fs_info *fs_info) in __btrfs_balance()
3722 static inline int balance_need_close(struct btrfs_fs_info *fs_info) in balance_need_close()
3742 int btrfs_balance(struct btrfs_fs_info *fs_info, in btrfs_balance()
3923 struct btrfs_fs_info *fs_info = data; in balance_kthread() local
3936 int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info) in btrfs_resume_balance_async()
3965 int btrfs_recover_balance(struct btrfs_fs_info *fs_info) in btrfs_recover_balance()
4037 int btrfs_pause_balance(struct btrfs_fs_info *fs_info) in btrfs_pause_balance()
4066 int btrfs_cancel_balance(struct btrfs_fs_info *fs_info) in btrfs_cancel_balance()
4117 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_scan_kthread() local
4252 static int btrfs_check_uuid_tree_entry(struct btrfs_fs_info *fs_info, in btrfs_check_uuid_tree_entry()
4292 struct btrfs_fs_info *fs_info = (struct btrfs_fs_info *)data; in btrfs_uuid_rescan_kthread() local
4309 int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info) in btrfs_create_uuid_tree()
4352 int btrfs_check_uuid_tree(struct btrfs_fs_info *fs_info) in btrfs_check_uuid_tree()
4375 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_shrink_device() local
4559 static int btrfs_add_system_chunk(struct btrfs_fs_info *fs_info, in btrfs_add_system_chunk()
4907 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_finish_chunk_alloc() local
5019 struct btrfs_fs_info *fs_info) in init_first_rw_device()
5055 int btrfs_chunk_readonly(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_chunk_readonly()
5117 int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_num_copies()
5162 unsigned long btrfs_full_stripe_len(struct btrfs_fs_info *fs_info, in btrfs_full_stripe_len()
5180 int btrfs_is_parity_mirror(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_is_parity_mirror()
5197 static int find_live_mirror(struct btrfs_fs_info *fs_info, in find_live_mirror()
5318 static int __btrfs_map_block_for_discard(struct btrfs_fs_info *fs_info, in __btrfs_map_block_for_discard()
5478 static int get_extra_mirror_from_replace(struct btrfs_fs_info *fs_info, in get_extra_mirror_from_replace()
5641 static int __btrfs_map_block(struct btrfs_fs_info *fs_info, in __btrfs_map_block()
5942 int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_block()
5951 int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_sblock()
5958 int btrfs_rmap_block(struct btrfs_fs_info *fs_info, u64 chunk_start, in btrfs_rmap_block()
6106 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_schedule_bio() local
6144 struct btrfs_fs_info *fs_info = bbio->fs_info; in submit_stripe_bio() local
6182 blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio, in btrfs_map_bio()
6333 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info, in btrfs_alloc_device()
6371 static void btrfs_report_missing_device(struct btrfs_fs_info *fs_info, in btrfs_report_missing_device()
6382 static int read_one_chunk(struct btrfs_fs_info *fs_info, struct btrfs_key *key, in read_one_chunk()
6516 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
6571 static int read_one_dev(struct btrfs_fs_info *fs_info, in read_one_dev()
6669 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info) in btrfs_read_sys_array()
6797 bool btrfs_check_rw_degradable(struct btrfs_fs_info *fs_info, in btrfs_check_rw_degradable()
6854 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info) in btrfs_read_chunk_tree()
6956 void btrfs_init_devices_late(struct btrfs_fs_info *fs_info) in btrfs_init_devices_late()
6979 int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info) in btrfs_init_dev_stats()
7043 struct btrfs_fs_info *fs_info = trans->fs_info; in update_dev_stat_item() local
7109 struct btrfs_fs_info *fs_info) in btrfs_run_dev_stats()
7185 int btrfs_get_dev_stats(struct btrfs_fs_info *fs_info, in btrfs_get_dev_stats()
7257 void btrfs_update_commit_device_size(struct btrfs_fs_info *fs_info) in btrfs_update_commit_device_size()
7279 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_update_commit_device_bytes_used() local
7302 void btrfs_set_fs_info_ptr(struct btrfs_fs_info *fs_info) in btrfs_set_fs_info_ptr()
7311 void btrfs_reset_fs_info_ptr(struct btrfs_fs_info *fs_info) in btrfs_reset_fs_info_ptr()
7352 static int verify_one_dev_extent(struct btrfs_fs_info *fs_info, in verify_one_dev_extent()
7443 static int verify_chunk_dev_extent_mapping(struct btrfs_fs_info *fs_info) in verify_chunk_dev_extent_mapping()
7475 int btrfs_verify_dev_extents(struct btrfs_fs_info *fs_info) in btrfs_verify_dev_extents()