Lines Matching full:active
89 * specified, mark them as active. Else, mark the first probed console
90 * as active. Also create the console variable.
96 int active; in cons_probe() local
116 active = -1; in cons_probe()
117 for (cons = 0; consoles[cons] != NULL && active == -1; cons++) { in cons_probe()
121 active = cons; in cons_probe()
124 if (active == -1) in cons_probe()
125 active = 0; in cons_probe()
135 consoles[active]->c_flags |= C_ACTIVEIN | C_ACTIVEOUT; in cons_probe()
136 consoles[active]->c_init(0); in cons_probe()
137 prefconsole = strdup(consoles[active]->c_name); in cons_probe()
161 /* Loop forever polling all active consoles */ in getchar()
289 int cons, active; in cons_change() local
299 active = 0; in cons_change()
311 active++; in cons_change()
315 if (active != 0) { in cons_change()
328 if (active == 0) { in cons_change()
339 active++; in cons_change()
342 if (active == 0) in cons_change()