Lines Matching refs:rpcmsg
342 rdma_buf_t *rpcmsg, XDR *xdrs, in clnt_compose_rpcmsg() argument
352 bcopy(p->cku_rpchdr, rpcmsg->addr, CKU_HDRSIZE); in clnt_compose_rpcmsg()
359 (*(uint32_t *)(rpcmsg->addr)) = p->cku_xid; in clnt_compose_rpcmsg()
381 if (rpcmsg->addr != xdrs->x_base) { in clnt_compose_rpcmsg()
382 rpcmsg->addr = xdrs->x_base; in clnt_compose_rpcmsg()
383 rpcmsg->len = xdr_getbufsize(xdrs); in clnt_compose_rpcmsg()
392 if (rpcmsg->addr != xdrs->x_base) { in clnt_compose_rpcmsg()
393 rpcmsg->addr = xdrs->x_base; in clnt_compose_rpcmsg()
394 rpcmsg->len = xdr_getbufsize(xdrs); in clnt_compose_rpcmsg()
600 rdma_buf_t rpcmsg; in clnt_rdma_kcallit() local
613 bzero(&rpcmsg, sizeof (rpcmsg)); in clnt_rdma_kcallit()
752 rpcmsg.type = SEND_BUFFER; in clnt_rdma_kcallit()
753 if (rdma_buf_alloc(conn, &rpcmsg)) { in clnt_rdma_kcallit()
763 xdrrdma_create(call_xdrp, rpcmsg.addr, rpcmsg.len, in clnt_rdma_kcallit()
766 status = clnt_compose_rpcmsg(h, procnum, &rpcmsg, call_xdrp, in clnt_rdma_kcallit()
771 rdma_buf_free(conn, &rpcmsg); in clnt_rdma_kcallit()
927 clist_add(&cl_sendlist, 0, p->cku_outsz, &rpcmsg.handle, in clnt_rdma_kcallit()
928 rpcmsg.addr, NULL, NULL); in clnt_rdma_kcallit()
975 if (rpcmsg.type == SEND_BUFFER) in clnt_rdma_kcallit()
976 rpcmsg.addr = NULL; in clnt_rdma_kcallit()