Lines Matching refs:crdp

447 	struct clone_rdma_data *crdp;  in svc_rdma_krecv()  local
458 crdp = (struct clone_rdma_data *)clone_xprt->xp_p2buf; in svc_rdma_krecv()
498 crdp->cl_wlist = wcl; in svc_rdma_krecv()
500 crdp->cl_reply = NULL; in svc_rdma_krecv()
501 (void) xdr_decode_reply_wchunk(xdrs, &crdp->cl_reply); in svc_rdma_krecv()
560 crdp->rpcbuf = cllong->rb_longbuf; in svc_rdma_krecv()
561 crdp->rpcbuf.len = cllong->c_len; in svc_rdma_krecv()
568 crdp->rpcbuf = rdp->rpcmsg; in svc_rdma_krecv()
579 if (crdp->cl_wlist) { in svc_rdma_krecv()
582 XDR_CONTROL(xdrs, XDR_RDMA_SET_WLIST, crdp->cl_wlist); in svc_rdma_krecv()
614 crdp->conn = conn; in svc_rdma_krecv()
621 rdma_buf_free(conn, &crdp->rpcbuf); in svc_rdma_krecv()
650 struct clone_rdma_data *crdp; in svc_process_long_reply() local
652 crdp = (struct clone_rdma_data *)clone_xprt->xp_p2buf; in svc_process_long_reply()
677 if (rdma_buf_alloc(crdp->conn, &long_rpc)) { in svc_process_long_reply()
689 rdma_buf_free(crdp->conn, &long_rpc); in svc_process_long_reply()
700 wcl = crdp->cl_reply; in svc_process_long_reply()
733 wcl = crdp->cl_reply; in svc_process_long_reply()
739 rdma_buf_free(crdp->conn, &long_rpc); in svc_process_long_reply()
744 if (clist_register(crdp->conn, wcl, CLIST_REG_SOURCE) != RDMA_SUCCESS) { in svc_process_long_reply()
745 rdma_buf_free(crdp->conn, &long_rpc); in svc_process_long_reply()
750 status = clist_syncmem(crdp->conn, wcl, CLIST_REG_SOURCE); in svc_process_long_reply()
753 (void) clist_deregister(crdp->conn, wcl); in svc_process_long_reply()
754 rdma_buf_free(crdp->conn, &long_rpc); in svc_process_long_reply()
759 status = RDMA_WRITE(crdp->conn, wcl, WAIT); in svc_process_long_reply()
761 (void) clist_deregister(crdp->conn, wcl); in svc_process_long_reply()
762 rdma_buf_free(crdp->conn, &wcl->rb_longbuf); in svc_process_long_reply()
827 struct clone_rdma_data *crdp; in svc_rdma_ksend() local
842 crdp = (struct clone_rdma_data *)clone_xprt->xp_p2buf; in svc_rdma_ksend()
843 conn = crdp->conn; in svc_rdma_ksend()
921 if (status == SVC_RDMA_SUCCESS && crdp->cl_reply) { in svc_rdma_ksend()
922 clist_free(crdp->cl_reply); in svc_rdma_ksend()
923 crdp->cl_reply = NULL; in svc_rdma_ksend()
936 if (crdp->cl_reply == NULL) { in svc_rdma_ksend()
996 cl_write = crdp->cl_wlist; in svc_rdma_ksend()
1007 if (!xdr_encode_reply_wchunk(&xdrs_rhdr, crdp->cl_reply, in svc_rdma_ksend()
1042 if (crdp->cl_reply) { in svc_rdma_ksend()
1043 clist_free(crdp->cl_reply); in svc_rdma_ksend()
1044 crdp->cl_reply = NULL; in svc_rdma_ksend()
1081 struct clone_rdma_data *crdp; in svc_rdma_kfreeargs() local
1091 crdp = (struct clone_rdma_data *)clone_xprt->xp_p2buf; in svc_rdma_kfreeargs()
1092 if (crdp->cloned == TRUE) { in svc_rdma_kfreeargs()
1093 crdp->cloned = 0; in svc_rdma_kfreeargs()
1108 rdma_buf_free(crdp->conn, &crdp->rpcbuf); in svc_rdma_kfreeargs()
1109 if (crdp->cl_reply) { in svc_rdma_kfreeargs()
1110 clist_free(crdp->cl_reply); in svc_rdma_kfreeargs()
1111 crdp->cl_reply = NULL; in svc_rdma_kfreeargs()
1113 RDMA_REL_CONN(crdp->conn); in svc_rdma_kfreeargs()