Home
last modified time | relevance | path

Searched refs:headerp (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/net/sunrpc/xprtrdma/
Drpc_rdma.c244 struct rpcrdma_msg *headerp, enum rpcrdma_chunktype type) in rpcrdma_create_chunks() argument
254 __be32 *iptr = headerp->rm_body.rm_chunks; in rpcrdma_create_chunks()
349 return (unsigned char *)iptr - (unsigned char *)headerp; in rpcrdma_create_chunks()
442 struct rpcrdma_msg *headerp; in rpcrdma_marshal_req() local
456 headerp = rdmab_to_msg(req->rl_rdmabuf); in rpcrdma_marshal_req()
458 headerp->rm_xid = rqst->rq_xid; in rpcrdma_marshal_req()
459 headerp->rm_vers = rpcrdma_version; in rpcrdma_marshal_req()
460 headerp->rm_credit = cpu_to_be32(r_xprt->rx_buf.rb_max_requests); in rpcrdma_marshal_req()
461 headerp->rm_type = rdma_msg; in rpcrdma_marshal_req()
498 headerp->rm_type = htonl(RDMA_NOMSG); in rpcrdma_marshal_req()
[all …]
Dbackchannel.c208 struct rpcrdma_msg *headerp; in rpcrdma_bc_marshal_reply() local
211 headerp = rdmab_to_msg(req->rl_rdmabuf); in rpcrdma_bc_marshal_reply()
212 headerp->rm_xid = rqst->rq_xid; in rpcrdma_bc_marshal_reply()
213 headerp->rm_vers = rpcrdma_version; in rpcrdma_bc_marshal_reply()
214 headerp->rm_credit = in rpcrdma_bc_marshal_reply()
216 headerp->rm_type = rdma_msg; in rpcrdma_bc_marshal_reply()
217 headerp->rm_body.rm_chunks[0] = xdr_zero; in rpcrdma_bc_marshal_reply()
218 headerp->rm_body.rm_chunks[1] = xdr_zero; in rpcrdma_bc_marshal_reply()
219 headerp->rm_body.rm_chunks[2] = xdr_zero; in rpcrdma_bc_marshal_reply()
224 __func__, rpclen, headerp, rdmab_lkey(req->rl_rdmabuf)); in rpcrdma_bc_marshal_reply()
[all …]