Lines Matching defs:clp
80 struct clnt_raw_private *clp;
85 /* VARIABLES PROTECTED BY clntraw_lock: clp */
88 clp = clnt_raw_private;
89 if (clp == NULL) {
90 clp = calloc(1, sizeof (*clp));
91 if (clp == NULL) {
100 if (clp)
101 free(clp);
106 clp->raw_buf = _rawcombuf; /* Share it with the server */
107 clnt_raw_private = clp;
109 xdrs = &clp->xdr_stream;
110 client = &clp->client_object;
119 xdrmem_create(xdrs, clp->mashl_callmsg, MCALL_MSG_SIZE, XDR_ENCODE);
125 clp->mcnt = XDR_GETPOS(xdrs);
131 xdrmem_create(xdrs, clp->raw_buf, UDPMSGSIZE, XDR_FREE);
147 struct clnt_raw_private *clp;
154 clp = clnt_raw_private;
155 xdrs = &clp->xdr_stream;
156 if (clp == NULL) {
169 ((struct rpc_msg *)clp->mashl_callmsg)->rm_xid++;
170 if ((!XDR_PUTBYTES(xdrs, clp->mashl_callmsg, clp->mcnt)) ||
230 struct clnt_raw_private *clp;
234 clp = clnt_raw_private;
235 xdrs = &clp->xdr_stream;
236 if (clp == NULL) {
248 ((struct rpc_msg *)clp->mashl_callmsg)->rm_xid++;
249 if ((!XDR_PUTBYTES(xdrs, clp->mashl_callmsg, clp->mcnt)) ||
276 struct clnt_raw_private *clp;
280 clp = clnt_raw_private;
281 xdrs = &clp->xdr_stream;
282 if (clp == NULL) {