Lines Matching defs:ctlbuf
60 struct strbuf ctlbuf;
104 * Acquire ctlbuf for use in sending/receiving control part
107 if (_t_acquire_ctlbuf(tiptr, &ctlbuf, &didalloc) < 0) {
134 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) {
149 if (ctlbuf.len > 0) {
150 if (ctlbuf.len < (int)sizeof (t_scalar_t)) {
157 pptr = (union T_primitives *)ctlbuf.buf;
162 if ((ctlbuf.len <
165 (ctlbuf.len < (int)(pptr->unitdata_ind.OPT_length
179 ctlbuf.buf + pptr->unitdata_ind.SRC_offset,
190 (void) memcpy(unitdata->opt.buf, ctlbuf.buf +
206 free(ctlbuf.buf);
208 tiptr->ti_ctlbuf = ctlbuf.buf;
216 if (_t_register_lookevent(tiptr, 0, 0, ctlbuf.buf,
217 ctlbuf.len) < 0) {
233 } else { /* else part of "if (ctlbuf.len > 0)" */
249 free(ctlbuf.buf);
251 tiptr->ti_ctlbuf = ctlbuf.buf;
262 free(ctlbuf.buf);
264 tiptr->ti_ctlbuf = ctlbuf.buf;