Searched refs:currcons (Results 1 – 2 of 2) sorted by relevance
95 int currcons = poll->cons_num; in vcs_notifier() local109 if (currcons == 0) in vcs_notifier()110 currcons = fg_console; in vcs_notifier()112 currcons--; in vcs_notifier()113 if (currcons != vc->vc_num) in vcs_notifier()187 unsigned int currcons = console(inode); in vcs_vc() local191 if (currcons == 0) { in vcs_vc()192 currcons = fg_console; in vcs_vc()196 currcons--; in vcs_vc()200 return vc_cons[currcons].d; in vcs_vc()[all …]
1066 int vc_allocate(unsigned int currcons) /* return 0 on success */ in vc_allocate() argument1073 if (currcons >= MAX_NR_CONSOLES) in vc_allocate()1076 if (vc_cons[currcons].d) in vc_allocate()1089 vc_cons[currcons].d = vc; in vc_allocate()1091 INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); in vc_allocate()1093 visual_init(vc, currcons, 1); in vc_allocate()1108 vcs_make_sysfs(currcons); in vc_allocate()1115 vc_cons[currcons].d = NULL; in vc_allocate()1330 struct vc_data *vc_deallocate(unsigned int currcons) in vc_deallocate() argument1336 if (vc_cons_allocated(currcons)) { in vc_deallocate()[all …]