Searched refs:constty (Results 1 – 5 of 5) sorted by relevance
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()
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()
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()
347 if (constty == tp) { in ttyclose()348 constty = NULL; in ttyclose()1108 if (constty && constty != tp && in ttioctl_locked()1109 ISSET(constty->t_state, TS_CONNECTED)) { in ttioctl_locked()1116 constty = tp; in ttioctl_locked()1117 } else if (tp == constty) { in ttioctl_locked()1118 constty = NULL; in ttioctl_locked()1120 if (constty) { in ttioctl_locked()1121 (*cdevsw[major(constty->t_dev)].d_ioctl) in ttioctl_locked()1122 (constty->t_dev, KMIOCDISABLCONS, NULL, 0, p); in ttioctl_locked()
61 extern struct tty *constty; /* current console device */