Lines Matching refs:xdr
547 static __be32 encode_ascii_id(struct xdr_stream *xdr, u32 id) in encode_ascii_id() argument
554 p = xdr_reserve_space(xdr, len + 4); in encode_ascii_id()
561 static __be32 idmap_id_to_name(struct xdr_stream *xdr, in idmap_id_to_name() argument
575 return encode_ascii_id(xdr, id); in idmap_id_to_name()
580 p = xdr_reserve_space(xdr, ret + 4); in idmap_id_to_name()
617 static __be32 encode_name_from_id(struct xdr_stream *xdr, in encode_name_from_id() argument
621 return encode_ascii_id(xdr, id); in encode_name_from_id()
622 return idmap_id_to_name(xdr, rqstp, type, id); in encode_name_from_id()
651 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user() argument
655 return encode_name_from_id(xdr, rqstp, IDMAP_TYPE_USER, id); in nfsd4_encode_user()
658 __be32 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_group() argument
662 return encode_name_from_id(xdr, rqstp, IDMAP_TYPE_GROUP, id); in nfsd4_encode_group()