Lines Matching refs:parent
32 struct inode *parent) in gfs2_encode_fh() argument
38 if (parent && (*len < GFS2_LARGE_FH_SIZE)) { in gfs2_encode_fh()
52 if (!parent || inode == d_inode(sb->s_root)) in gfs2_encode_fh()
55 ip = GFS2_I(parent); in gfs2_encode_fh()
88 static int gfs2_get_name(struct dentry *parent, char *name, in gfs2_get_name() argument
91 struct inode *dir = d_inode(parent); in gfs2_get_name()
183 struct gfs2_inum_host parent; in gfs2_fh_to_parent() local
191 parent.no_formal_ino = ((u64)be32_to_cpu(fh[4])) << 32; in gfs2_fh_to_parent()
192 parent.no_formal_ino |= be32_to_cpu(fh[5]); in gfs2_fh_to_parent()
193 parent.no_addr = ((u64)be32_to_cpu(fh[6])) << 32; in gfs2_fh_to_parent()
194 parent.no_addr |= be32_to_cpu(fh[7]); in gfs2_fh_to_parent()
195 return gfs2_get_dentry(sb, &parent); in gfs2_fh_to_parent()