Lines Matching refs:btrfs_root
47 struct btrfs_root *root,
49 static int btrfs_relocate_sys_chunks(struct btrfs_root *root);
67 static void lock_chunks(struct btrfs_root *root)
72 static void unlock_chunks(struct btrfs_root *root)
736 struct btrfs_root *root = device->dev_root;
862 struct btrfs_root *root = device->dev_root;
911 struct btrfs_root *root = device->dev_root;
945 static noinline int find_next_chunk(struct btrfs_root *root,
988 static noinline int find_next_devid(struct btrfs_root *root, u64 *objectid)
1031 struct btrfs_root *root,
1084 static int btrfs_rm_dev_item(struct btrfs_root *root,
1123 int btrfs_rm_device(struct btrfs_root *root, char *device_path)
1301 struct btrfs_root *root)
1356 struct btrfs_root *root)
1428 int btrfs_init_new_device(struct btrfs_root *root, char *device_path)
1582 struct btrfs_root *root;
1657 struct btrfs_root *root,
1684 static int btrfs_del_sys_chunk(struct btrfs_root *root, u64 chunk_objectid, u64
1730 static int btrfs_relocate_chunk(struct btrfs_root *root,
1735 struct btrfs_root *extent_root;
1812 static int btrfs_relocate_sys_chunks(struct btrfs_root *root)
1814 struct btrfs_root *chunk_root = root->fs_info->chunk_root;
1893 int btrfs_balance(struct btrfs_root *dev_root)
1903 struct btrfs_root *chunk_root = dev_root->fs_info->chunk_root;
1996 struct btrfs_root *root = device->dev_root;
2117 struct btrfs_root *root,
2152 struct btrfs_root *extent_root,
2377 struct btrfs_root *extent_root,
2383 struct btrfs_root *chunk_root = extent_root->fs_info->chunk_root;
2451 struct btrfs_root *extent_root, u64 type)
2457 struct btrfs_root *chunk_root = extent_root->fs_info->chunk_root;
2477 struct btrfs_root *root,
2490 struct btrfs_root *extent_root = fs_info->extent_root;
2538 int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset)
2938 static noinline int schedule_bio(struct btrfs_root *root,
2987 int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio,
3054 struct btrfs_device *btrfs_find_device(struct btrfs_root *root, u64 devid,
3074 static struct btrfs_device *add_missing_dev(struct btrfs_root *root,
3097 static int read_one_chunk(struct btrfs_root *root, struct btrfs_key *key,
3206 static int open_seed_devices(struct btrfs_root *root, u8 *fsid)
3253 static int read_one_dev(struct btrfs_root *root,
3307 int btrfs_read_super_device(struct btrfs_root *root, struct extent_buffer *buf)
3316 int btrfs_read_sys_array(struct btrfs_root *root)
3372 int btrfs_read_chunk_tree(struct btrfs_root *root)