Searched refs:MAXCONS (Results 1 – 6 of 6) sorted by relevance
67 #define SC_MAX_HISTORY_SIZE (1000 * MAXCONS * MAXSC)74 #if (SC_HISTORY_SIZE * MAXCONS * MAXSC) > SC_MAX_HISTORY_SIZE76 #define SC_MAX_HISTORY_SIZE (SC_HISTORY_SIZE * MAXCONS * MAXSC)81 = SC_MAX_HISTORY_SIZE - SC_HISTORY_SIZE*MAXCONS;
45 #ifndef MAXCONS46 #define MAXCONS 16 macro
112 static struct tty *main_devs[MAXCONS];649 sc->dev[vc] = sc_alloc_tty(vc, vc + unit * MAXCONS); in sc_attach_unit()707 else if ((vty < 0) || (vty >= MAXCONS*sc_max_unit())) in scdevtounit()710 return vty/MAXCONS; in scdevtounit()3242 sc->first_vty = unit*MAXCONS; in scinit()3243 sc->vtys = MAXCONS; /* XXX: should be configurable */ in scinit()3263 sc->dev[0] = sc_alloc_tty(0, unit * MAXCONS); in scinit()
56 #ifdef MAXCONS57 #define VT_MAXWINDOWS MAXCONS
776 MAXCONS opt_syscons.h
1492 options MAXCONS=16 # number of virtual consoles