Lines Matching refs:objectid

37 	fid->objectid = btrfs_ino(BTRFS_I(inode));  in btrfs_encode_fh()
38 fid->root_objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_encode_fh()
44 fid->parent_objectid = BTRFS_I(parent)->location.objectid; in btrfs_encode_fh()
46 parent_root_id = BTRFS_I(parent)->root->root_key.objectid; in btrfs_encode_fh()
74 struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid, in btrfs_get_dentry() argument
81 if (objectid < BTRFS_FIRST_FREE_OBJECTID) in btrfs_get_dentry()
88 inode = btrfs_iget(sb, objectid, root); in btrfs_get_dentry()
105 u64 objectid, root_objectid; in btrfs_fh_to_parent() local
119 objectid = fid->parent_objectid; in btrfs_fh_to_parent()
122 return btrfs_get_dentry(sb, objectid, root_objectid, generation); in btrfs_fh_to_parent()
129 u64 objectid, root_objectid; in btrfs_fh_to_dentry() local
140 objectid = fid->objectid; in btrfs_fh_to_dentry()
144 return btrfs_get_dentry(sb, objectid, root_objectid, generation); in btrfs_fh_to_dentry()
164 key.objectid = root->root_key.objectid; in btrfs_get_parent()
169 key.objectid = btrfs_ino(BTRFS_I(dir)); in btrfs_get_parent()
195 if (found_key.objectid != key.objectid || found_key.type != key.type) { in btrfs_get_parent()
203 key.objectid = btrfs_root_ref_dirid(leaf, ref); in btrfs_get_parent()
205 key.objectid = found_key.offset; in btrfs_get_parent()
210 return btrfs_get_dentry(fs_info->sb, key.objectid, in btrfs_get_parent()
214 return d_obtain_alias(btrfs_iget(fs_info->sb, key.objectid, root)); in btrfs_get_parent()
247 key.objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_get_name()
252 key.objectid = ino; in btrfs_get_name()