Lines Matching refs:req
63 struct rpcrdma_req *req = rpcr_to_rdmar(rqst); in rpcrdma_bc_marshal_reply() local
66 rpcrdma_set_xdrlen(&req->rl_hdrbuf, 0); in rpcrdma_bc_marshal_reply()
67 xdr_init_encode(&req->rl_stream, &req->rl_hdrbuf, in rpcrdma_bc_marshal_reply()
68 rdmab_data(req->rl_rdmabuf), rqst); in rpcrdma_bc_marshal_reply()
70 p = xdr_reserve_space(&req->rl_stream, 28); in rpcrdma_bc_marshal_reply()
81 if (rpcrdma_prepare_send_sges(r_xprt, req, RPCRDMA_HDRLEN_MIN, in rpcrdma_bc_marshal_reply()
105 struct rpcrdma_req *req = rpcr_to_rdmar(rqst); in xprt_rdma_bc_send_reply() local
118 if (rpcrdma_ep_post(&r_xprt->rx_ia, &r_xprt->rx_ep, req)) in xprt_rdma_bc_send_reply()
157 struct rpcrdma_req *req = rpcr_to_rdmar(rqst); in xprt_rdma_bc_free_rqst() local
160 rpcrdma_recv_buffer_put(req->rl_reply); in xprt_rdma_bc_free_rqst()
161 req->rl_reply = NULL; in xprt_rdma_bc_free_rqst()
172 struct rpcrdma_req *req; in rpcrdma_bc_rqst_get() local
194 req = rpcrdma_req_create(r_xprt, size, GFP_KERNEL); in rpcrdma_bc_rqst_get()
195 if (!req) in rpcrdma_bc_rqst_get()
199 rqst = &req->rl_slot; in rpcrdma_bc_rqst_get()
202 xdr_buf_init(&rqst->rq_snd_buf, rdmab_data(req->rl_sendbuf), size); in rpcrdma_bc_rqst_get()
222 struct rpcrdma_req *req; in rpcrdma_bc_receive_call() local
257 req = rpcr_to_rdmar(rqst); in rpcrdma_bc_receive_call()
258 req->rl_reply = rep; in rpcrdma_bc_receive_call()