Searched refs:rpc_buffer (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | svc_udp.c | 55 #define rpc_buffer(xprt) ((xprt)->xp_p1) macro 150 if ((rpc_buffer(xprt) = (char *)mem_alloc(su->su_iosz)) == NULL) { 159 &(su->su_xdrs), rpc_buffer(xprt), su->su_iosz, XDR_DECODE); 201 rlen = _recvfrom(xprt->xp_sock, rpc_buffer(xprt), (int) su->su_iosz, 238 if (_sendto(xprt->xp_sock, rpc_buffer(xprt), slen, 0, 281 mem_free(rpc_buffer(xprt), su->su_iosz); 452 victim->cache_reply = rpc_buffer(xprt); 453 rpc_buffer(xprt) = newbuf; 454 xdrmem_create(&(su->su_xdrs), rpc_buffer(xprt),
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_dg.c | 70 #define rpc_buffer(xprt) ((xprt)->xp_p1) macro 115 if (rpc_buffer(xprt)) in svc_dg_xprtfree() 116 free(rpc_buffer(xprt)); in svc_dg_xprtfree() 158 if ((rpc_buffer(xprt) = malloc(su->su_iosz)) == NULL) in svc_dg_create_private() 170 su->su_tudata.udata.buf = (char *)rpc_buffer(xprt); in svc_dg_create_private() 250 if ((rpc_buffer(xprt) = malloc(su->su_iosz)) == NULL) { in svc_dg_xprtcopy() 259 su->su_tudata.udata.buf = (char *)rpc_buffer(xprt); in svc_dg_xprtcopy() 432 tu_data->udata.buf = (char *)rpc_buffer(xprt); in svc_dg_recv() 839 victim->cache_reply = rpc_buffer(xprt); in cache_set() 840 rpc_buffer(xprt) = newbuf; in cache_set() [all …]
|