Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/dev/i386/ !
H A Dcons.c58 struct tty *constty; /* current console device */ variable
79 if (constty) { in cndev()
80 return constty->t_dev; in cndev()
132 if ((unsigned) cmd == TIOCCONS && constty) { in cnioctl()
135 constty = NULL; in cnioctl()
/xnu-8792.41.9/bsd/dev/arm/ !
H A Dcons.c23 struct tty *constty; /* current console device */ variable
44 if (constty) { in cndev()
45 return constty->t_dev; in cndev()
96 if ((unsigned) cmd == TIOCCONS && constty) { in cnioctl()
101 constty = NULL; in cnioctl()
/xnu-8792.41.9/bsd/kern/ !
H A Dsubr_prf.c126 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()
H A Dtty.c347 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()
/xnu-8792.41.9/bsd/machine/ !
H A Dcons.h61 extern struct tty *constty; /* current console device */