Searched refs:vc_active_console (Results 1 – 5 of 5) sorted by relevance
53 minor_t vc_active_console = VT_MINOR_INVALID; variable65 _NOTE(MUTEX_PROTECTS_DATA(vc_lock, wc_dip vc_avl_root vc_active_console in _NOTE()95 if (vc_active_console == 0 || vc_active_console == VT_MINOR_INVALID) in vt_getactive()98 (void) snprintf(buf, buflen, "%u", vc_active_console); in vt_getactive()
364 if (vc_active_console == VT_MINOR_INVALID && minor != VT_DAEMON_MINOR) in vt_open()368 vc_active_console = minor; in vt_open()412 ASSERT(vc_active_console != VT_MINOR_INVALID); in vt_find_prev()428 ASSERT(vc_active_console != VT_MINOR_INVALID); in vt_find_next()538 if (vc_active_console == VT_MINOR_INVALID) in vt_check_hotkeys()541 if (VT_IS_DAEMON(vc_active_console)) { in vt_check_hotkeys()546 minor = vt_find_prev(vc_active_console); in vt_check_hotkeys()550 if (vc_active_console == VT_MINOR_INVALID) in vt_check_hotkeys()553 if (VT_IS_DAEMON(vc_active_console)) { in vt_check_hotkeys()558 minor = vt_find_next(vc_active_console); in vt_check_hotkeys()[all …]
469 if (pvc->vc_minor == 0 || pvc->vc_minor == vc_active_console) { in wcclose()475 if (pvc->vc_minor == 0 && pvc->vc_minor == vc_active_console) { in wcclose()476 vc_active_console = VT_MINOR_INVALID; in wcclose()
121 extern minor_t vc_active_console;
59 readable vc_active_console