Lines Matching refs:fid
350 * @fid: where to store the file handle fragment
356 static int exportfs_encode_ino64_fid(struct inode *inode, struct fid *fid,
364 fid->i64.ino = inode->i_ino;
365 fid->i64.gen = inode->i_generation;
374 * @fid: where to store the file handle fragment
381 int exportfs_encode_inode_fh(struct inode *inode, struct fid *fid,
390 return exportfs_encode_ino64_fid(inode, fid, max_len);
392 return nop->encode_fh(inode, fid->raw, max_len, parent);
399 * @fid: where to store the file handle fragment
405 int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len,
421 error = exportfs_encode_inode_fh(inode, fid, max_len, parent, flags);
429 exportfs_decode_fh_raw(struct vfsmount *mnt, struct fid *fid, int fh_len,
444 result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type);
505 target_dir = nop->fh_to_parent(mnt->mnt_sb, fid,
577 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
584 ret = exportfs_decode_fh_raw(mnt, fid, fh_len, fileid_type,