Home
last modified time | relevance | path

Searched refs:rmsgp (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/net/sunrpc/xprtrdma/
Dsvc_rdma_marshal.c159 struct rpcrdma_msg *rmsgp = NULL; in svc_rdma_xdr_decode_req() local
164 rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0].iov_base; in svc_rdma_xdr_decode_req()
174 rmsgp->rm_xid = ntohl(rmsgp->rm_xid); in svc_rdma_xdr_decode_req()
175 rmsgp->rm_vers = ntohl(rmsgp->rm_vers); in svc_rdma_xdr_decode_req()
176 rmsgp->rm_credit = ntohl(rmsgp->rm_credit); in svc_rdma_xdr_decode_req()
177 rmsgp->rm_type = ntohl(rmsgp->rm_type); in svc_rdma_xdr_decode_req()
179 if (rmsgp->rm_vers != RPCRDMA_VERSION) in svc_rdma_xdr_decode_req()
183 if (rmsgp->rm_type == RDMA_MSGP) { in svc_rdma_xdr_decode_req()
185 rmsgp->rm_body.rm_padded.rm_align = in svc_rdma_xdr_decode_req()
186 ntohl(rmsgp->rm_body.rm_padded.rm_align); in svc_rdma_xdr_decode_req()
[all …]
Dsvc_rdma_recvfrom.c131 struct rpcrdma_msg *rmsgp, in map_read_chunks() argument
148 ch = (struct rpcrdma_read_chunk *)&rmsgp->rm_body.rm_chunks[0]; in map_read_chunks()
231 struct rpcrdma_msg *rmsgp, in fast_reg_read_chunks() argument
282 ch = (struct rpcrdma_read_chunk *)&rmsgp->rm_body.rm_chunks[0]; in fast_reg_read_chunks()
382 struct rpcrdma_msg *rmsgp, in rdma_read_xdr() argument
400 ch = svc_rdma_get_read_chunk(rmsgp); in rdma_read_xdr()
413 sge_count = map_read_chunks(xprt, rqstp, hdr_ctxt, rmsgp, in rdma_read_xdr()
417 sge_count = fast_reg_read_chunks(xprt, rqstp, hdr_ctxt, rmsgp, in rdma_read_xdr()
428 for (ch = (struct rpcrdma_read_chunk *)&rmsgp->rm_body.rm_chunks[0]; in rdma_read_xdr()
590 struct rpcrdma_msg *rmsgp; in svc_rdma_recvfrom() local
[all …]
Dsvc_rdma_transport.c1307 void svc_rdma_send_error(struct svcxprt_rdma *xprt, struct rpcrdma_msg *rmsgp, in svc_rdma_send_error() argument
1321 length = svc_rdma_xdr_encode_error(xprt, rmsgp, err, va); in svc_rdma_send_error()
/linux-3.4.99/include/linux/sunrpc/
Dsvc_rdma.h236 svc_rdma_get_read_chunk(struct rpcrdma_msg *rmsgp) in svc_rdma_get_read_chunk() argument
239 (struct rpcrdma_read_chunk *)&rmsgp->rm_body.rm_chunks[0]; in svc_rdma_get_read_chunk()
252 svc_rdma_get_write_array(struct rpcrdma_msg *rmsgp) in svc_rdma_get_write_array() argument
254 if (rmsgp->rm_body.rm_chunks[0] != 0 in svc_rdma_get_write_array()
255 || rmsgp->rm_body.rm_chunks[1] == 0) in svc_rdma_get_write_array()
258 return (struct rpcrdma_write_array *)&rmsgp->rm_body.rm_chunks[1]; in svc_rdma_get_write_array()
266 svc_rdma_get_reply_array(struct rpcrdma_msg *rmsgp) in svc_rdma_get_reply_array() argument
274 if (rmsgp->rm_body.rm_chunks[0] != 0 || in svc_rdma_get_reply_array()
275 rmsgp->rm_body.rm_chunks[1] != 0) in svc_rdma_get_reply_array()
278 rch = svc_rdma_get_read_chunk(rmsgp); in svc_rdma_get_reply_array()
[all …]