Lines Matching refs:parent
149 struct dentry *parent; in ocfs2_get_parent() local
159 parent = ERR_PTR(status); in ocfs2_get_parent()
165 parent = ERR_PTR(-ENOENT); in ocfs2_get_parent()
169 parent = d_obtain_alias(ocfs2_iget(OCFS2_SB(dir->i_sb), blkno, 0, 0)); in ocfs2_get_parent()
175 trace_ocfs2_get_parent_end(parent); in ocfs2_get_parent()
177 return parent; in ocfs2_get_parent()
181 struct inode *parent) in ocfs2_encode_fh() argument
196 if (parent && (len < 6)) { in ocfs2_encode_fh()
216 if (parent) { in ocfs2_encode_fh()
217 blkno = OCFS2_I(parent)->ip_blkno; in ocfs2_encode_fh()
218 generation = parent->i_generation; in ocfs2_encode_fh()
255 struct ocfs2_inode_handle parent; in ocfs2_fh_to_parent() local
260 parent.ih_blkno = (u64)le32_to_cpu(fid->raw[3]) << 32; in ocfs2_fh_to_parent()
261 parent.ih_blkno |= (u64)le32_to_cpu(fid->raw[4]); in ocfs2_fh_to_parent()
262 parent.ih_generation = le32_to_cpu(fid->raw[5]); in ocfs2_fh_to_parent()
263 return ocfs2_get_dentry(sb, &parent); in ocfs2_fh_to_parent()