Lines Matching refs:datap
313 mblk_t *datap; in ttycommon_ioctl() local
315 if ((datap = allocb(sizeof (struct termios), in ttycommon_ioctl()
320 cb = (struct termios *)datap->b_wptr; in ttycommon_ioctl()
327 datap->b_wptr += sizeof (struct termios); in ttycommon_ioctl()
331 mp->b_cont = datap; in ttycommon_ioctl()
337 mblk_t *datap; in ttycommon_ioctl() local
339 if ((datap = allocb(sizeof (struct termio), BPRI_HI)) == NULL) { in ttycommon_ioctl()
344 cb = (struct termio *)datap->b_wptr; in ttycommon_ioctl()
351 datap->b_wptr += sizeof (struct termio); in ttycommon_ioctl()
355 mp->b_cont = datap; in ttycommon_ioctl()
363 mblk_t *datap; in ttycommon_ioctl() local
365 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in ttycommon_ioctl()
370 *(int *)datap->b_wptr = 1; in ttycommon_ioctl()
372 *(int *)datap->b_wptr = 0; in ttycommon_ioctl()
373 datap->b_wptr += sizeof (int); in ttycommon_ioctl()
377 mp->b_cont = datap; in ttycommon_ioctl()
382 mblk_t *datap; in ttycommon_ioctl() local
384 if ((datap = allocb(sizeof (struct winsize), in ttycommon_ioctl()
392 *(struct winsize *)datap->b_wptr = tc->t_size; in ttycommon_ioctl()
393 datap->b_wptr += sizeof (struct winsize); in ttycommon_ioctl()
397 mp->b_cont = datap; in ttycommon_ioctl()