Lines Matching refs:currcons

1052 int vc_allocate(unsigned int currcons)	/* return 0 on success */  in vc_allocate()  argument
1060 if (currcons >= MAX_NR_CONSOLES) in vc_allocate()
1063 if (vc_cons[currcons].d) in vc_allocate()
1076 vc_cons[currcons].d = vc; in vc_allocate()
1079 INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); in vc_allocate()
1081 visual_init(vc, currcons, 1); in vc_allocate()
1101 vcs_make_sysfs(currcons); in vc_allocate()
1108 vc_cons[currcons].d = NULL; in vc_allocate()
1332 struct vc_data *vc_deallocate(unsigned int currcons) in vc_deallocate() argument
1338 if (vc_cons_allocated(currcons)) { in vc_deallocate()
1341 param.vc = vc = vc_cons[currcons].d; in vc_deallocate()
1343 vcs_remove_sysfs(currcons); in vc_deallocate()
1349 vc_cons[currcons].d = NULL; in vc_deallocate()
2844 unsigned int currcons; in do_con_write() local
2860 currcons = vc->vc_num; in do_con_write()
2861 if (!vc_cons_allocated(currcons)) { in do_con_write()
2863 pr_warn_once("con_write: tty %d not allocated\n", currcons+1); in do_con_write()
3326 unsigned int currcons = tty->index; in con_install() local
3331 ret = vc_allocate(currcons); in con_install()
3335 vc = vc_cons[currcons].d; in con_install()
3352 tty->winsize.ws_row = vc_cons[currcons].d->vc_rows; in con_install()
3353 tty->winsize.ws_col = vc_cons[currcons].d->vc_cols; in con_install()
3435 unsigned int currcons = 0, i; in con_init() local
3469 for (currcons = 0; currcons < MIN_NR_CONSOLES; currcons++) { in con_init()
3470 vc_cons[currcons].d = vc = kzalloc(sizeof(struct vc_data), GFP_NOWAIT); in con_init()
3471 INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); in con_init()
3473 visual_init(vc, currcons, 1); in con_init()
3477 currcons || !vc->vc_sw->con_save_screen); in con_init()
3479 currcons = fg_console = 0; in con_init()
3480 master_display_fg = vc = vc_cons[currcons].d; in con_init()