Lines Matching refs:r_xprt
182 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(rqst->rq_xprt); in rpcrdma_create_chunks() local
213 map = r_xprt->rx_ia.ri_ops->ro_map; in rpcrdma_create_chunks()
215 n = map(r_xprt, seg, nsegs, cur_wchunk != NULL); in rpcrdma_create_chunks()
234 r_xprt->rx_stats.read_chunk_count++; in rpcrdma_create_chunks()
250 r_xprt->rx_stats.reply_chunk_count++; in rpcrdma_create_chunks()
252 r_xprt->rx_stats.write_chunk_count++; in rpcrdma_create_chunks()
253 r_xprt->rx_stats.total_rdma_request += seg->mr_len; in rpcrdma_create_chunks()
287 if (r_xprt->rx_ia.ri_memreg_strategy == RPCRDMA_FRMR) in rpcrdma_create_chunks()
291 pos += r_xprt->rx_ia.ri_ops->ro_unmap(r_xprt, in rpcrdma_create_chunks()
309 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(rqst->rq_xprt); in rpcrdma_inline_pullup() local
334 r_xprt->rx_stats.pullup_copy_count += curlen; in rpcrdma_inline_pullup()
340 r_xprt->rx_stats.pullup_copy_count += copy_len; in rpcrdma_inline_pullup()
383 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(xprt); in rpcrdma_marshal_req() local
402 headerp->rm_credit = cpu_to_be32(r_xprt->rx_buf.rb_max_requests); in rpcrdma_marshal_req()
547 struct rpcrdma_ep *ep = &r_xprt->rx_ep; in rpcrdma_marshal_req()
695 struct rpcrdma_xprt *r_xprt = in rpcrdma_connect_worker() local
697 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_connect_worker()
736 struct rpcrdma_xprt *r_xprt = rpcx_to_rdmax(xprt); in rpcrdma_reply_handler() local
745 if (r_xprt->rx_ep.rep_connected == 1) { in rpcrdma_reply_handler()
746 r_xprt->rx_ep.rep_connected = -EIO; in rpcrdma_reply_handler()
747 rpcrdma_conn_func(&r_xprt->rx_ep); in rpcrdma_reply_handler()
772 r_xprt->rx_stats.bad_reply_count++; in rpcrdma_reply_handler()
774 if (rpcrdma_ep_post_recv(&r_xprt->rx_ia, &r_xprt->rx_ep, rep)) in rpcrdma_reply_handler()
824 r_xprt->rx_stats.total_rdma_reply += rdmalen; in rpcrdma_reply_handler()
854 r_xprt->rx_stats.total_rdma_reply += rdmalen; in rpcrdma_reply_handler()
870 r_xprt->rx_stats.bad_reply_count++; in rpcrdma_reply_handler()
877 else if (credits > r_xprt->rx_buf.rb_max_requests) in rpcrdma_reply_handler()
878 credits = r_xprt->rx_buf.rb_max_requests; in rpcrdma_reply_handler()