Lines Matching defs:fid
22 struct btrfs_fid *fid = (struct btrfs_fid *)fh;
37 fid->objectid = btrfs_ino(BTRFS_I(inode));
38 fid->root_objectid = BTRFS_I(inode)->root->root_key.objectid;
39 fid->gen = inode->i_generation;
44 fid->parent_objectid = BTRFS_I(parent)->location.objectid;
45 fid->parent_gen = parent->i_generation;
48 if (parent_root_id != fid->root_objectid) {
49 fid->parent_root_objectid = parent_root_id;
101 static struct dentry *btrfs_fh_to_parent(struct super_block *sb, struct fid *fh,
104 struct btrfs_fid *fid = (struct btrfs_fid *) fh;
111 root_objectid = fid->root_objectid;
115 root_objectid = fid->parent_root_objectid;
119 objectid = fid->parent_objectid;
120 generation = fid->parent_gen;
125 static struct dentry *btrfs_fh_to_dentry(struct super_block *sb, struct fid *fh,
128 struct btrfs_fid *fid = (struct btrfs_fid *) fh;
140 objectid = fid->objectid;
141 root_objectid = fid->root_objectid;
142 generation = fid->gen;