Home
last modified time | relevance | path

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

/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_recvfrom.c414 * @rctxt: Ingress receive context
425 * %true: Read list is valid. @rctxt's xdr_stream is updated to point
429 * %false: Read list is corrupt. @rctxt's xdr_stream is left in an
432 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 in xdr_count_read_segments()
474 xdr_check_read_list(struct svc_rdma_recv_ctxt * rctxt) xdr_check_read_list() argument
488 xdr_check_write_chunk(struct svc_rdma_recv_ctxt * rctxt) xdr_check_write_chunk() argument
517 xdr_count_write_chunks(struct svc_rdma_recv_ctxt * rctxt,__be32 * p) xdr_count_write_chunks() argument
546 xdr_check_write_list(struct svc_rdma_recv_ctxt * rctxt) xdr_check_write_list() argument
574 xdr_check_reply_chunk(struct svc_rdma_recv_ctxt * rctxt) xdr_check_reply_chunk() argument
663 svc_rdma_xdr_decode_req(struct xdr_buf * rq_arg,struct svc_rdma_recv_ctxt * rctxt) svc_rdma_xdr_decode_req() argument
729 svc_rdma_send_error(struct svcxprt_rdma * rdma,struct svc_rdma_recv_ctxt * rctxt,int status) svc_rdma_send_error() argument
746 svc_rdma_is_reverse_direction_reply(struct svc_xprt * xprt,struct svc_rdma_recv_ctxt * rctxt) svc_rdma_is_reverse_direction_reply() argument
[all...]
H A 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 …]
H A 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()
H A 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()
H A 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/include/linux/sunrpc/
H A 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,
H A Dsvc_rdma.h253 struct svc_rdma_recv_ctxt *rctxt);
278 const struct svc_rdma_recv_ctxt *rctxt,
304 struct svc_rdma_recv_ctxt *rctxt,