Lines Matching refs:su
126 struct svcudp_data *su; in svcudp_bufcreate() local
156 su = (struct svcudp_data *) mem_alloc (sizeof (*su)); in svcudp_bufcreate()
158 if (xprt == NULL || su == NULL || buf == NULL) in svcudp_bufcreate()
163 mem_free (su, sizeof (*su)); in svcudp_bufcreate()
167 su->su_iosz = ((MAX (sendsz, recvsz) + 3) / 4) * 4; in svcudp_bufcreate()
169 xdrmem_create (&(su->su_xdrs), rpc_buffer (xprt), su->su_iosz, XDR_DECODE); in svcudp_bufcreate()
170 su->su_cache = NULL; in svcudp_bufcreate()
171 xprt->xp_p2 = (caddr_t) su; in svcudp_bufcreate()
172 xprt->xp_verf.oa_base = su->su_verfbody; in svcudp_bufcreate()
227 struct svcudp_data *su = su_data (xprt); in svcudp_recv() local
228 XDR *xdrs = &(su->su_xdrs); in svcudp_recv()
251 iovp->iov_len = su->su_iosz; in svcudp_recv()
289 (int) su->su_iosz, 0, in svcudp_recv()
304 su->su_xid = msg->rm_xid; in svcudp_recv()
305 if (su->su_cache != NULL) in svcudp_recv()
329 struct svcudp_data *su = su_data (xprt); in svcudp_reply() local
330 XDR *xdrs = &(su->su_xdrs); in svcudp_reply()
340 msg->rm_xid = su->su_xid; in svcudp_reply()
361 if (su->su_cache && slen >= 0) in svcudp_reply()
389 struct svcudp_data *su = su_data (xprt); in svcudp_destroy() local
393 XDR_DESTROY (&(su->su_xdrs)); in svcudp_destroy()
394 mem_free (rpc_buffer (xprt), su->su_iosz); in svcudp_destroy()
395 mem_free ((caddr_t) su, sizeof (struct svcudp_data)); in svcudp_destroy()
476 struct svcudp_data *su = su_data (transp); in svcudp_enablecache() local
479 if (su->su_cache != NULL) in svcudp_enablecache()
507 su->su_cache = (char *) uc; in svcudp_enablecache()
521 struct svcudp_data *su = su_data (xprt); in libc_hidden_nolink_sunrpc() local
522 struct udp_cache *uc = (struct udp_cache *) su->su_cache; in libc_hidden_nolink_sunrpc()
554 newbuf = mem_alloc (su->su_iosz); in libc_hidden_nolink_sunrpc()
569 xdrmem_create (&(su->su_xdrs), rpc_buffer (xprt), su->su_iosz, XDR_ENCODE); in libc_hidden_nolink_sunrpc()
570 victim->cache_xid = su->su_xid; in libc_hidden_nolink_sunrpc()
592 struct svcudp_data *su = su_data (xprt); in cache_get() local
593 struct udp_cache *uc = (struct udp_cache *) su->su_cache; in cache_get()
597 loc = CACHE_LOC (xprt, su->su_xid); in cache_get()
600 if (ent->cache_xid == su->su_xid && in cache_get()