Lines Matching refs:ctlbuf
65 struct strbuf ctlbuf; in _tx_optmgmt() local
94 if (_t_acquire_ctlbuf(tiptr, &ctlbuf, &didalloc) < 0) { in _tx_optmgmt()
224 optreq = (struct T_optmgmt_req *)ctlbuf.buf; in _tx_optmgmt()
236 if (_t_aligned_copy(&ctlbuf, optlen, size, in _tx_optmgmt()
248 if (_t_do_ioctl(fd, ctlbuf.buf, size, TI_OPTMGMT, &retlen) < 0) in _tx_optmgmt()
258 optack = (struct T_optmgmt_ack *)ctlbuf.buf; in _tx_optmgmt()
266 (char *)(ctlbuf.buf + optack->OPT_offset), in _tx_optmgmt()
310 free(ctlbuf.buf); in _tx_optmgmt()
312 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_optmgmt()
321 free(ctlbuf.buf); in _tx_optmgmt()
323 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_optmgmt()