Lines Matching defs:cap
179 xdr_rmtcallargs(XDR *xdrs, struct p_rmtcallargs *cap)
186 if (!xdr_u_int(xdrs, (uint_t *)&(cap->prog)) ||
187 !xdr_u_int(xdrs, (uint_t *)&(cap->vers)) ||
188 !xdr_u_int(xdrs, (uint_t *)&(cap->proc)))
191 IXDR_PUT_U_INT32(buf, cap->prog);
192 IXDR_PUT_U_INT32(buf, cap->vers);
193 IXDR_PUT_U_INT32(buf, cap->proc);
200 if (!xdr_u_int(xdrs, &(cap->args.args_len)))
203 if (!(*cap->xdr_args)(xdrs, cap->args.args_val))
206 cap->args.args_len = position - argposition;
208 if (!xdr_u_int(xdrs, &(cap->args.args_len)))