Lines Matching defs:tty
54 #include <sys/tty.h>
330 tty_common_t *tty;
343 tty = &cp->cvc_tty;
344 tty->t_readq = q;
345 tty->t_writeq = WR(q);
551 register tty_common_t *tty;
558 tty = &cp->cvc_tty;
559 if (tty->t_iocpending != NULL) {
560 freemsg(tty->t_iocpending);
561 tty->t_iocpending = NULL;
563 datasize = ttycommon_ioctl(tty, q, mp, &error);
643 register tty_common_t *tty;
666 tty = &cp->cvc_tty;
667 mutex_enter(&tty->t_excl);
668 if (bcmp(&tty->t_size, ws, sizeof (struct winsize)) != 0) {
669 tty->t_size = *ws;
670 mutex_exit(&tty->t_excl);
673 mutex_exit(&tty->t_excl);