Lines Matching refs:MAX_NR_CONSOLES
137 struct vc vc_cons [MAX_NR_CONSOLES];
140 static const struct consw *con_driver_map[MAX_NR_CONSOLES];
994 return (i < MAX_NR_CONSOLES && vc_cons[i].d); in vc_cons_allocated()
1060 if (currcons >= MAX_NR_CONSOLES) in vc_allocate()
3104 return co->index >= MAX_NR_CONSOLES ? -EINVAL : 0; in vt_console_setup()
3456 con_driver->last = MAX_NR_CONSOLES - 1; in con_init()
3461 for (i = 0; i < MAX_NR_CONSOLES; i++) in con_init()
3550 console_driver = tty_alloc_driver(MAX_NR_CONSOLES, TTY_DRIVER_REAL_RAW | in vty_init()
3795 if (first == 0 && last == MAX_NR_CONSOLES -1) in vt_bind()
3834 if (first == 0 && last == MAX_NR_CONSOLES -1) in vt_unbind()
3941 for (i = 0; i < MAX_NR_CONSOLES; i++) { in con_is_bound()
4478 for (i = 0; i < MAX_NR_CONSOLES; i++) { in con_set_cmap()