Lines Matching defs:dev_root
171 fs_info = device->dev_root->fs_info;
736 struct btrfs_root *root = device->dev_root;
862 struct btrfs_root *root = device->dev_root;
911 struct btrfs_root *root = device->dev_root;
1501 device->dev_root = root->fs_info->dev_root;
1587 root = device->dev_root->fs_info->chunk_root;
1627 &device->dev_root->fs_info->super_copy;
1641 btrfs_clear_space_info_full(device->dev_root->fs_info);
1650 lock_chunks(device->dev_root);
1652 unlock_chunks(device->dev_root);
1893 int btrfs_balance(struct btrfs_root *dev_root)
1896 struct list_head *devices = &dev_root->fs_info->fs_devices->devices;
1903 struct btrfs_root *chunk_root = dev_root->fs_info->chunk_root;
1907 if (dev_root->fs_info->sb->s_flags & MS_RDONLY)
1910 mutex_lock(&dev_root->fs_info->volume_mutex);
1911 dev_root = dev_root->fs_info->dev_root;
1927 trans = btrfs_start_transaction(dev_root, 0);
1933 btrfs_end_transaction(trans, dev_root);
1984 mutex_unlock(&dev_root->fs_info->volume_mutex);
1996 struct btrfs_root *root = device->dev_root;
3086 device->dev_root = root->fs_info->dev_root;
3299 device->dev_root = root->fs_info->dev_root;