Searched refs:rmsgp (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/net/sunrpc/xprtrdma/ |
D | svc_rdma_marshal.c | 151 struct rpcrdma_msg *rmsgp = NULL; in svc_rdma_xdr_decode_req() local 156 rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0].iov_base; in svc_rdma_xdr_decode_req() 166 rmsgp->rm_xid = ntohl(rmsgp->rm_xid); in svc_rdma_xdr_decode_req() 167 rmsgp->rm_vers = ntohl(rmsgp->rm_vers); in svc_rdma_xdr_decode_req() 168 rmsgp->rm_credit = ntohl(rmsgp->rm_credit); in svc_rdma_xdr_decode_req() 169 rmsgp->rm_type = ntohl(rmsgp->rm_type); in svc_rdma_xdr_decode_req() 171 if (rmsgp->rm_vers != RPCRDMA_VERSION) in svc_rdma_xdr_decode_req() 175 if (rmsgp->rm_type == RDMA_MSGP) { in svc_rdma_xdr_decode_req() 177 rmsgp->rm_body.rm_padded.rm_align = in svc_rdma_xdr_decode_req() 178 ntohl(rmsgp->rm_body.rm_padded.rm_align); in svc_rdma_xdr_decode_req() [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 (be32_to_cpu(rmsgp->rm_type) == RDMA_NOMSG) in rdma_build_arg_xdr() 420 struct rpcrdma_msg *rmsgp, in rdma_read_chunks() argument 432 ch = svc_rdma_get_read_chunk(rmsgp); in rdma_read_chunks() 451 ch = (struct rpcrdma_read_chunk *)&rmsgp->rm_body.rm_chunks[0]; in rdma_read_chunks() 584 struct rpcrdma_msg *rmsgp; in svc_rdma_recvfrom() local 628 len = svc_rdma_xdr_decode_req(&rmsgp, rqstp); in svc_rdma_recvfrom() 634 svc_rdma_send_error(rdma_xprt, rmsgp, ERR_VERS); in svc_rdma_recvfrom() 639 ret = rdma_read_chunks(rdma_xprt, rmsgp, rqstp, ctxt); in svc_rdma_recvfrom()
|
D | svc_rdma_transport.c | 1316 void svc_rdma_send_error(struct svcxprt_rdma *xprt, struct rpcrdma_msg *rmsgp, in svc_rdma_send_error() argument 1330 length = svc_rdma_xdr_encode_error(xprt, rmsgp, err, va); in svc_rdma_send_error()
|
/linux-4.1.27/include/linux/sunrpc/ |
D | svc_rdma.h | 241 svc_rdma_get_read_chunk(struct rpcrdma_msg *rmsgp) in svc_rdma_get_read_chunk() argument 244 (struct rpcrdma_read_chunk *)&rmsgp->rm_body.rm_chunks[0]; in svc_rdma_get_read_chunk() 257 svc_rdma_get_write_array(struct rpcrdma_msg *rmsgp) in svc_rdma_get_write_array() argument 259 if (rmsgp->rm_body.rm_chunks[0] != 0 in svc_rdma_get_write_array() 260 || rmsgp->rm_body.rm_chunks[1] == 0) in svc_rdma_get_write_array() 263 return (struct rpcrdma_write_array *)&rmsgp->rm_body.rm_chunks[1]; in svc_rdma_get_write_array() 271 svc_rdma_get_reply_array(struct rpcrdma_msg *rmsgp) in svc_rdma_get_reply_array() argument 279 if (rmsgp->rm_body.rm_chunks[0] != 0 || in svc_rdma_get_reply_array() 280 rmsgp->rm_body.rm_chunks[1] != 0) in svc_rdma_get_reply_array() 283 rch = svc_rdma_get_read_chunk(rmsgp); in svc_rdma_get_reply_array() [all …]
|