Lines Matching refs:fhp
28 decode_fh(__be32 *p, struct svc_fh *fhp) in decode_fh() argument
30 fh_init(fhp, NFS_FHSIZE); in decode_fh()
31 memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE); in decode_fh()
32 fhp->fh_handle.fh_size = NFS_FHSIZE; in decode_fh()
40 __be32 *nfs2svc_decode_fh(__be32 *p, struct svc_fh *fhp) in nfs2svc_decode_fh() argument
42 return decode_fh(p, fhp); in nfs2svc_decode_fh()
46 encode_fh(__be32 *p, struct svc_fh *fhp) in encode_fh() argument
48 memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE); in encode_fh()
144 encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, in encode_fattr() argument
147 struct dentry *dentry = fhp->fh_dentry; in encode_fattr()
171 switch (fsid_source(fhp)) { in encode_fattr()
177 *p++ = htonl((u32) fhp->fh_export->ex_fsid); in encode_fattr()
180 f = ((u32*)fhp->fh_export->ex_uuid)[0]; in encode_fattr()
181 f ^= ((u32*)fhp->fh_export->ex_uuid)[1]; in encode_fattr()
182 f ^= ((u32*)fhp->fh_export->ex_uuid)[2]; in encode_fattr()
183 f ^= ((u32*)fhp->fh_export->ex_uuid)[3]; in encode_fattr()
200 __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *s… in nfs2svc_encode_fattr() argument
202 return encode_fattr(rqstp, p, fhp, stat); in nfs2svc_encode_fattr()