Lines Matching refs:fhp
52 * @fhp: OUT: filled-in server file handle
56 * %true: @fhp has been initialized
59 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct svc_fh *fhp)
66 fh_init(fhp, NFS_FHSIZE);
67 memcpy(&fhp->fh_handle.fh_raw, p, NFS_FHSIZE);
68 fhp->fh_handle.fh_size = NFS_FHSIZE;
74 svcxdr_encode_fhandle(struct xdr_stream *xdr, const struct svc_fh *fhp)
81 memcpy(p, &fhp->fh_handle.fh_raw, NFS_FHSIZE);
122 svcxdr_decode_diropargs(struct xdr_stream *xdr, struct svc_fh *fhp,
125 return svcxdr_decode_fhandle(xdr, fhp) &&
206 * @fhp: File handle to encode
215 const struct svc_fh *fhp, const struct kstat *stat)
218 struct dentry *dentry = fhp->fh_dentry;
245 switch (fsid_source(fhp)) {
247 fsid = (u32)fhp->fh_export->ex_fsid;
250 fsid = ((u32 *)fhp->fh_export->ex_uuid)[0];
251 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[1];
252 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[2];
253 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[3];