is_console_locked 126 include/linux/console.h extern int is_console_locked(void); is_console_locked 145 include/linux/console.h #define WARN_CONSOLE_UNLOCKED() WARN_ON(!is_console_locked() && !oops_in_progress)