Home
last modified time | relevance | path

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

/drivers/tty/vt/
Dvc_screen.c68 int currcons = poll->cons_num; in vcs_notifier() local
73 if (currcons == 0) in vcs_notifier()
74 currcons = fg_console; in vcs_notifier()
76 currcons--; in vcs_notifier()
77 if (currcons != vc->vc_num) in vcs_notifier()
142 unsigned int currcons = iminor(inode) & 127; in vcs_vc() local
146 if (currcons == 0) { in vcs_vc()
147 currcons = fg_console; in vcs_vc()
151 currcons--; in vcs_vc()
155 return vc_cons[currcons].d; in vcs_vc()
[all …]
Dvt.c769 int vc_allocate(unsigned int currcons) /* return 0 on success */ in vc_allocate() argument
773 if (currcons >= MAX_NR_CONSOLES) in vc_allocate()
775 if (!vc_cons[currcons].d) { in vc_allocate()
780 if (currcons >= MAX_NR_USER_CONSOLES && !capable(CAP_SYS_RESOURCE)) in vc_allocate()
792 vc_cons[currcons].d = vc; in vc_allocate()
794 INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); in vc_allocate()
795 visual_init(vc, currcons, 1); in vc_allocate()
801 vc_cons[currcons].d = NULL; in vc_allocate()
811 vcs_make_sysfs(currcons); in vc_allocate()
1006 void vc_deallocate(unsigned int currcons) in vc_deallocate() argument
[all …]