Lines Matching refs:rep
563 rpcrdma_count_chunks(struct rpcrdma_rep *rep, unsigned int max, int wrchunk, __be32 **iptrp)
594 if ((char *) cur_wchunk > rep->rr_base + rep->rr_len)
716 rpcrdma_unbind_func(struct rpcrdma_rep *rep)
718 wake_up(&rep->rr_unbind);
727 rpcrdma_reply_handler(struct rpcrdma_rep *rep)
732 struct rpc_xprt *xprt = rep->rr_xprt;
737 /* Check status. If bad, signal disconnect and return rep to pool */
738 if (rep->rr_len == ~0U) {
739 rpcrdma_recv_buffer_put(rep);
746 if (rep->rr_len < 28) {
750 headerp = (struct rpcrdma_msg *) rep->rr_base;
764 __func__, rep, headerp->rm_xid, rep->rr_len);
767 rep->rr_func = rpcrdma_reply_handler;
768 if (rpcrdma_ep_post_recv(&r_xprt->rx_ia, &r_xprt->rx_ep, rep))
769 rpcrdma_recv_buffer_put(rep);
779 __func__, rep, req, rqst, headerp->rm_xid);
784 req->rl_reply = rep;
803 rdmalen = rpcrdma_count_chunks(rep,
808 rep->rr_len -=
810 status = rep->rr_len + rdmalen;
821 rep->rr_len -= 28; /*sizeof *headerp;*/
822 status = rep->rr_len;
825 rpcrdma_inline_fixup(rqst, (char *)iptr, rep->rr_len, rdmalen);
836 rdmalen = rpcrdma_count_chunks(rep, req->rl_nchunks, 0, &iptr);
867 rep->rr_func = rpcrdma_unbind_func;
869 r_xprt, rep);