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()
4149 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
4197 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation()
4199 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4200 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4211 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4260 fs_root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in btrfs_recover_relocation()
4262 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4263 err = PTR_ERR(fs_root); in btrfs_recover_relocation()
4273 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4277 fs_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_recover_relocation()
4278 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4311 fs_root = btrfs_grab_root(fs_info->data_reloc_root); in btrfs_recover_relocation()
4312 ASSERT(fs_root); in btrfs_recover_relocation()
4313 err = btrfs_orphan_cleanup(fs_root); in btrfs_recover_relocation()
4314 btrfs_put_root(fs_root); in btrfs_recover_relocation()