Home
last modified time | relevance | path

Searched refs:rctxt (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c417 static bool xdr_count_read_segments(struct svc_rdma_recv_ctxt *rctxt, __be32 *p) in xdr_count_read_segments() argument
419 rctxt->rc_call_pcl.cl_count = 0; in xdr_count_read_segments()
420 rctxt->rc_read_pcl.cl_count = 0; in xdr_count_read_segments()
425 p = xdr_inline_decode(&rctxt->rc_stream, in xdr_count_read_segments()
435 ++rctxt->rc_read_pcl.cl_count; in xdr_count_read_segments()
437 ++rctxt->rc_call_pcl.cl_count; in xdr_count_read_segments()
440 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_count_read_segments()
459 static bool xdr_check_read_list(struct svc_rdma_recv_ctxt *rctxt) in xdr_check_read_list() argument
463 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_check_read_list()
466 if (!xdr_count_read_segments(rctxt, p)) in xdr_check_read_list()
[all …]
Dsvc_rdma_sendto.c454 static ssize_t svc_rdma_encode_write_list(struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_encode_write_list() argument
461 pcl_for_each_chunk(chunk, &rctxt->rc_write_pcl) { in svc_rdma_encode_write_list()
489 svc_rdma_encode_reply_chunk(struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_encode_reply_chunk() argument
495 if (pcl_is_empty(&rctxt->rc_reply_pcl)) in svc_rdma_encode_reply_chunk()
498 chunk = pcl_first_chunk(&rctxt->rc_reply_pcl); in svc_rdma_encode_reply_chunk()
665 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_pull_up_needed() argument
675 ret = pcl_process_nonpayloads(&rctxt->rc_write_pcl, xdr, in svc_rdma_pull_up_needed()
746 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_pull_up_reply_msg() argument
754 ret = pcl_process_nonpayloads(&rctxt->rc_write_pcl, xdr, in svc_rdma_pull_up_reply_msg()
779 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_map_reply_msg() argument
[all …]
Dsvc_rdma_pcl.c68 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()
Dsvc_rdma_backchannel.c20 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()
Dsvc_rdma_rw.c660 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_send_reply_chunk() argument
668 if (pcl_is_empty(&rctxt->rc_reply_pcl)) in svc_rdma_send_reply_chunk()
671 chunk = pcl_first_chunk(&rctxt->rc_reply_pcl); in svc_rdma_send_reply_chunk()
677 ret = pcl_process_nonpayloads(&rctxt->rc_write_pcl, xdr, in svc_rdma_send_reply_chunk()
/Linux-v6.6/include/linux/sunrpc/
Dsvc_rdma.h168 struct svc_rdma_recv_ctxt *rctxt);
187 const struct svc_rdma_recv_ctxt *rctxt,
203 const struct svc_rdma_recv_ctxt *rctxt,
207 struct svc_rdma_recv_ctxt *rctxt,
Dsvc_rdma_pcl.h118 extern bool pcl_alloc_call(struct svc_rdma_recv_ctxt *rctxt, __be32 *p);
119 extern bool pcl_alloc_read(struct svc_rdma_recv_ctxt *rctxt, __be32 *p);
120 extern bool pcl_alloc_write(struct svc_rdma_recv_ctxt *rctxt,