Home
last modified time | relevance | path

Searched refs:xp_socket (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/rpc/
H A Dsvc_dg.c121 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()
[all …]
H A Dsvc_vc.c227 xprt->xp_socket = so; in svc_vc_create()
298 xprt->xp_socket = so; in svc_vc_create_conn()
355 xprt->xp_socket = NULL; in svc_vc_create_backchannel()
425 error = svc_vc_accept(xprt->xp_socket, &so); in svc_vc_rendezvous_recv()
434 SOLISTEN_LOCK(xprt->xp_socket); in svc_vc_rendezvous_recv()
435 if (TAILQ_EMPTY(&xprt->xp_socket->sol_comp)) in svc_vc_rendezvous_recv()
437 SOLISTEN_UNLOCK(xprt->xp_socket); in svc_vc_rendezvous_recv()
443 SOLISTEN_LOCK(xprt->xp_socket); in svc_vc_rendezvous_recv()
446 soupcall_clear(xprt->xp_socket, SO_RCV); in svc_vc_rendezvous_recv()
448 SOLISTEN_UNLOCK(xprt->xp_socket); in svc_vc_rendezvous_recv()
[all …]
H A Dclnt_bck.c316 error = sosend(xprt->xp_socket, NULL, NULL, mreq, NULL, 0, curthread); in clnt_bck_call()
321 SOCK_SENDBUF_LOCK(xprt->xp_socket); in clnt_bck_call()
322 sbwait(xprt->xp_socket, SO_SND); in clnt_bck_call()
323 SOCK_SENDBUF_UNLOCK(xprt->xp_socket); in clnt_bck_call()
H A Dsvc.c204 if (xprt->xp_socket != NULL) in svcpool_cleanup()
205 soshutdown(xprt->xp_socket, SHUT_WR); in svcpool_cleanup()
391 if (xprt->xp_socket != NULL) in xprt_unregister()
392 soshutdown(xprt->xp_socket, SHUT_WR); in xprt_unregister()
999 xprt->xp_socket != NULL && in svc_getreq()
1001 if (xprt->xp_socket->so_proto->pr_protocol == in svc_getreq()
1005 (void)so_setsockopt(xprt->xp_socket, in svc_getreq()
1101 soshutdown(xprt->xp_socket, SHUT_WR); in svc_checkidle()
H A Dsvc_generic.c317 xprt->xp_socket = NULL; in svc_tli_create()
H A Dsvc.h164 struct socket* xp_socket; member
H A Dclnt_rc.c575 KASSERT(xprt->xp_socket == NULL, in clnt_reconnect_destroy()
/freebsd/sys/rpc/rpcsec_tls/
H A Drpctls_impl.c806 stat = rpctls_server(xprt, xprt->xp_socket, &flags, in _svcauth_rpcsec_tls()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c696 clnt_bck_create(nd->nd_xprt->xp_socket, in nfsrv_getclient()
6499 clnt_bck_create(nd->nd_xprt->xp_socket, in nfsrv_bindconnsess()