Lines Matching refs:xdr
809 static void rpcb_enc_mapping(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_mapping() argument
815 p = xdr_reserve_space(xdr, RPCB_mappingargs_sz << 2); in rpcb_enc_mapping()
822 static int rpcb_dec_getport(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getport() argument
831 p = xdr_inline_decode(xdr, 4); in rpcb_dec_getport()
843 static int rpcb_dec_set(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_set() argument
849 p = xdr_inline_decode(xdr, 4); in rpcb_dec_set()
859 static void encode_rpcb_string(struct xdr_stream *xdr, const char *string, in encode_rpcb_string() argument
870 p = xdr_reserve_space(xdr, 4 + len); in encode_rpcb_string()
874 static void rpcb_enc_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_getaddr() argument
880 p = xdr_reserve_space(xdr, (RPCB_program_sz + RPCB_version_sz) << 2); in rpcb_enc_getaddr()
884 encode_rpcb_string(xdr, rpcb->r_netid, RPCBIND_MAXNETIDLEN); in rpcb_enc_getaddr()
885 encode_rpcb_string(xdr, rpcb->r_addr, RPCBIND_MAXUADDRLEN); in rpcb_enc_getaddr()
886 encode_rpcb_string(xdr, rpcb->r_owner, RPCB_MAXOWNERLEN); in rpcb_enc_getaddr()
889 static int rpcb_dec_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getaddr() argument
900 p = xdr_inline_decode(xdr, 4); in rpcb_dec_getaddr()
915 p = xdr_inline_decode(xdr, len); in rpcb_dec_getaddr()