Searched refs:rctxt (Results 1 – 5 of 5) sorted by relevance
/net/sunrpc/xprtrdma/ |
D | svc_rdma_recvfrom.c | 416 static bool xdr_count_read_segments(struct svc_rdma_recv_ctxt *rctxt, __be32 *p) in xdr_count_read_segments() argument 418 rctxt->rc_call_pcl.cl_count = 0; in xdr_count_read_segments() 419 rctxt->rc_read_pcl.cl_count = 0; in xdr_count_read_segments() 424 p = xdr_inline_decode(&rctxt->rc_stream, in xdr_count_read_segments() 434 ++rctxt->rc_read_pcl.cl_count; in xdr_count_read_segments() 436 ++rctxt->rc_call_pcl.cl_count; in xdr_count_read_segments() 439 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_count_read_segments() 458 static bool xdr_check_read_list(struct svc_rdma_recv_ctxt *rctxt) in xdr_check_read_list() argument 462 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_check_read_list() 465 if (!xdr_count_read_segments(rctxt, p)) in xdr_check_read_list() [all …]
|
D | svc_rdma_sendto.c | 441 static ssize_t svc_rdma_encode_write_list(struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_encode_write_list() argument 448 pcl_for_each_chunk(chunk, &rctxt->rc_write_pcl) { in svc_rdma_encode_write_list() 476 svc_rdma_encode_reply_chunk(struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_encode_reply_chunk() argument 482 if (pcl_is_empty(&rctxt->rc_reply_pcl)) in svc_rdma_encode_reply_chunk() 485 chunk = pcl_first_chunk(&rctxt->rc_reply_pcl); in svc_rdma_encode_reply_chunk() 652 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_pull_up_needed() argument 662 ret = pcl_process_nonpayloads(&rctxt->rc_write_pcl, xdr, in svc_rdma_pull_up_needed() 733 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_pull_up_reply_msg() argument 741 ret = pcl_process_nonpayloads(&rctxt->rc_write_pcl, xdr, in svc_rdma_pull_up_reply_msg() 766 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_map_reply_msg() argument [all …]
|
D | svc_rdma_pcl.c | 68 static void pcl_set_read_segment(const struct svc_rdma_recv_ctxt *rctxt, in pcl_set_read_segment() argument 79 trace_svcrdma_decode_rseg(&rctxt->rc_cid, chunk, segment); in pcl_set_read_segment() 102 bool pcl_alloc_call(struct svc_rdma_recv_ctxt *rctxt, __be32 *p) in pcl_alloc_call() argument 104 struct svc_rdma_pcl *pcl = &rctxt->rc_call_pcl; in pcl_alloc_call() 130 pcl_set_read_segment(rctxt, chunk, handle, length, offset); in pcl_alloc_call() 156 bool pcl_alloc_read(struct svc_rdma_recv_ctxt *rctxt, __be32 *p) in pcl_alloc_read() argument 158 struct svc_rdma_pcl *pcl = &rctxt->rc_read_pcl; in pcl_alloc_read() 181 pcl_set_read_segment(rctxt, chunk, handle, length, offset); in pcl_alloc_read() 201 bool pcl_alloc_write(struct svc_rdma_recv_ctxt *rctxt, in pcl_alloc_write() argument 223 trace_svcrdma_decode_wseg(&rctxt->rc_cid, chunk, j); in pcl_alloc_write()
|
D | svc_rdma_backchannel.c | 20 struct svc_rdma_recv_ctxt *rctxt) in svc_rdma_handle_bc_reply() argument 27 __be32 *rdma_resp = rctxt->rc_recv_buf; in svc_rdma_handle_bc_reply() 79 struct svc_rdma_recv_ctxt *rctxt; in svc_rdma_bc_sendto() local 82 rctxt = svc_rdma_recv_ctxt_get(rdma); in svc_rdma_bc_sendto() 83 if (!rctxt) in svc_rdma_bc_sendto() 86 ret = svc_rdma_map_reply_msg(rdma, sctxt, rctxt, &rqst->rq_snd_buf); in svc_rdma_bc_sendto() 87 svc_rdma_recv_ctxt_put(rdma, rctxt); in svc_rdma_bc_sendto()
|
D | svc_rdma_rw.c | 634 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_send_reply_chunk() argument 642 if (pcl_is_empty(&rctxt->rc_reply_pcl)) in svc_rdma_send_reply_chunk() 645 chunk = pcl_first_chunk(&rctxt->rc_reply_pcl); in svc_rdma_send_reply_chunk() 651 ret = pcl_process_nonpayloads(&rctxt->rc_write_pcl, xdr, in svc_rdma_send_reply_chunk()
|