Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tty/vt/
Dvc_screen.c95 int currcons = poll->cons_num; in vcs_notifier() local
100 if (currcons == 0) in vcs_notifier()
101 currcons = fg_console; in vcs_notifier()
103 currcons--; in vcs_notifier()
104 if (currcons != vc->vc_num) in vcs_notifier()
169 unsigned int currcons = console(inode); in vcs_vc() local
173 if (currcons == 0) { in vcs_vc()
174 currcons = fg_console; in vcs_vc()
178 currcons--; in vcs_vc()
182 return vc_cons[currcons].d; in vcs_vc()
[all …]
Dvt.c1059 int vc_allocate(unsigned int currcons) /* return 0 on success */ in vc_allocate() argument
1066 if (currcons >= MAX_NR_CONSOLES) in vc_allocate()
1069 if (vc_cons[currcons].d) in vc_allocate()
1082 vc_cons[currcons].d = vc; in vc_allocate()
1084 INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); in vc_allocate()
1086 visual_init(vc, currcons, 1); in vc_allocate()
1101 vcs_make_sysfs(currcons); in vc_allocate()
1107 vc_cons[currcons].d = NULL; in vc_allocate()
1321 struct vc_data *vc_deallocate(unsigned int currcons) in vc_deallocate() argument
1327 if (vc_cons_allocated(currcons)) { in vc_deallocate()
[all …]