Lines Matching refs:fhp
29 decode_fh(__be32 *p, struct svc_fh *fhp)
31 fh_init(fhp, NFS_FHSIZE);
32 memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE);
33 fhp->fh_handle.fh_size = NFS_FHSIZE;
41 __be32 *nfs2svc_decode_fh(__be32 *p, struct svc_fh *fhp)
43 return decode_fh(p, fhp);
47 encode_fh(__be32 *p, struct svc_fh *fhp)
49 memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE);
129 encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp,
133 struct dentry *dentry = fhp->fh_dentry;
157 switch (fsid_source(fhp)) {
163 *p++ = htonl((u32) fhp->fh_export->ex_fsid);
166 f = ((u32*)fhp->fh_export->ex_uuid)[0];
167 f ^= ((u32*)fhp->fh_export->ex_uuid)[1];
168 f ^= ((u32*)fhp->fh_export->ex_uuid)[2];
169 f ^= ((u32*)fhp->fh_export->ex_uuid)[3];
187 __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat)
189 return encode_fattr(rqstp, p, fhp, stat);