Home
last modified time | relevance | path

Searched refs:currcons (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/tty/vt/
H A Dvc_screen.c92 int currcons = poll->cons_num; in vcs_notifier() local
106 if (currcons == 0) in vcs_notifier()
107 currcons = fg_console; in vcs_notifier()
109 currcons--; in vcs_notifier()
110 if (currcons != vc->vc_num) in vcs_notifier()
186 unsigned int currcons = console(inode); in vcs_vc() local
190 if (currcons == 0) { in vcs_vc()
191 currcons = fg_console; in vcs_vc()
195 currcons--; in vcs_vc()
199 return vc_cons[currcons].d; in vcs_vc()
[all …]
H A Dvt.c1048 int vc_allocate(unsigned int currcons) /* return 0 on success */ in vc_allocate() argument
1056 if (currcons >= MAX_NR_CONSOLES) in vc_allocate()
1059 if (vc_cons[currcons].d) in vc_allocate()
1072 vc_cons[currcons].d = vc; in vc_allocate()
1075 INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); in vc_allocate()
1077 visual_init(vc, currcons, true); in vc_allocate()
1097 vcs_make_sysfs(currcons); in vc_allocate()
1104 vc_cons[currcons].d = NULL; in vc_allocate()
1320 struct vc_data *vc_deallocate(unsigned int currcons) in vc_deallocate() argument
1326 if (vc_cons_allocated(currcons)) { in vc_deallocate()
[all …]