Lines Matching refs:r_xprt
27 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(xprt); in xprt_rdma_bc_setup() local
29 r_xprt->rx_buf.rb_bc_srv_max_requests = RPCRDMA_BACKWARD_WRS >> 1; in xprt_rdma_bc_setup()
30 trace_xprtrdma_cb_setup(r_xprt, reqs); in xprt_rdma_bc_setup()
42 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(xprt); in xprt_rdma_bc_maxpayload() local
43 struct rpcrdma_ep *ep = r_xprt->rx_ep; in xprt_rdma_bc_maxpayload()
58 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(rqst->rq_xprt); in rpcrdma_bc_marshal_reply() local
71 *p++ = cpu_to_be32(r_xprt->rx_buf.rb_bc_srv_max_requests); in rpcrdma_bc_marshal_reply()
77 if (rpcrdma_prepare_send_sges(r_xprt, req, RPCRDMA_HDRLEN_MIN, in rpcrdma_bc_marshal_reply()
81 trace_xprtrdma_cb_reply(r_xprt, rqst); in rpcrdma_bc_marshal_reply()
100 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(xprt); in xprt_rdma_bc_send_reply() local
114 if (frwr_send(r_xprt, req)) in xprt_rdma_bc_send_reply()
156 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(xprt); in xprt_rdma_bc_free_rqst() local
158 rpcrdma_rep_put(&r_xprt->rx_buf, rep); in xprt_rdma_bc_free_rqst()
167 static struct rpc_rqst *rpcrdma_bc_rqst_get(struct rpcrdma_xprt *r_xprt) in rpcrdma_bc_rqst_get() argument
169 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_bc_rqst_get()
191 size = min_t(size_t, r_xprt->rx_ep->re_inline_recv, PAGE_SIZE); in rpcrdma_bc_rqst_get()
192 req = rpcrdma_req_create(r_xprt, size); in rpcrdma_bc_rqst_get()
195 if (rpcrdma_req_setup(r_xprt, req)) { in rpcrdma_bc_rqst_get()
219 void rpcrdma_bc_receive_call(struct rpcrdma_xprt *r_xprt, in rpcrdma_bc_receive_call() argument
222 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_bc_receive_call()
239 rqst = rpcrdma_bc_rqst_get(r_xprt); in rpcrdma_bc_receive_call()
261 trace_xprtrdma_cb_call(r_xprt, rqst); in rpcrdma_bc_receive_call()
272 r_xprt->rx_stats.bcall_count++; in rpcrdma_bc_receive_call()