Home
last modified time | relevance | path

Searched refs:constty (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/sys/dev/
H A Dcons.c51 struct tty *constty = NULL; /* virtual console output device */ variable
116 if (constty != NULL) in cnread()
133 if (constty != NULL) in cnwrite()
134 dev = constty->t_dev; in cnwrite()
158 if (cmd == TIOCCONS && constty != NULL) { in cnioctl()
162 constty = NULL; in cnioctl()
172 if (constty != NULL) in cnioctl()
173 dev = constty->t_dev; in cnioctl()
189 if (constty != NULL) in cnkqfilter()
190 dev = constty->t_dev; in cnkqfilter()
H A Dcons.h73 extern struct tty *constty;
/openbsd-src/sys/kern/
H A Dsubr_prf.c354 constty = NULL; in kputchar()
356 if ((flags & TOCONS) && tp == NULL && constty != NULL && !db_active) { in kputchar()
357 tp = constty; in kputchar()
361 (flags & TOCONS) && tp == constty) in kputchar()
362 constty = NULL; in kputchar()
366 if ((flags & TOCONS) && (constty == NULL || db_active) && c != '\0') in kputchar()
H A Dtty.c204 if (constty == tp) in ttyclose()
205 constty = NULL; in ttyclose()
791 if (constty != NULL && constty != tp && in ttioctl()
792 ISSET(constty->t_state, TS_CARR_ON | TS_ISOPEN) == in ttioctl()
810 constty = tp; in ttioctl()
811 } else if (tp == constty) in ttioctl()
812 constty = NULL; in ttioctl()
H A Dsubr_log.c719 if (constty || cn_devvp) { in dosendsyslog()