Lines Matching refs:req
25 struct rpcrdma_req *req = rpcr_to_rdmar(rqst); in rpcrdma_bc_free_rqst() local
28 list_del(&req->rl_all); in rpcrdma_bc_free_rqst()
31 rpcrdma_destroy_req(req); in rpcrdma_bc_free_rqst()
40 struct rpcrdma_req *req; in rpcrdma_bc_setup_rqst() local
43 req = rpcrdma_create_req(r_xprt); in rpcrdma_bc_setup_rqst()
44 if (IS_ERR(req)) in rpcrdma_bc_setup_rqst()
45 return PTR_ERR(req); in rpcrdma_bc_setup_rqst()
46 req->rl_backchannel = true; in rpcrdma_bc_setup_rqst()
52 req->rl_rdmabuf = rb; in rpcrdma_bc_setup_rqst()
53 xdr_buf_init(&req->rl_hdrbuf, rb->rg_base, rdmab_length(rb)); in rpcrdma_bc_setup_rqst()
59 req->rl_sendbuf = rb; in rpcrdma_bc_setup_rqst()
62 rpcrdma_set_xprtdata(rqst, req); in rpcrdma_bc_setup_rqst()
200 struct rpcrdma_req *req = rpcr_to_rdmar(rqst); in rpcrdma_bc_marshal_reply() local
203 rpcrdma_set_xdrlen(&req->rl_hdrbuf, 0); in rpcrdma_bc_marshal_reply()
204 xdr_init_encode(&req->rl_stream, &req->rl_hdrbuf, in rpcrdma_bc_marshal_reply()
205 req->rl_rdmabuf->rg_base); in rpcrdma_bc_marshal_reply()
207 p = xdr_reserve_space(&req->rl_stream, 28); in rpcrdma_bc_marshal_reply()
218 if (!rpcrdma_prepare_send_sges(&r_xprt->rx_ia, req, RPCRDMA_HDRLEN_MIN, in rpcrdma_bc_marshal_reply()
283 struct rpcrdma_req *req; in rpcrdma_bc_receive_call() local
329 req = rpcr_to_rdmar(rqst); in rpcrdma_bc_receive_call()
331 __func__, rep, req); in rpcrdma_bc_receive_call()
332 req->rl_reply = rep; in rpcrdma_bc_receive_call()
335 req->rl_connect_cookie = 0; in rpcrdma_bc_receive_call()