Lines Matching refs:ctlbuf
53 struct strbuf ctlbuf, databuf; in _tx_rcv() local
161 if (_t_acquire_ctlbuf(tiptr, &ctlbuf, &didalloc) < 0) { in _tx_rcv()
181 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) { in _tx_rcv()
197 if (ctlbuf.len > 0) { in _tx_rcv()
198 if (ctlbuf.len < (int)sizeof (t_scalar_t)) { in _tx_rcv()
205 pptr = (union T_primitives *)ctlbuf.buf; in _tx_rcv()
219 if ((ctlbuf.len < (int)sizeof (struct T_data_ind)) || in _tx_rcv()
244 free(ctlbuf.buf); in _tx_rcv()
246 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_rcv()
270 ctlbuf.buf, ctlbuf.len) < 0) { in _tx_rcv()
282 ctlbuf.maxlen = 0; /* XXX why ? */ in _tx_rcv()
283 ctlbuf.len = 0; in _tx_rcv()
305 retval = getmsg(fd, &ctlbuf, in _tx_rcv()
368 free(ctlbuf.buf); in _tx_rcv()
370 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_rcv()
379 free(ctlbuf.buf); in _tx_rcv()
381 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_rcv()