Lines Matching refs:parent
29 struct inode *parent) in gfs2_encode_fh() argument
35 if (parent && (*len < GFS2_LARGE_FH_SIZE)) { in gfs2_encode_fh()
49 if (!parent || inode == d_inode(sb->s_root)) in gfs2_encode_fh()
52 ip = GFS2_I(parent); in gfs2_encode_fh()
85 static int gfs2_get_name(struct dentry *parent, char *name, in gfs2_get_name() argument
88 struct inode *dir = d_inode(parent); in gfs2_get_name()
171 struct gfs2_inum_host parent; in gfs2_fh_to_parent() local
179 parent.no_formal_ino = ((u64)be32_to_cpu(fh[4])) << 32; in gfs2_fh_to_parent()
180 parent.no_formal_ino |= be32_to_cpu(fh[5]); in gfs2_fh_to_parent()
181 parent.no_addr = ((u64)be32_to_cpu(fh[6])) << 32; in gfs2_fh_to_parent()
182 parent.no_addr |= be32_to_cpu(fh[7]); in gfs2_fh_to_parent()
183 return gfs2_get_dentry(sb, &parent); in gfs2_fh_to_parent()