• Home
  • Raw
  • Download

Lines Matching defs:fs_info

1601 	struct btrfs_fs_info *fs_info = device->fs_info;  in find_free_dev_extent_start()  local
1752 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1802 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1821 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
1981 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
2031 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
2050 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices()
2064 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblocks()
2109 int btrfs_rm_device(struct btrfs_fs_info *fs_info, in btrfs_rm_device()
2382 int btrfs_get_dev_args_from_path(struct btrfs_fs_info *fs_info, in btrfs_get_dev_args_from_path()
2436 struct btrfs_fs_info *fs_info, u64 devid, in btrfs_find_device_by_devspec()
2461 static struct btrfs_fs_devices *btrfs_init_sprout(struct btrfs_fs_info *fs_info) in btrfs_init_sprout()
2506 static void btrfs_setup_sprout(struct btrfs_fs_info *fs_info, in btrfs_setup_sprout()
2561 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_finish_sprout() local
2633 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device()
2937 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_grow_device() local
2979 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_free_chunk() local
3012 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk()
3065 struct extent_map *btrfs_get_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_get_chunk_map()
3120 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_chunk() local
3275 int btrfs_relocate_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_relocate_chunk()
3355 static int btrfs_relocate_sys_chunks(struct btrfs_fs_info *fs_info) in btrfs_relocate_sys_chunks()
3434 static int btrfs_may_alloc_data_chunk(struct btrfs_fs_info *fs_info, in btrfs_may_alloc_data_chunk()
3471 static int insert_balance_item(struct btrfs_fs_info *fs_info, in insert_balance_item()
3525 static int del_balance_item(struct btrfs_fs_info *fs_info) in del_balance_item()
3610 static void reset_balance_state(struct btrfs_fs_info *fs_info) in reset_balance_state()
3643 static int chunk_usage_range_filter(struct btrfs_fs_info *fs_info, u64 chunk_offset, in chunk_usage_range_filter()
3676 static int chunk_usage_filter(struct btrfs_fs_info *fs_info, in chunk_usage_filter()
3807 struct btrfs_fs_info *fs_info = leaf->fs_info; in should_balance_chunk() local
3893 static int __btrfs_balance(struct btrfs_fs_info *fs_info) in __btrfs_balance()
4108 static inline int validate_convert_profile(struct btrfs_fs_info *fs_info, in validate_convert_profile()
4223 static void describe_balance_start_or_resume(struct btrfs_fs_info *fs_info) in describe_balance_start_or_resume()
4282 int btrfs_balance(struct btrfs_fs_info *fs_info, in btrfs_balance()
4474 struct btrfs_fs_info *fs_info = data; in balance_kthread() local
4487 int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info) in btrfs_resume_balance_async()
4520 int btrfs_recover_balance(struct btrfs_fs_info *fs_info) in btrfs_recover_balance()
4592 int btrfs_pause_balance(struct btrfs_fs_info *fs_info) in btrfs_pause_balance()
4621 int btrfs_cancel_balance(struct btrfs_fs_info *fs_info) in btrfs_cancel_balance()
4672 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_scan_kthread() local
4805 int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info) in btrfs_create_uuid_tree()
4854 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_shrink_device() local
5040 static int btrfs_add_system_chunk(struct btrfs_fs_info *fs_info, in btrfs_add_system_chunk()
5568 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_chunk_alloc_add_chunk_item() local
5673 struct btrfs_fs_info *fs_info = trans->fs_info; in init_first_rw_device() local
5719 bool btrfs_chunk_writeable(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_chunk_writeable()
5775 int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_num_copies()
5820 unsigned long btrfs_full_stripe_len(struct btrfs_fs_info *fs_info, in btrfs_full_stripe_len()
5841 int btrfs_is_parity_mirror(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_is_parity_mirror()
5861 static int find_live_mirror(struct btrfs_fs_info *fs_info, in find_live_mirror()
5940 static struct btrfs_io_context *alloc_btrfs_io_context(struct btrfs_fs_info *fs_info, in alloc_btrfs_io_context()
5985 struct btrfs_discard_stripe *btrfs_map_discard(struct btrfs_fs_info *fs_info, in btrfs_map_discard()
6139 static int get_extra_mirror_from_replace(struct btrfs_fs_info *fs_info, in get_extra_mirror_from_replace()
6203 static bool is_block_group_to_copy(struct btrfs_fs_info *fs_info, u64 logical) in is_block_group_to_copy()
6337 int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, struct extent_map *em, in btrfs_get_io_geometry()
6418 static int __btrfs_map_block(struct btrfs_fs_info *fs_info, in __btrfs_map_block()
6690 int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_block()
6699 int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_sblock()
6768 static struct workqueue_struct *btrfs_end_io_wq(struct btrfs_fs_info *fs_info, in btrfs_end_io_wq()
6786 struct btrfs_fs_info *fs_info = bio->bi_private; in btrfs_simple_end_io() local
6915 void btrfs_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio, int mirror_num) in btrfs_submit_bio()
7067 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info, in btrfs_alloc_device()
7111 static void btrfs_report_missing_device(struct btrfs_fs_info *fs_info, in btrfs_report_missing_device()
7138 static int check_32bit_meta_chunk(struct btrfs_fs_info *fs_info, in check_32bit_meta_chunk()
7157 static void warn_32bit_meta_chunk(struct btrfs_fs_info *fs_info, in warn_32bit_meta_chunk()
7170 static struct btrfs_device *handle_missing_device(struct btrfs_fs_info *fs_info, in handle_missing_device()
7195 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_chunk() local
7337 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
7395 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_dev() local
7502 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info) in btrfs_read_sys_array()
7616 bool btrfs_check_rw_degradable(struct btrfs_fs_info *fs_info, in btrfs_check_rw_degradable()
7682 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info) in btrfs_read_chunk_tree()
7807 int btrfs_init_devices_late(struct btrfs_fs_info *fs_info) in btrfs_init_devices_late()
7901 int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info) in btrfs_init_dev_stats()
7935 struct btrfs_fs_info *fs_info = trans->fs_info; in update_dev_stat_item() local
8002 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_stats() local
8073 int btrfs_get_dev_stats(struct btrfs_fs_info *fs_info, in btrfs_get_dev_stats()
8155 static int verify_one_dev_extent(struct btrfs_fs_info *fs_info, in verify_one_dev_extent()
8259 static int verify_chunk_dev_extent_mapping(struct btrfs_fs_info *fs_info) in verify_chunk_dev_extent_mapping()
8291 int btrfs_verify_dev_extents(struct btrfs_fs_info *fs_info) in btrfs_verify_dev_extents()
8391 bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr) in btrfs_pinned_by_swapfile()
8414 struct btrfs_fs_info *fs_info = cache->fs_info; in relocating_repair_kthread() local
8459 bool btrfs_repair_one_zone(struct btrfs_fs_info *fs_info, u64 logical) in btrfs_repair_one_zone()