Lines Matching refs:fs_root
2283 struct btrfs_root *fs_root = NULL; in select_one_root() local
2305 fs_root = root; in select_one_root()
2315 if (!fs_root) in select_one_root()
2317 return fs_root; in select_one_root()
4208 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
4256 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation()
4258 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4259 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4270 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4319 fs_root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in btrfs_recover_relocation()
4321 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4322 err = PTR_ERR(fs_root); in btrfs_recover_relocation()
4332 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4336 fs_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_recover_relocation()
4337 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4370 fs_root = btrfs_grab_root(fs_info->data_reloc_root); in btrfs_recover_relocation()
4371 ASSERT(fs_root); in btrfs_recover_relocation()
4372 err = btrfs_orphan_cleanup(fs_root); in btrfs_recover_relocation()
4373 btrfs_put_root(fs_root); in btrfs_recover_relocation()