• Home
  • Raw
  • Download

Lines Matching refs:rqstp

243 void svc_rdma_release_rqst(struct svc_rqst *rqstp)  in svc_rdma_release_rqst()  argument
245 struct svc_rdma_recv_ctxt *ctxt = rqstp->rq_xprt_ctxt; in svc_rdma_release_rqst()
246 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_release_rqst()
250 rqstp->rq_xprt_ctxt = NULL; in svc_rdma_release_rqst()
373 static void svc_rdma_build_arg_xdr(struct svc_rqst *rqstp, in svc_rdma_build_arg_xdr() argument
376 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr()
692 static void rdma_read_complete(struct svc_rqst *rqstp, in rdma_read_complete() argument
701 put_page(rqstp->rq_pages[page_no]); in rdma_read_complete()
702 rqstp->rq_pages[page_no] = head->rc_pages[page_no]; in rdma_read_complete()
707 rqstp->rq_arg.pages = &rqstp->rq_pages[head->rc_hdr_count]; in rdma_read_complete()
708 rqstp->rq_arg.page_len = head->rc_arg.page_len; in rdma_read_complete()
711 rqstp->rq_respages = &rqstp->rq_pages[page_no]; in rdma_read_complete()
712 rqstp->rq_next_page = rqstp->rq_respages + 1; in rdma_read_complete()
715 rqstp->rq_arg.head[0] = head->rc_arg.head[0]; in rdma_read_complete()
716 rqstp->rq_arg.tail[0] = head->rc_arg.tail[0]; in rdma_read_complete()
717 rqstp->rq_arg.len = head->rc_arg.len; in rdma_read_complete()
718 rqstp->rq_arg.buflen = head->rc_arg.buflen; in rdma_read_complete()
797 int svc_rdma_recvfrom(struct svc_rqst *rqstp) in svc_rdma_recvfrom() argument
799 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_recvfrom()
806 rqstp->rq_xprt_ctxt = NULL; in svc_rdma_recvfrom()
813 rdma_read_complete(rqstp, ctxt); in svc_rdma_recvfrom()
828 svc_rdma_build_arg_xdr(rqstp, ctxt); in svc_rdma_recvfrom()
833 rqstp->rq_respages = rqstp->rq_pages; in svc_rdma_recvfrom()
834 rqstp->rq_next_page = rqstp->rq_respages; in svc_rdma_recvfrom()
836 p = (__be32 *)rqstp->rq_arg.head[0].iov_base; in svc_rdma_recvfrom()
837 ret = svc_rdma_xdr_decode_req(&rqstp->rq_arg, ctxt); in svc_rdma_recvfrom()
842 rqstp->rq_xprt_hlen = ret; in svc_rdma_recvfrom()
854 rqstp->rq_xprt_ctxt = ctxt; in svc_rdma_recvfrom()
855 rqstp->rq_prot = IPPROTO_MAX; in svc_rdma_recvfrom()
856 svc_xprt_copy_addrs(rqstp, xprt); in svc_rdma_recvfrom()
857 return rqstp->rq_arg.len; in svc_rdma_recvfrom()
860 ret = svc_rdma_recv_read_chunk(rdma_xprt, rqstp, ctxt, p); in svc_rdma_recvfrom()
877 svc_rdma_handle_bc_reply(rqstp, ctxt); in svc_rdma_recvfrom()