Home
last modified time | relevance | path

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

/kernel/printk/
Dprintk.c2917 static int try_enable_new_console(struct console *newcon, bool user_specified) in try_enable_new_console() argument
2927 if (!newcon->match || in try_enable_new_console()
2928 newcon->match(newcon, c->name, c->index, c->options) != 0) { in try_enable_new_console()
2930 BUILD_BUG_ON(sizeof(c->name) != sizeof(newcon->name)); in try_enable_new_console()
2931 if (strcmp(c->name, newcon->name) != 0) in try_enable_new_console()
2933 if (newcon->index >= 0 && in try_enable_new_console()
2934 newcon->index != c->index) in try_enable_new_console()
2936 if (newcon->index < 0) in try_enable_new_console()
2937 newcon->index = c->index; in try_enable_new_console()
2939 if (_braille_register_console(newcon, c)) in try_enable_new_console()
[all …]