Lines Matching refs:sc_console_unit
102 static int sc_console_unit = -1; variable
573 if (sc_console_unit == unit) { in sc_attach_unit()
645 if (sc_console_unit == unit) { in sc_attach_unit()
688 if (sc_console_unit < 0) /* sc_console == NULL */ in scmeminit()
733 unit, (sc_console_unit == unit) ? SC_KERNEL_CONSOLE : 0); in sctty_open()
773 (scp->sc->unit == sc_console_unit)) in sctty_close()
1191 (sc->unit == sc_console_unit)) in sctty_ioctl()
1212 (sc->unit == sc_console_unit)) in sctty_ioctl()
1753 sc_console_unit = unit; in sc_cninit()
1766 if (sc_console_unit < 0) in sc_cnterm()
1783 scterm(sc_console_unit, SC_KERNEL_CONSOLE); in sc_cnterm()
1784 sc_console_unit = -1; in sc_cnterm()
2886 if (sc->unit == sc_console_unit) in sc_switch_scr()
2908 if (sc->unit == sc_console_unit) in do_switch_scr()
2950 if (scp->sc->unit == sc_console_unit) in signal_vt_acq()