Searched refs:constty (Results 1 - 4 of 4) sorted by relevance

/xnu-2782.1.97/bsd/dev/i386/
H A Dcons.c34 * externalizing a global pointer "constty", which is then pointed at the
58 struct tty *constty; /* current console device */ variable in typeref:struct:tty
79 if (constty)
80 return constty->t_dev;
131 if ((unsigned) cmd == TIOCCONS && constty) {
134 constty = NULL;
/xnu-2782.1.97/bsd/machine/
H A Dcons.h61 extern struct tty *constty; /* current console device */
/xnu-2782.1.97/bsd/kern/
H A Dsubr_prf.c73 * Eliminated multiple definition of constty which is defined
128 extern struct tty *constty; /* pointer to console "window" tty */
418 constty = 0;
419 if ((pca->flags & TOCONS) && pca->tty == NULL && constty) {
420 pca->tty = constty;
424 (pca->flags & TOCONS) && pca->tty == constty)
425 constty = 0;
430 if ((pca->flags & TOCONS) && constty == 0 && c != '\0')
H A Dtty.c434 if (constty == tp) {
435 constty = NULL;
1181 if (constty && constty != tp &&
1182 ISSET(constty->t_state, TS_CONNECTED)) {
1188 constty = tp;
1189 } else if (tp == constty) {
1190 constty = NULL;
1192 if (constty) {
1193 (*cdevsw[major(constty
[all...]

Completed in 35 milliseconds