Lines Matching refs:rep
568 rpcrdma_count_chunks(struct rpcrdma_rep *rep, unsigned int max, int wrchunk, __be32 **iptrp) in rpcrdma_count_chunks() argument
572 char *base = (char *)rdmab_to_msg(rep->rr_rdmabuf); in rpcrdma_count_chunks()
600 if ((char *)cur_wchunk > base + rep->rr_len) in rpcrdma_count_chunks()
730 rpcrdma_reply_handler(struct rpcrdma_rep *rep) in rpcrdma_reply_handler() argument
735 struct rpc_xprt *xprt = rep->rr_xprt; in rpcrdma_reply_handler()
743 if (rep->rr_len == ~0U) { in rpcrdma_reply_handler()
744 rpcrdma_recv_buffer_put(rep); in rpcrdma_reply_handler()
751 if (rep->rr_len < RPCRDMA_HDRLEN_MIN) { in rpcrdma_reply_handler()
755 headerp = rdmab_to_msg(rep->rr_rdmabuf); in rpcrdma_reply_handler()
769 __func__, rep, be32_to_cpu(headerp->rm_xid), in rpcrdma_reply_handler()
770 rep->rr_len); in rpcrdma_reply_handler()
773 rep->rr_func = rpcrdma_reply_handler; in rpcrdma_reply_handler()
774 if (rpcrdma_ep_post_recv(&r_xprt->rx_ia, &r_xprt->rx_ep, rep)) in rpcrdma_reply_handler()
775 rpcrdma_recv_buffer_put(rep); in rpcrdma_reply_handler()
785 "request 0x%p: xid 0x%08x\n", __func__, rep, req, in rpcrdma_reply_handler()
792 __func__, rep, req, rqst, in rpcrdma_reply_handler()
796 req->rl_reply = rep; in rpcrdma_reply_handler()
816 rdmalen = rpcrdma_count_chunks(rep, in rpcrdma_reply_handler()
821 rep->rr_len -= in rpcrdma_reply_handler()
823 status = rep->rr_len + rdmalen; in rpcrdma_reply_handler()
835 rep->rr_len -= RPCRDMA_HDRLEN_MIN; in rpcrdma_reply_handler()
836 status = rep->rr_len; in rpcrdma_reply_handler()
839 rpcrdma_inline_fixup(rqst, (char *)iptr, rep->rr_len, rdmalen); in rpcrdma_reply_handler()
851 rdmalen = rpcrdma_count_chunks(rep, req->rl_nchunks, 0, &iptr); in rpcrdma_reply_handler()