currcons 95 drivers/tty/vt/vc_screen.c int currcons = poll->cons_num; currcons 109 drivers/tty/vt/vc_screen.c if (currcons == 0) currcons 110 drivers/tty/vt/vc_screen.c currcons = fg_console; currcons 112 drivers/tty/vt/vc_screen.c currcons--; currcons 113 drivers/tty/vt/vc_screen.c if (currcons != vc->vc_num) currcons 187 drivers/tty/vt/vc_screen.c unsigned int currcons = console(inode); currcons 191 drivers/tty/vt/vc_screen.c if (currcons == 0) { currcons 192 drivers/tty/vt/vc_screen.c currcons = fg_console; currcons 196 drivers/tty/vt/vc_screen.c currcons--; currcons 200 drivers/tty/vt/vc_screen.c return vc_cons[currcons].d; currcons 679 drivers/tty/vt/vc_screen.c unsigned int currcons = console(inode); currcons 689 drivers/tty/vt/vc_screen.c if(currcons && !vc_cons_allocated(currcons-1)) currcons 1095 drivers/tty/vt/vt.c int vc_allocate(unsigned int currcons) /* return 0 on success */ currcons 1102 drivers/tty/vt/vt.c if (currcons >= MAX_NR_CONSOLES) currcons 1105 drivers/tty/vt/vt.c if (vc_cons[currcons].d) currcons 1118 drivers/tty/vt/vt.c vc_cons[currcons].d = vc; currcons 1121 drivers/tty/vt/vt.c INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); currcons 1123 drivers/tty/vt/vt.c visual_init(vc, currcons, 1); currcons 1138 drivers/tty/vt/vt.c vcs_make_sysfs(currcons); currcons 1145 drivers/tty/vt/vt.c vc_cons[currcons].d = NULL; currcons 1360 drivers/tty/vt/vt.c struct vc_data *vc_deallocate(unsigned int currcons) currcons 1366 drivers/tty/vt/vt.c if (vc_cons_allocated(currcons)) { currcons 1369 drivers/tty/vt/vt.c param.vc = vc = vc_cons[currcons].d; currcons 1371 drivers/tty/vt/vt.c vcs_remove_sysfs(currcons); currcons 1376 drivers/tty/vt/vt.c vc_cons[currcons].d = NULL; currcons 2585 drivers/tty/vt/vt.c unsigned int currcons; currcons 2608 drivers/tty/vt/vt.c currcons = vc->vc_num; currcons 2609 drivers/tty/vt/vt.c if (!vc_cons_allocated(currcons)) { currcons 2611 drivers/tty/vt/vt.c pr_warn_once("con_write: tty %d not allocated\n", currcons+1); currcons 3252 drivers/tty/vt/vt.c unsigned int currcons = tty->index; currcons 3257 drivers/tty/vt/vt.c ret = vc_allocate(currcons); currcons 3261 drivers/tty/vt/vt.c vc = vc_cons[currcons].d; currcons 3278 drivers/tty/vt/vt.c tty->winsize.ws_row = vc_cons[currcons].d->vc_rows; currcons 3279 drivers/tty/vt/vt.c tty->winsize.ws_col = vc_cons[currcons].d->vc_cols; currcons 3361 drivers/tty/vt/vt.c unsigned int currcons = 0, i; currcons 3394 drivers/tty/vt/vt.c for (currcons = 0; currcons < MIN_NR_CONSOLES; currcons++) { currcons 3395 drivers/tty/vt/vt.c vc_cons[currcons].d = vc = kzalloc(sizeof(struct vc_data), GFP_NOWAIT); currcons 3396 drivers/tty/vt/vt.c INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); currcons 3398 drivers/tty/vt/vt.c visual_init(vc, currcons, 1); currcons 3401 drivers/tty/vt/vt.c currcons || !vc->vc_sw->con_save_screen); currcons 3403 drivers/tty/vt/vt.c currcons = fg_console = 0; currcons 3404 drivers/tty/vt/vt.c master_display_fg = vc = vc_cons[currcons].d;