Lines Matching refs:fs_root
2239 struct btrfs_root *fs_root = NULL; in select_one_root() local
2261 fs_root = root; in select_one_root()
2271 if (!fs_root) in select_one_root()
2273 return fs_root; in select_one_root()
4141 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
4189 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation()
4191 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4192 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4203 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4252 fs_root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in btrfs_recover_relocation()
4254 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4255 err = PTR_ERR(fs_root); in btrfs_recover_relocation()
4265 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4269 fs_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_recover_relocation()
4270 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4303 fs_root = btrfs_grab_root(fs_info->data_reloc_root); in btrfs_recover_relocation()
4304 ASSERT(fs_root); in btrfs_recover_relocation()
4305 err = btrfs_orphan_cleanup(fs_root); in btrfs_recover_relocation()
4306 btrfs_put_root(fs_root); in btrfs_recover_relocation()