Home
last modified time | relevance | path

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

/linux-6.12.1/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c432 static bool xdr_count_read_segments(struct svc_rdma_recv_ctxt *rctxt, __be32 *p) in xdr_count_read_segments() argument
434 rctxt->rc_call_pcl.cl_count = 0; in xdr_count_read_segments()
435 rctxt->rc_read_pcl.cl_count = 0; in xdr_count_read_segments()
440 p = xdr_inline_decode(&rctxt->rc_stream, in xdr_count_read_segments()
450 ++rctxt->rc_read_pcl.cl_count; in xdr_count_read_segments()
452 ++rctxt->rc_call_pcl.cl_count; in xdr_count_read_segments()
455 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_count_read_segments()
474 static bool xdr_check_read_list(struct svc_rdma_recv_ctxt *rctxt) in xdr_check_read_list() argument
478 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_check_read_list()
481 if (!xdr_count_read_segments(rctxt, p)) in xdr_check_read_list()
[all …]
Dsvc_rdma_sendto.c494 static ssize_t svc_rdma_encode_write_list(struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_encode_write_list() argument
501 pcl_for_each_chunk(chunk, &rctxt->rc_write_pcl) { in svc_rdma_encode_write_list()
529 svc_rdma_encode_reply_chunk(struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_encode_reply_chunk() argument
535 if (pcl_is_empty(&rctxt->rc_reply_pcl)) in svc_rdma_encode_reply_chunk()
538 chunk = pcl_first_chunk(&rctxt->rc_reply_pcl); in svc_rdma_encode_reply_chunk()
882 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_send_reply_msg() argument
888 ret = svc_rdma_map_reply_msg(rdma, sctxt, &rctxt->rc_write_pcl, in svc_rdma_send_reply_msg()
889 &rctxt->rc_reply_pcl, &rqstp->rq_res); in svc_rdma_send_reply_msg()
898 if (rctxt->rc_inv_rkey) { in svc_rdma_send_reply_msg()
900 send_wr->ex.invalidate_rkey = rctxt->rc_inv_rkey; in svc_rdma_send_reply_msg()
[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()
Dsvc_rdma_rw.c647 const struct svc_rdma_recv_ctxt *rctxt, in svc_rdma_send_write_list() argument
653 pcl_for_each_chunk(chunk, &rctxt->rc_write_pcl) { in svc_rdma_send_write_list()
/linux-6.12.1/include/linux/sunrpc/
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,
Dsvc_rdma.h253 struct svc_rdma_recv_ctxt *rctxt);
278 const struct svc_rdma_recv_ctxt *rctxt,
304 struct svc_rdma_recv_ctxt *rctxt,