Lines Matching defs:fid
214 static int ovl_dentry_to_fid(struct dentry *dentry, u32 *fid, int buflen)
236 memcpy(fid, fh, len);
249 static int ovl_encode_fh(struct inode *inode, u32 *fid, int *max_len,
263 bytes = ovl_dentry_to_fid(dentry, fid, buflen);
772 static struct ovl_fh *ovl_fid_to_fh(struct fid *fid, int buflen, int fh_type)
776 /* If on-wire inner fid is aligned - nothing to do */
778 return (struct ovl_fh *)fid;
791 memcpy(&fh->fb, fid, buflen - OVL_FH_WIRE_OFFSET);
795 static struct dentry *ovl_fh_to_dentry(struct super_block *sb, struct fid *fid,
804 fh = ovl_fid_to_fh(fid, len, fh_type);
823 if (!IS_ERR_OR_NULL(fh) && fh != (void *)fid)
835 static struct dentry *ovl_fh_to_parent(struct super_block *sb, struct fid *fid,