Lines Matching defs:xdrs
51 xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg)
56 if (xdrs->x_op == XDR_ENCODE) {
61 buf = XDR_INLINE(xdrs, 8 * BYTES_PER_XDR_UNIT
97 if (xdrs->x_op == XDR_DECODE) {
98 buf = XDR_INLINE(xdrs, 8 * BYTES_PER_XDR_UNIT);
125 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length));
127 if (xdr_opaque(xdrs, oa->oa_base,
141 buf = XDR_INLINE(xdrs, 2 * BYTES_PER_XDR_UNIT);
143 if (xdr_enum(xdrs, &oa->oa_flavor) == FALSE ||
144 xdr_u_int(xdrs, &oa->oa_length) == FALSE)
162 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length));
164 if (xdr_opaque(xdrs, oa->oa_base,
180 if (xdr_u_int(xdrs, &(cmsg->rm_xid)) &&
181 xdr_enum(xdrs, (enum_t *)&(cmsg->rm_direction)) &&
183 xdr_u_int(xdrs, (uint_t *)&(cmsg->rm_call.cb_rpcvers)) &&
185 xdr_u_int(xdrs, (uint_t *)&(cmsg->rm_call.cb_prog)) &&
186 xdr_u_int(xdrs, (uint_t *)&(cmsg->rm_call.cb_vers)) &&
187 xdr_u_int(xdrs, (uint_t *)&(cmsg->rm_call.cb_proc)) &&
188 xdr_opaque_auth(xdrs, &(cmsg->rm_call.cb_cred))) {
189 return (xdr_opaque_auth(xdrs, &(cmsg->rm_call.cb_verf)));