Home
last modified time | relevance | path

Searched refs:sc_xprt (Results 1 – 7 of 7) sorted by relevance

/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c138 svc_xprt_init(net, &svc_rdma_class, &cma_xprt->sc_xprt, serv); in svc_rdma_create_xprt()
158 set_bit(XPT_CONG_CTRL, &cma_xprt->sc_xprt.xpt_flags); in svc_rdma_create_xprt()
202 newxprt = svc_rdma_create_xprt(listen_xprt->sc_xprt.xpt_server, in handle_connect_req()
203 listen_xprt->sc_xprt.xpt_net); in handle_connect_req()
214 svc_xprt_set_remote(&newxprt->sc_xprt, sa, svc_addr_len(sa)); in handle_connect_req()
219 rpc_set_port((struct sockaddr *)&newxprt->sc_xprt.xpt_remote, 0); in handle_connect_req()
222 svc_xprt_set_local(&newxprt->sc_xprt, sa, svc_addr_len(sa)); in handle_connect_req()
232 set_bit(XPT_CONN, &listen_xprt->sc_xprt.xpt_flags); in handle_connect_req()
233 svc_xprt_enqueue(&listen_xprt->sc_xprt); in handle_connect_req()
270 struct svc_xprt *xprt = &rdma->sc_xprt; in rdma_cma_handler()
[all …]
Dsvc_rdma_recvfrom.c230 svc_xprt_get(&rdma->sc_xprt); in __svc_rdma_post_recv()
239 svc_xprt_put(&rdma->sc_xprt); in __svc_rdma_post_recv()
311 set_bit(XPT_DATA, &rdma->sc_xprt.xpt_flags); in svc_rdma_wc_receive()
314 svc_xprt_enqueue(&rdma->sc_xprt); in svc_rdma_wc_receive()
320 set_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags); in svc_rdma_wc_receive()
321 svc_xprt_enqueue(&rdma->sc_xprt); in svc_rdma_wc_receive()
323 svc_xprt_put(&rdma->sc_xprt); in svc_rdma_wc_receive()
754 container_of(xprt, struct svcxprt_rdma, sc_xprt); in svc_rdma_recvfrom()
Dsvc_rdma_sendto.c273 set_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags); in svc_rdma_wc_send()
274 svc_xprt_enqueue(&rdma->sc_xprt); in svc_rdma_wc_send()
277 svc_xprt_put(&rdma->sc_xprt); in svc_rdma_wc_send()
302 if (test_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags)) in svc_rdma_send()
308 svc_xprt_get(&rdma->sc_xprt); in svc_rdma_send()
312 set_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags); in svc_rdma_send()
313 svc_xprt_put(&rdma->sc_xprt); in svc_rdma_send()
822 container_of(xprt, struct svcxprt_rdma, sc_xprt); in svc_rdma_sendto()
Dsvc_rdma_rw.c129 svc_xprt_get(&rdma->sc_xprt); in svc_rdma_cc_init()
149 svc_xprt_put(&rdma->sc_xprt); in svc_rdma_cc_release()
217 set_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags); in svc_rdma_write_done()
275 set_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags); in svc_rdma_wc_read_done()
282 set_bit(XPT_DATA, &rdma->sc_xprt.xpt_flags); in svc_rdma_wc_read_done()
285 svc_xprt_enqueue(&rdma->sc_xprt); in svc_rdma_wc_read_done()
301 struct svc_xprt *xprt = &rdma->sc_xprt; in svc_rdma_post_chunk_ctxt()
Dsvc_rdma_backchannel.c227 rdma = container_of(sxprt, struct svcxprt_rdma, sc_xprt); in xprt_rdma_bc_send_request()
Dverbs.c851 sc->sc_xprt = r_xprt; in rpcrdma_sendctxs_create()
924 struct rpcrdma_buffer *buf = &sc->sc_xprt->rx_buf; in rpcrdma_sendctx_put_locked()
942 xprt_write_space(&sc->sc_xprt->rx_xprt); in rpcrdma_sendctx_put_locked()
Dxprt_rdma.h227 struct rpcrdma_xprt *sc_xprt; member