Lines Matching defs:root
65 static void lock_chunks(struct btrfs_root *root) in lock_chunks()
70 static void unlock_chunks(struct btrfs_root *root) in unlock_chunks()
598 struct btrfs_root *root = device->dev_root; in find_free_dev_extent() local
717 struct btrfs_root *root = device->dev_root; in btrfs_free_dev_extent() local
766 struct btrfs_root *root = device->dev_root; in btrfs_alloc_dev_extent() local
800 static noinline int find_next_chunk(struct btrfs_root *root, in find_next_chunk()
843 static noinline int find_next_devid(struct btrfs_root *root, u64 *objectid) in find_next_devid()
886 struct btrfs_root *root, in btrfs_add_device()
939 static int btrfs_rm_dev_item(struct btrfs_root *root, in btrfs_rm_dev_item()
978 int btrfs_rm_device(struct btrfs_root *root, char *device_path) in btrfs_rm_device()
1145 struct btrfs_root *root) in btrfs_prepare_sprout()
1199 struct btrfs_root *root) in btrfs_finish_sprout()
1271 int btrfs_init_new_device(struct btrfs_root *root, char *device_path) in btrfs_init_new_device()
1410 struct btrfs_root *root; in btrfs_update_device() local
1484 struct btrfs_root *root, in btrfs_free_chunk()
1511 static int btrfs_del_sys_chunk(struct btrfs_root *root, u64 chunk_objectid, u64 in btrfs_del_sys_chunk()
1557 static int btrfs_relocate_chunk(struct btrfs_root *root, in btrfs_relocate_chunk()
1636 static int btrfs_relocate_sys_chunks(struct btrfs_root *root) in btrfs_relocate_sys_chunks()
1804 struct btrfs_root *root = device->dev_root; in btrfs_shrink_device() local
1897 struct btrfs_root *root, in btrfs_add_system_chunk()
2247 struct btrfs_root *root, in init_first_rw_device()
2308 int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset) in btrfs_chunk_readonly()
2721 static noinline int schedule_bio(struct btrfs_root *root, in schedule_bio()
2765 int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio, in btrfs_map_bio()
2832 struct btrfs_device *btrfs_find_device(struct btrfs_root *root, u64 devid, in btrfs_find_device()
2852 static struct btrfs_device *add_missing_dev(struct btrfs_root *root, in add_missing_dev()
2875 static int read_one_chunk(struct btrfs_root *root, struct btrfs_key *key, in read_one_chunk()
2983 static int open_seed_devices(struct btrfs_root *root, u8 *fsid) in open_seed_devices()
3030 static int read_one_dev(struct btrfs_root *root, in read_one_dev()
3084 int btrfs_read_super_device(struct btrfs_root *root, struct extent_buffer *buf) in btrfs_read_super_device()
3093 int btrfs_read_sys_array(struct btrfs_root *root) in btrfs_read_sys_array()
3149 int btrfs_read_chunk_tree(struct btrfs_root *root) in btrfs_read_chunk_tree()