Lines Matching refs:r_xprt
20 static void rpcrdma_bc_free_rqst(struct rpcrdma_xprt *r_xprt, in rpcrdma_bc_free_rqst() argument
23 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_bc_free_rqst()
30 rpcrdma_destroy_req(&r_xprt->rx_ia, req); in rpcrdma_bc_free_rqst()
35 static int rpcrdma_bc_setup_rqst(struct rpcrdma_xprt *r_xprt, in rpcrdma_bc_setup_rqst() argument
38 struct rpcrdma_ia *ia = &r_xprt->rx_ia; in rpcrdma_bc_setup_rqst()
44 req = rpcrdma_create_req(r_xprt); in rpcrdma_bc_setup_rqst()
76 rpcrdma_bc_free_rqst(r_xprt, rqst); in rpcrdma_bc_setup_rqst()
84 static int rpcrdma_bc_setup_reps(struct rpcrdma_xprt *r_xprt, in rpcrdma_bc_setup_reps() argument
87 struct rpcrdma_buffer *buffers = &r_xprt->rx_buf; in rpcrdma_bc_setup_reps()
93 rep = rpcrdma_create_rep(r_xprt); in rpcrdma_bc_setup_reps()
118 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(xprt); in xprt_rdma_bc_setup() local
119 struct rpcrdma_buffer *buffer = &r_xprt->rx_buf; in xprt_rdma_bc_setup()
144 rqst->rq_xprt = &r_xprt->rx_xprt; in xprt_rdma_bc_setup()
148 if (rpcrdma_bc_setup_rqst(r_xprt, rqst)) in xprt_rdma_bc_setup()
156 rc = rpcrdma_bc_setup_reps(r_xprt, reqs); in xprt_rdma_bc_setup()
160 rc = rpcrdma_ep_post_extra_recv(r_xprt, reqs); in xprt_rdma_bc_setup()
206 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(xprt); in rpcrdma_bc_marshal_reply() local
215 cpu_to_be32(r_xprt->rx_buf.rb_bc_srv_max_requests); in rpcrdma_bc_marshal_reply()
249 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(xprt); in xprt_rdma_bc_destroy() local
257 rpcrdma_bc_free_rqst(r_xprt, rqst); in xprt_rdma_bc_destroy()
296 void rpcrdma_bc_receive_call(struct rpcrdma_xprt *r_xprt, in rpcrdma_bc_receive_call() argument
299 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_bc_receive_call()
375 r_xprt->rx_stats.bcall_count++; in rpcrdma_bc_receive_call()
389 if (rpcrdma_ep_post_recv(&r_xprt->rx_ia, &r_xprt->rx_ep, rep)) in rpcrdma_bc_receive_call()