Lines Matching refs:fs_root
2180 struct btrfs_root *fs_root = NULL; in select_one_root() local
2202 fs_root = root; in select_one_root()
2212 if (!fs_root) in select_one_root()
2214 return fs_root; in select_one_root()
4163 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
4210 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation()
4212 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4213 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4221 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4268 fs_root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in btrfs_recover_relocation()
4270 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4271 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4281 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4285 fs_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_recover_relocation()
4286 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4319 fs_root = btrfs_grab_root(fs_info->data_reloc_root); in btrfs_recover_relocation()
4320 ASSERT(fs_root); in btrfs_recover_relocation()
4321 ret = btrfs_orphan_cleanup(fs_root); in btrfs_recover_relocation()
4322 btrfs_put_root(fs_root); in btrfs_recover_relocation()