Lines Matching refs:fhp
59 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct svc_fh *fhp) in svcxdr_decode_fhandle() argument
66 fh_init(fhp, NFS_FHSIZE); in svcxdr_decode_fhandle()
67 memcpy(&fhp->fh_handle.fh_raw, p, NFS_FHSIZE); in svcxdr_decode_fhandle()
68 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
74 svcxdr_encode_fhandle(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_fhandle() argument
81 memcpy(p, &fhp->fh_handle.fh_raw, NFS_FHSIZE); in svcxdr_encode_fhandle()
122 svcxdr_decode_diropargs(struct xdr_stream *xdr, struct svc_fh *fhp, in svcxdr_decode_diropargs() argument
125 return svcxdr_decode_fhandle(xdr, fhp) && in svcxdr_decode_diropargs()
215 const struct svc_fh *fhp, const struct kstat *stat) in svcxdr_encode_fattr() argument
218 struct dentry *dentry = fhp->fh_dentry; in svcxdr_encode_fattr()
245 switch (fsid_source(fhp)) { in svcxdr_encode_fattr()
247 fsid = (u32)fhp->fh_export->ex_fsid; in svcxdr_encode_fattr()
250 fsid = ((u32 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_encode_fattr()
251 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_encode_fattr()
252 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[2]; in svcxdr_encode_fattr()
253 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[3]; in svcxdr_encode_fattr()