Searched refs:rmsgp (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/net/sunrpc/xprtrdma/ |
D | svc_rdma_marshal.c | 151 struct rpcrdma_msg *rmsgp = NULL; in svc_rdma_xdr_decode_req() local 155 rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0].iov_base; in svc_rdma_xdr_decode_req() 164 if (rmsgp->rm_vers != rpcrdma_version) in svc_rdma_xdr_decode_req() 168 if (rmsgp->rm_type == rdma_msgp) { in svc_rdma_xdr_decode_req() 171 rmsgp->rm_body.rm_padded.rm_align = in svc_rdma_xdr_decode_req() 172 be32_to_cpu(rmsgp->rm_body.rm_padded.rm_align); in svc_rdma_xdr_decode_req() 173 rmsgp->rm_body.rm_padded.rm_thresh = in svc_rdma_xdr_decode_req() 174 be32_to_cpu(rmsgp->rm_body.rm_padded.rm_thresh); in svc_rdma_xdr_decode_req() 176 va = &rmsgp->rm_body.rm_padded.rm_pempty[4]; in svc_rdma_xdr_decode_req() 178 hdrlen = (u32)((unsigned long)va - (unsigned long)rmsgp); in svc_rdma_xdr_decode_req() [all …]
|
D | svc_rdma_sendto.c | 143 svc_rdma_get_read_chunk(struct rpcrdma_msg *rmsgp) in svc_rdma_get_read_chunk() argument 146 (struct rpcrdma_read_chunk *)&rmsgp->rm_body.rm_chunks[0]; in svc_rdma_get_read_chunk() 157 svc_rdma_get_write_array(struct rpcrdma_msg *rmsgp) in svc_rdma_get_write_array() argument 159 if (rmsgp->rm_body.rm_chunks[0] != xdr_zero || in svc_rdma_get_write_array() 160 rmsgp->rm_body.rm_chunks[1] == xdr_zero) in svc_rdma_get_write_array() 162 return (struct rpcrdma_write_array *)&rmsgp->rm_body.rm_chunks[1]; in svc_rdma_get_write_array() 169 svc_rdma_get_reply_array(struct rpcrdma_msg *rmsgp) in svc_rdma_get_reply_array() argument 178 if (rmsgp->rm_body.rm_chunks[0] != xdr_zero || in svc_rdma_get_reply_array() 179 rmsgp->rm_body.rm_chunks[1] != xdr_zero) in svc_rdma_get_reply_array() 182 rch = svc_rdma_get_read_chunk(rmsgp); in svc_rdma_get_reply_array() [all …]
|
D | svc_rdma_recvfrom.c | 62 struct rpcrdma_msg *rmsgp; in rdma_build_arg_xdr() local 87 rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0].iov_base; in rdma_build_arg_xdr() 88 if (rmsgp->rm_type == rdma_nomsg) in rdma_build_arg_xdr() 417 struct rpcrdma_msg *rmsgp, in rdma_read_chunks() argument 429 ch = svc_rdma_get_read_chunk(rmsgp); in rdma_read_chunks() 448 ch = (struct rpcrdma_read_chunk *)&rmsgp->rm_body.rm_chunks[0]; in rdma_read_chunks() 581 struct rpcrdma_msg *rmsgp; in svc_rdma_recvfrom() local 625 len = svc_rdma_xdr_decode_req(&rmsgp, rqstp); in svc_rdma_recvfrom() 631 svc_rdma_send_error(rdma_xprt, rmsgp, ERR_VERS); in svc_rdma_recvfrom() 636 ret = rdma_read_chunks(rdma_xprt, rmsgp, rqstp, ctxt); in svc_rdma_recvfrom()
|
D | svc_rdma_transport.c | 1314 void svc_rdma_send_error(struct svcxprt_rdma *xprt, struct rpcrdma_msg *rmsgp, in svc_rdma_send_error() argument 1328 length = svc_rdma_xdr_encode_error(xprt, rmsgp, err, va); in svc_rdma_send_error()
|