• Home
  • Raw
  • Download

Lines Matching defs:fs_info

412 static struct btrfs_device *__alloc_device(struct btrfs_fs_info *fs_info)  in __alloc_device()
1566 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent_start() local
1719 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1780 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_alloc_dev_extent() local
1816 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1835 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
2005 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
2059 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
2078 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices()
2092 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblocks()
2132 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device()
2370 struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_find_device_by_path()
2404 struct btrfs_fs_info *fs_info, u64 devid, in btrfs_find_device_by_devspec()
2437 static int btrfs_prepare_sprout(struct btrfs_fs_info *fs_info) in btrfs_prepare_sprout()
2508 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_finish_sprout() local
2578 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device()
2859 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_grow_device() local
2896 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_free_chunk() local
2929 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk()
2983 struct extent_map *btrfs_get_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_get_chunk_map()
3015 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_chunk() local
3100 static int btrfs_relocate_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_relocate_chunk()
3151 static int btrfs_relocate_sys_chunks(struct btrfs_fs_info *fs_info) in btrfs_relocate_sys_chunks()
3230 static int btrfs_may_alloc_data_chunk(struct btrfs_fs_info *fs_info, in btrfs_may_alloc_data_chunk()
3267 static int insert_balance_item(struct btrfs_fs_info *fs_info, in insert_balance_item()
3321 static int del_balance_item(struct btrfs_fs_info *fs_info) in del_balance_item()
3406 static void reset_balance_state(struct btrfs_fs_info *fs_info) in reset_balance_state()
3439 static int chunk_usage_range_filter(struct btrfs_fs_info *fs_info, u64 chunk_offset, in chunk_usage_range_filter()
3472 static int chunk_usage_filter(struct btrfs_fs_info *fs_info, in chunk_usage_filter()
3606 struct btrfs_fs_info *fs_info = leaf->fs_info; in should_balance_chunk() local
3692 static int __btrfs_balance(struct btrfs_fs_info *fs_info) in __btrfs_balance()
3903 static inline int balance_need_close(struct btrfs_fs_info *fs_info) in balance_need_close()
3915 static inline int validate_convert_profile(struct btrfs_fs_info *fs_info, in validate_convert_profile()
4030 static void describe_balance_start_or_resume(struct btrfs_fs_info *fs_info) in describe_balance_start_or_resume()
4089 int btrfs_balance(struct btrfs_fs_info *fs_info, in btrfs_balance()
4285 struct btrfs_fs_info *fs_info = data; in balance_kthread() local
4298 int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info) in btrfs_resume_balance_async()
4327 int btrfs_recover_balance(struct btrfs_fs_info *fs_info) in btrfs_recover_balance()
4399 int btrfs_pause_balance(struct btrfs_fs_info *fs_info) in btrfs_pause_balance()
4428 int btrfs_cancel_balance(struct btrfs_fs_info *fs_info) in btrfs_cancel_balance()
4479 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_scan_kthread() local
4612 int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info) in btrfs_create_uuid_tree()
4661 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_shrink_device() local
4846 static int btrfs_add_system_chunk(struct btrfs_fs_info *fs_info, in btrfs_add_system_chunk()
5305 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_finish_chunk_alloc() local
5402 struct btrfs_fs_info *fs_info = trans->fs_info; in init_first_rw_device() local
5423 int btrfs_chunk_readonly(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_chunk_readonly()
5480 int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_num_copies()
5525 unsigned long btrfs_full_stripe_len(struct btrfs_fs_info *fs_info, in btrfs_full_stripe_len()
5543 int btrfs_is_parity_mirror(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_is_parity_mirror()
5560 static int find_live_mirror(struct btrfs_fs_info *fs_info, in find_live_mirror()
5672 static int __btrfs_map_block_for_discard(struct btrfs_fs_info *fs_info, in __btrfs_map_block_for_discard()
5834 static int get_extra_mirror_from_replace(struct btrfs_fs_info *fs_info, in get_extra_mirror_from_replace()
6011 int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_get_io_geometry()
6097 static int __btrfs_map_block(struct btrfs_fs_info *fs_info, in __btrfs_map_block()
6339 int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_block()
6352 int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, in btrfs_map_sblock()
6426 struct btrfs_fs_info *fs_info = bbio->fs_info; in submit_stripe_bio() local
6461 blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio, in btrfs_map_bio()
6618 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info, in btrfs_alloc_device()
6653 static void btrfs_report_missing_device(struct btrfs_fs_info *fs_info, in btrfs_report_missing_device()
6682 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_chunk() local
6815 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_fs_info *fs_info, in open_seed_devices()
6872 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_dev() local
6967 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info) in btrfs_read_sys_array()
7096 bool btrfs_check_rw_degradable(struct btrfs_fs_info *fs_info, in btrfs_check_rw_degradable()
7166 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info) in btrfs_read_chunk_tree()
7282 void btrfs_init_devices_late(struct btrfs_fs_info *fs_info) in btrfs_init_devices_late()
7366 int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info) in btrfs_init_dev_stats()
7400 struct btrfs_fs_info *fs_info = trans->fs_info; in update_dev_stat_item() local
7467 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_stats() local
7542 int btrfs_get_dev_stats(struct btrfs_fs_info *fs_info, in btrfs_get_dev_stats()
7623 static int verify_one_dev_extent(struct btrfs_fs_info *fs_info, in verify_one_dev_extent()
7717 static int verify_chunk_dev_extent_mapping(struct btrfs_fs_info *fs_info) in verify_chunk_dev_extent_mapping()
7749 int btrfs_verify_dev_extents(struct btrfs_fs_info *fs_info) in btrfs_verify_dev_extents()
7836 bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr) in btrfs_pinned_by_swapfile()