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