Lines Matching refs:sc_console_unit
104 static int sc_console_unit = -1; variable
575 if (sc_console_unit == unit) { in sc_attach_unit()
647 if (sc_console_unit == unit) { in sc_attach_unit()
690 if (sc_console_unit < 0) /* sc_console == NULL */ in scmeminit()
735 unit, (sc_console_unit == unit) ? SC_KERNEL_CONSOLE : 0); in sctty_open()
775 (scp->sc->unit == sc_console_unit)) in sctty_close()
1193 (sc->unit == sc_console_unit)) in sctty_ioctl()
1214 (sc->unit == sc_console_unit)) in sctty_ioctl()
1751 sc_console_unit = unit; in sc_cninit()
1764 if (sc_console_unit < 0) in sc_cnterm()
1781 scterm(sc_console_unit, SC_KERNEL_CONSOLE); in sc_cnterm()
1782 sc_console_unit = -1; in sc_cnterm()
2884 if (sc->unit == sc_console_unit) in sc_switch_scr()
2906 if (sc->unit == sc_console_unit) in do_switch_scr()
2948 if (scp->sc->unit == sc_console_unit) in signal_vt_acq()