Lines Matching refs:rep

575 rpcrdma_count_chunks(struct rpcrdma_rep *rep, unsigned int max, int wrchunk, __be32 **iptrp)  in rpcrdma_count_chunks()  argument
579 char *base = (char *)rdmab_to_msg(rep->rr_rdmabuf); in rpcrdma_count_chunks()
607 if ((char *)cur_wchunk > base + rep->rr_len) in rpcrdma_count_chunks()
768 rpcrdma_reply_handler(struct rpcrdma_rep *rep) in rpcrdma_reply_handler() argument
773 struct rpcrdma_xprt *r_xprt = rep->rr_rxprt; in rpcrdma_reply_handler()
780 dprintk("RPC: %s: incoming rep %p\n", __func__, rep); in rpcrdma_reply_handler()
782 if (rep->rr_len == RPCRDMA_BAD_LEN) in rpcrdma_reply_handler()
784 if (rep->rr_len < RPCRDMA_HDRLEN_MIN) in rpcrdma_reply_handler()
787 headerp = rdmab_to_msg(rep->rr_rdmabuf); in rpcrdma_reply_handler()
809 __func__, rep, req, rqst, in rpcrdma_reply_handler()
813 req->rl_reply = rep; in rpcrdma_reply_handler()
833 rdmalen = rpcrdma_count_chunks(rep, in rpcrdma_reply_handler()
838 rep->rr_len -= in rpcrdma_reply_handler()
840 status = rep->rr_len + rdmalen; in rpcrdma_reply_handler()
852 rep->rr_len -= RPCRDMA_HDRLEN_MIN; in rpcrdma_reply_handler()
853 status = rep->rr_len; in rpcrdma_reply_handler()
856 rpcrdma_inline_fixup(rqst, (char *)iptr, rep->rr_len, rdmalen); in rpcrdma_reply_handler()
868 rdmalen = rpcrdma_count_chunks(rep, req->rl_nchunks, 0, &iptr); in rpcrdma_reply_handler()
909 rpcrdma_recv_buffer_put(rep); in rpcrdma_reply_handler()
918 rpcrdma_bc_receive_call(r_xprt, rep); in rpcrdma_reply_handler()
935 rep->rr_len); in rpcrdma_reply_handler()
942 __func__, rep, req, be32_to_cpu(headerp->rm_xid)); in rpcrdma_reply_handler()
946 if (rpcrdma_ep_post_recv(&r_xprt->rx_ia, &r_xprt->rx_ep, rep)) in rpcrdma_reply_handler()
947 rpcrdma_recv_buffer_put(rep); in rpcrdma_reply_handler()