Lines Matching refs:clpp
527 clnt_setup_long_reply(CONN *conn, struct clist **clpp, uint_t length) in clnt_setup_long_reply() argument
530 *clpp = NULL; in clnt_setup_long_reply()
534 *clpp = clist_alloc(); in clnt_setup_long_reply()
536 (*clpp)->rb_longbuf.len = calc_length(length); in clnt_setup_long_reply()
537 (*clpp)->rb_longbuf.type = RDMA_LONG_BUFFER; in clnt_setup_long_reply()
539 if (rdma_buf_alloc(conn, &((*clpp)->rb_longbuf))) { in clnt_setup_long_reply()
540 clist_free(*clpp); in clnt_setup_long_reply()
541 *clpp = NULL; in clnt_setup_long_reply()
545 (*clpp)->u.c_daddr3 = (*clpp)->rb_longbuf.addr; in clnt_setup_long_reply()
546 (*clpp)->c_len = (*clpp)->rb_longbuf.len; in clnt_setup_long_reply()
547 (*clpp)->c_next = NULL; in clnt_setup_long_reply()
548 (*clpp)->c_dmemhandle = (*clpp)->rb_longbuf.handle; in clnt_setup_long_reply()
550 if (clist_register(conn, *clpp, CLIST_REG_DST)) { in clnt_setup_long_reply()
552 rdma_buf_free(conn, &((*clpp)->rb_longbuf)); in clnt_setup_long_reply()
553 clist_free(*clpp); in clnt_setup_long_reply()
554 *clpp = NULL; in clnt_setup_long_reply()