Searched refs:constty (Results 1 – 6 of 6) sorted by relevance
23 struct tty *constty; /* current console device */ variable44 if (constty) { in cndev()45 return constty->t_dev; in cndev()96 if ((unsigned) cmd == TIOCCONS && constty) { in cnioctl()101 constty = NULL; in cnioctl()
58 struct tty *constty; /* current console device */ variable79 if (constty) { in cndev()80 return constty->t_dev; in cndev()132 if ((unsigned) cmd == TIOCCONS && constty) { in cnioctl()135 constty = NULL; in cnioctl()
126 extern struct tty *constty; /* pointer to console "window" tty */381 constty = 0; in putchar()383 if ((pca->flags & TOCONS) && pca->tty == NULL && constty) { in putchar()384 pca->tty = constty; in putchar()388 (pca->flags & TOCONS) && pca->tty == constty) { in putchar()389 constty = 0; in putchar()397 if ((pca->flags & TOCONS) && constty == 0 && c != '\0') { in putchar()
346 if (constty == tp) { in ttyclose()347 constty = NULL; in ttyclose()1109 if (constty && constty != tp && in ttioctl_locked()1110 ISSET(constty->t_state, TS_CONNECTED)) { in ttioctl_locked()1117 constty = tp; in ttioctl_locked()1118 } else if (tp == constty) { in ttioctl_locked()1119 constty = NULL; in ttioctl_locked()1121 if (constty) { in ttioctl_locked()1122 (*cdevsw[major(constty->t_dev)].d_ioctl) in ttioctl_locked()1123 (constty->t_dev, KMIOCDISABLCONS, NULL, 0, p); in ttioctl_locked()
534 if (constty == tp) { in ptcclose()535 constty = NULL; in ptcclose()
61 extern struct tty *constty; /* current console device */