Lines Matching defs:root
1090 struct btrfs_root *root = device->dev_root; in btrfs_account_dev_extents_size() local
1250 struct btrfs_root *root = device->dev_root; in find_free_dev_extent_start() local
1421 struct btrfs_root *root = device->dev_root; in btrfs_free_dev_extent() local
1480 struct btrfs_root *root = device->dev_root; in btrfs_alloc_dev_extent() local
1578 struct btrfs_root *root, in btrfs_add_device()
1649 static int btrfs_rm_dev_item(struct btrfs_root *root, in btrfs_rm_dev_item()
1690 int btrfs_rm_device(struct btrfs_root *root, char *device_path) in btrfs_rm_device()
2046 static int btrfs_find_device_by_path(struct btrfs_root *root, char *device_path, in btrfs_find_device_by_path()
2073 int btrfs_find_device_missing_or_by_path(struct btrfs_root *root, in btrfs_find_device_missing_or_by_path()
2106 static int btrfs_prepare_sprout(struct btrfs_root *root) in btrfs_prepare_sprout()
2170 struct btrfs_root *root) in btrfs_finish_sprout()
2241 int btrfs_init_new_device(struct btrfs_root *root, char *device_path) in btrfs_init_new_device()
2451 int btrfs_init_dev_replace_tgtdev(struct btrfs_root *root, char *device_path, in btrfs_init_dev_replace_tgtdev()
2563 struct btrfs_root *root; in btrfs_update_device() local
2645 struct btrfs_root *root, u64 chunk_objectid, in btrfs_free_chunk()
2680 static int btrfs_del_sys_chunk(struct btrfs_root *root, u64 chunk_objectid, u64 in btrfs_del_sys_chunk()
2729 struct btrfs_root *root, u64 chunk_offset) in btrfs_remove_chunk()
2821 static int btrfs_relocate_chunk(struct btrfs_root *root, u64 chunk_offset) in btrfs_relocate_chunk()
2872 static int btrfs_relocate_sys_chunks(struct btrfs_root *root) in btrfs_relocate_sys_chunks()
2947 static int insert_balance_item(struct btrfs_root *root, in insert_balance_item()
3000 static int del_balance_item(struct btrfs_root *root) in del_balance_item()
3287 static int should_balance_chunk(struct btrfs_root *root, in should_balance_chunk()
3987 struct btrfs_root *root = fs_info->tree_root; in btrfs_uuid_scan_kthread() local
4248 struct btrfs_root *root = device->dev_root; in btrfs_shrink_device() local
4413 static int btrfs_add_system_chunk(struct btrfs_root *root, in btrfs_add_system_chunk()
4903 struct btrfs_root *root, in init_first_rw_device()
4945 int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset) in btrfs_chunk_readonly()
5061 unsigned long btrfs_full_stripe_len(struct btrfs_root *root, in btrfs_full_stripe_len()
5930 static noinline void btrfs_schedule_bio(struct btrfs_root *root, in btrfs_schedule_bio()
5983 static void submit_stripe_bio(struct btrfs_root *root, struct btrfs_bio *bbio, in submit_stripe_bio()
6030 int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio, in btrfs_map_bio()
6122 static struct btrfs_device *add_missing_dev(struct btrfs_root *root, in add_missing_dev()
6193 static int read_one_chunk(struct btrfs_root *root, struct btrfs_key *key, in read_one_chunk()
6307 static struct btrfs_fs_devices *open_seed_devices(struct btrfs_root *root, in open_seed_devices()
6362 static int read_one_dev(struct btrfs_root *root, in read_one_dev()
6445 int btrfs_read_sys_array(struct btrfs_root *root) in btrfs_read_sys_array()
6549 int btrfs_read_chunk_tree(struct btrfs_root *root) in btrfs_read_chunk_tree()
6830 int btrfs_get_dev_stats(struct btrfs_root *root, in btrfs_get_dev_stats()
6919 void btrfs_update_commit_device_bytes_used(struct btrfs_root *root, in btrfs_update_commit_device_bytes_used()