Lines Matching refs:fg_console
61 if (i == fg_console) in vt_busy()
223 if (n == fg_console + 1) { in vt_waitactive()
271 if (vc->vc_num != fg_console) in vt_kdsetmode()
502 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl()
811 if (put_user(fg_console + 1, &vtstat->v_active)) in vt_ioctl()
1052 if (!perm && fg_console != vc->vc_num) in compat_unimap_ioctl()
1132 int old = fg_console; in complete_change_console()
1134 last_console = fg_console; in complete_change_console()
1141 old_vc_mode = vc_cons[fg_console].d->vc_mode; in complete_change_console()
1207 if (!new_vc || new_vc->vc_num == fg_console || vt_dont_switch) in change_console()
1225 vc = vc_cons[fg_console].d; in change_console()
1284 prev = fg_console; in vt_move_to_console()