Lines Matching defs:root
38 fid->root_objectid = BTRFS_I(inode)->root->root_key.objectid;
46 parent_root_id = BTRFS_I(parent)->root->root_key.objectid;
63 * Read dentry of inode with @objectid from filesystem root @root_objectid.
67 * @root_objectid: object id of the subvolume root where to look up the inode
78 struct btrfs_root *root;
84 root = btrfs_get_fs_root(fs_info, root_objectid, true);
85 if (IS_ERR(root))
86 return ERR_CAST(root);
88 inode = btrfs_iget(sb, objectid, root);
89 btrfs_put_root(root);
151 struct btrfs_root *root = BTRFS_I(dir)->root;
164 key.objectid = root->root_key.objectid;
167 root = fs_info->tree_root;
174 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0);
207 return d_obtain_alias(btrfs_iget(fs_info->sb, key.objectid, root));
220 struct btrfs_root *root = BTRFS_I(dir)->root;
240 key.objectid = BTRFS_I(inode)->root->root_key.objectid;
243 root = fs_info->tree_root;
250 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0);