Lines Matching defs:fid
348 * @fid: where to store the file handle fragment
357 static int export_encode_fh(struct inode *inode, struct fid *fid,
372 fid->i32.ino = inode->i_ino;
373 fid->i32.gen = inode->i_generation;
375 fid->i32.parent_ino = parent->i_ino;
376 fid->i32.parent_gen = parent->i_generation;
387 * @fid: where to store the file handle fragment
394 int exportfs_encode_inode_fh(struct inode *inode, struct fid *fid,
407 return nop->encode_fh(inode, fid->raw, max_len, parent);
409 return export_encode_fh(inode, fid, max_len, parent);
416 * @fid: where to store the file handle fragment
422 int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len,
438 error = exportfs_encode_inode_fh(inode, fid, max_len, parent, flags);
446 exportfs_decode_fh_raw(struct vfsmount *mnt, struct fid *fid, int fh_len,
461 result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type);
522 target_dir = nop->fh_to_parent(mnt->mnt_sb, fid,
594 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
601 ret = exportfs_decode_fh_raw(mnt, fid, fh_len, fileid_type,