Lines Matching refs:rqstp
288 static int send_write(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp, in send_write() argument
331 dma_map_xdr(xprt, &rqstp->rq_res, xdr_off, in send_write()
380 struct svc_rqst *rqstp, in send_write_chunks() argument
383 u32 xfer_len = rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
405 for (xdr_off = rqstp->rq_res.head[0].iov_len, chunk_no = 0; in send_write_chunks()
425 ret = send_write(xprt, rqstp, in send_write_chunks()
445 return rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
451 struct svc_rqst *rqstp, in send_reply_chunks() argument
454 u32 xfer_len = rqstp->rq_res.len; in send_reply_chunks()
499 ret = send_write(xprt, rqstp, in send_reply_chunks()
519 return rqstp->rq_res.len; in send_reply_chunks()
539 struct svc_rqst *rqstp, in send_reply() argument
594 dma_map_xdr(rdma, &rqstp->rq_res, xdr_off, in send_reply()
615 pages = rqstp->rq_next_page - rqstp->rq_respages; in send_reply()
617 ctxt->pages[page_no+1] = rqstp->rq_respages[page_no]; in send_reply()
619 rqstp->rq_respages[page_no] = NULL; in send_reply()
659 void svc_rdma_prep_reply_hdr(struct svc_rqst *rqstp) in svc_rdma_prep_reply_hdr() argument
675 int svc_rdma_sendto(struct svc_rqst *rqstp) in svc_rdma_sendto() argument
677 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_sendto()
690 dprintk("svcrdma: sending response for rqstp=%p\n", rqstp); in svc_rdma_sendto()
693 rdma_argp = xdr_start(&rqstp->rq_arg); in svc_rdma_sendto()
699 ret = map_xdr(rdma, &rqstp->rq_res, vec); in svc_rdma_sendto()
702 inline_bytes = rqstp->rq_res.len; in svc_rdma_sendto()
717 rqstp, vec); in svc_rdma_sendto()
727 rqstp, vec); in svc_rdma_sendto()
735 ret = send_reply(rdma, rqstp, res_page, rdma_resp, ctxt, vec, in svc_rdma_sendto()