Lines Matching refs:buf
88 * Acquire buf for use in sending/receiving of the message.
115 if (req->opt.buf == NULL ||
122 opt_start = (struct t_opthdr *)req->opt.buf;
128 * "opt.buf" at start of buffer and in combination with
131 * applies to output buffer "ret->opt.buf" is an "interesting
220 optreq = (struct T_optmgmt_req *)ctlbuf.buf;
233 req->opt.buf, &optreq->OPT_offset) < 0) {
244 if (_t_do_ioctl(fd, ctlbuf.buf, size, TI_OPTMGMT, &retlen) < 0)
254 optack = (struct T_optmgmt_ack *)ctlbuf.buf;
261 (void) memcpy(ret->opt.buf,
262 (char *)(ctlbuf.buf + optack->OPT_offset),
306 free(ctlbuf.buf);
308 tiptr->ti_ctlbuf = ctlbuf.buf;
317 free(ctlbuf.buf);
319 tiptr->ti_ctlbuf = ctlbuf.buf;