Lines Matching full:active
70 * specified, mark them as active. Else, mark the first probed console
71 * as active. Also create the console variable.
77 int active; in cons_probe() local
97 active = -1; in cons_probe()
98 for (cons = 0; consoles[cons] != NULL && active == -1; cons++) { in cons_probe()
102 active = cons; in cons_probe()
105 if (active == -1) in cons_probe()
106 active = 0; in cons_probe()
116 consoles[active]->c_flags |= C_ACTIVEIN | C_ACTIVEOUT; in cons_probe()
117 consoles[active]->c_init(0); in cons_probe()
118 prefconsole = strdup(consoles[active]->c_name); in cons_probe()
142 /* Loop forever polling all active consoles */ in getchar()
266 int cons, active; in cons_change() local
276 active = 0; in cons_change()
288 active++; in cons_change()
292 if (active != 0) { in cons_change()
305 if (active == 0) { in cons_change()
316 active++; in cons_change()
319 if (active == 0) in cons_change()