Lines Matching refs:root
36 fid->root_objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_encode_fh()
44 parent_root_id = BTRFS_I(parent)->root->root_key.objectid; in btrfs_encode_fh()
65 struct btrfs_root *root; in btrfs_get_dentry() local
80 root = btrfs_read_fs_root_no_name(fs_info, &key); in btrfs_get_dentry()
81 if (IS_ERR(root)) { in btrfs_get_dentry()
82 err = PTR_ERR(root); in btrfs_get_dentry()
90 inode = btrfs_iget(sb, &key, root, NULL); in btrfs_get_dentry()
159 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_get_parent() local
172 key.objectid = root->root_key.objectid; in btrfs_get_parent()
175 root = fs_info->tree_root; in btrfs_get_parent()
182 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_get_parent()
217 return d_obtain_alias(btrfs_iget(fs_info->sb, &key, root, NULL)); in btrfs_get_parent()
230 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_get_name() local
251 key.objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_get_name()
254 root = fs_info->tree_root; in btrfs_get_name()
261 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_get_name()