Searched refs:first_vty (Results 1 – 2 of 2) sorted by relevance
1301 for (i = sc->first_vty; i < sc->first_vty + sc->vtys; i++) { in scioctl()1323 if ((i < sc->first_vty) || (i >= sc->first_vty + sc->vtys)) { in scioctl()2883 if ((next_scr < sc->first_vty) || (next_scr >= sc->first_vty + sc->vtys) in sc_switch_scr()3313 sc->first_vty = unit*MAXCONS; in scinit()3318 init_scp(sc, sc->first_vty, scp); in scinit()3335 scp = alloc_scp(sc, sc->first_vty); in scinit()3631 if (vty == sc->first_vty) in init_scp()4013 for (i = (this_scr - sc->first_vty + 1)%sc->vtys; in scgetc()4014 sc->first_vty + i != this_scr; in scgetc()4016 struct tty *tp = VIRTUAL_TTY(sc, sc->first_vty + i); in scgetc()[all …]
91 #define SC_DEV(sc, vty) ((sc)->dev ? (sc)->dev[(vty) - (sc)->first_vty] : NULL)209 int first_vty; member