Lines Matching refs:console
339 unsigned int console; in vt_ioctl() local
346 console = vc->vc_num; in vt_ioctl()
349 if (!vc_cons_allocated(console)) { /* impossible? */ in vt_ioctl()
484 if (console != fg_console) in vt_ioctl()
513 ret = vt_do_kdskbmode(console, arg); in vt_ioctl()
519 uival = vt_do_kdgkbmode(console); in vt_ioctl()
526 ret = vt_do_kdskbmeta(console, arg); in vt_ioctl()
531 uival = vt_do_kdgkbmeta(console); in vt_ioctl()
545 ret = vt_do_kdsk_ioctl(cmd, up, perm, console); in vt_ioctl()
568 ret = vt_do_kdskled(console, cmd, arg, perm); in vt_ioctl()
703 if (vsa.console == 0 || vsa.console > MAX_NR_CONSOLES) in vt_ioctl()
706 vsa.console--; in vt_ioctl()
708 ret = vc_allocate(vsa.console); in vt_ioctl()
714 nvc = vc_cons[vsa.console].d; in vt_ioctl()
725 set_console(vsa.console); in vt_ioctl()
1201 unsigned int console; in vt_compat_ioctl() local
1206 console = vc->vc_num; in vt_compat_ioctl()
1208 if (!vc_cons_allocated(console)) { /* impossible? */ in vt_compat_ioctl()