Lines Matching refs:xp_socket
121 xprt->xp_socket = so; in svc_dg_create()
150 if (soreadable(xprt->xp_socket)) in svc_dg_stat()
182 error = soreceive(xprt->xp_socket, &raddr, &uio, &mreq, NULL, &rcvflag); in svc_dg_recv()
193 SOCK_RECVBUF_LOCK(xprt->xp_socket); in svc_dg_recv()
194 if (!soreadable(xprt->xp_socket)) in svc_dg_recv()
196 SOCK_RECVBUF_UNLOCK(xprt->xp_socket); in svc_dg_recv()
202 SOCK_RECVBUF_LOCK(xprt->xp_socket); in svc_dg_recv()
203 soupcall_clear(xprt->xp_socket, SO_RCV); in svc_dg_recv()
204 SOCK_RECVBUF_UNLOCK(xprt->xp_socket); in svc_dg_recv()
250 error = sosend(xprt->xp_socket, addr, NULL, mrep, NULL, in svc_dg_reply()
269 SOCK_RECVBUF_LOCK(xprt->xp_socket); in svc_dg_destroy()
270 soupcall_clear(xprt->xp_socket, SO_RCV); in svc_dg_destroy()
271 SOCK_RECVBUF_UNLOCK(xprt->xp_socket); in svc_dg_destroy()
274 if (xprt->xp_socket) in svc_dg_destroy()
275 (void)soclose(xprt->xp_socket); in svc_dg_destroy()