Lines Matching refs:rqstp

215 static int send_write(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp,  in send_write()  argument
261 dma_map_xdr(xprt, &rqstp->rq_res, xdr_off, in send_write()
308 struct svc_rqst *rqstp, in send_write_chunks() argument
311 u32 xfer_len = rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
329 for (xdr_off = rqstp->rq_res.head[0].iov_len, chunk_no = 0; in send_write_chunks()
347 ret = send_write(xprt, rqstp, in send_write_chunks()
367 return rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
373 struct svc_rqst *rqstp, in send_reply_chunks() argument
376 u32 xfer_len = rqstp->rq_res.len; in send_reply_chunks()
412 ret = send_write(xprt, rqstp, in send_reply_chunks()
432 return rqstp->rq_res.len; in send_reply_chunks()
452 struct svc_rqst *rqstp, in send_reply() argument
500 dma_map_xdr(rdma, &rqstp->rq_res, xdr_off, in send_reply()
519 pages = rqstp->rq_next_page - rqstp->rq_respages; in send_reply()
521 ctxt->pages[page_no+1] = rqstp->rq_respages[page_no]; in send_reply()
523 rqstp->rq_respages[page_no] = NULL; in send_reply()
532 rqstp->rq_next_page = rqstp->rq_respages + 1; in send_reply()
565 void svc_rdma_prep_reply_hdr(struct svc_rqst *rqstp) in svc_rdma_prep_reply_hdr() argument
569 int svc_rdma_sendto(struct svc_rqst *rqstp) in svc_rdma_sendto() argument
571 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_sendto()
584 dprintk("svcrdma: sending response for rqstp=%p\n", rqstp); in svc_rdma_sendto()
589 rdma_argp = page_address(rqstp->rq_pages[0]); in svc_rdma_sendto()
595 ret = map_xdr(rdma, &rqstp->rq_res, vec); in svc_rdma_sendto()
598 inline_bytes = rqstp->rq_res.len; in svc_rdma_sendto()
613 rqstp, vec); in svc_rdma_sendto()
623 rqstp, vec); in svc_rdma_sendto()
631 ret = send_reply(rdma, rqstp, res_page, rdma_resp, ctxt, vec, in svc_rdma_sendto()