Lines Matching refs:fs_root
2079 struct btrfs_root *fs_root = NULL; in select_one_root() local
2101 fs_root = root; in select_one_root()
2111 if (!fs_root) in select_one_root()
2113 return fs_root; in select_one_root()
4081 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
4128 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation()
4130 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4131 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4139 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4185 fs_root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in btrfs_recover_relocation()
4187 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4188 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4198 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4202 fs_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_recover_relocation()
4203 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4236 fs_root = btrfs_grab_root(fs_info->data_reloc_root); in btrfs_recover_relocation()
4237 ASSERT(fs_root); in btrfs_recover_relocation()
4238 ret = btrfs_orphan_cleanup(fs_root); in btrfs_recover_relocation()
4239 btrfs_put_root(fs_root); in btrfs_recover_relocation()