Lines Matching defs:fid
20 struct btrfs_fid *fid = (struct btrfs_fid *)fh;
35 fid->objectid = btrfs_ino(BTRFS_I(inode));
36 fid->root_objectid = BTRFS_I(inode)->root->root_key.objectid;
37 fid->gen = inode->i_generation;
42 fid->parent_objectid = BTRFS_I(parent)->location.objectid;
43 fid->parent_gen = parent->i_generation;
46 if (parent_root_id != fid->root_objectid) {
47 fid->parent_root_objectid = parent_root_id;
88 static struct dentry *btrfs_fh_to_parent(struct super_block *sb, struct fid *fh,
91 struct btrfs_fid *fid = (struct btrfs_fid *) fh;
98 root_objectid = fid->root_objectid;
102 root_objectid = fid->parent_root_objectid;
106 objectid = fid->parent_objectid;
107 generation = fid->parent_gen;
112 static struct dentry *btrfs_fh_to_dentry(struct super_block *sb, struct fid *fh,
115 struct btrfs_fid *fid = (struct btrfs_fid *) fh;
127 objectid = fid->objectid;
128 root_objectid = fid->root_objectid;
129 generation = fid->gen;