Home
last modified time | relevance | path

Searched refs:sctxt (Results 1 – 3 of 3) sorted by relevance

/net/sunrpc/xprtrdma/
Dsvc_rdma_sendto.c349 static ssize_t svc_rdma_encode_read_list(struct svc_rdma_send_ctxt *sctxt) in svc_rdma_encode_read_list() argument
352 return xdr_stream_encode_item_absent(&sctxt->sc_stream); in svc_rdma_encode_read_list()
367 static ssize_t svc_rdma_encode_write_segment(struct svc_rdma_send_ctxt *sctxt, in svc_rdma_encode_write_segment() argument
376 p = xdr_reserve_space(&sctxt->sc_stream, len); in svc_rdma_encode_write_segment()
384 trace_svcrdma_encode_wseg(sctxt, segno, segment->rs_handle, length, in svc_rdma_encode_write_segment()
403 static ssize_t svc_rdma_encode_write_chunk(struct svc_rdma_send_ctxt *sctxt, in svc_rdma_encode_write_chunk() argument
411 ret = xdr_stream_encode_item_present(&sctxt->sc_stream); in svc_rdma_encode_write_chunk()
416 ret = xdr_stream_encode_u32(&sctxt->sc_stream, chunk->ch_segcount); in svc_rdma_encode_write_chunk()
422 ret = svc_rdma_encode_write_segment(sctxt, chunk, &remaining, segno); in svc_rdma_encode_write_chunk()
442 struct svc_rdma_send_ctxt *sctxt) in svc_rdma_encode_write_list() argument
[all …]
Dsvc_rdma_backchannel.c77 struct svc_rdma_send_ctxt *sctxt) in svc_rdma_bc_sendto() argument
86 ret = svc_rdma_map_reply_msg(rdma, sctxt, rctxt, &rqst->rq_snd_buf); in svc_rdma_bc_sendto()
95 sctxt->sc_send_wr.opcode = IB_WR_SEND; in svc_rdma_bc_sendto()
96 ret = svc_rdma_send(rdma, sctxt); in svc_rdma_bc_sendto()
100 ret = wait_for_completion_killable(&sctxt->sc_done); in svc_rdma_bc_sendto()
101 svc_rdma_send_ctxt_put(rdma, sctxt); in svc_rdma_bc_sendto()
Dsvc_rdma_recvfrom.c716 struct svc_rdma_send_ctxt *sctxt; in svc_rdma_send_error() local
718 sctxt = svc_rdma_send_ctxt_get(rdma); in svc_rdma_send_error()
719 if (!sctxt) in svc_rdma_send_error()
721 svc_rdma_send_error_msg(rdma, sctxt, rctxt, status); in svc_rdma_send_error()