Lines Matching refs:VirtConsole
67 pub struct VirtConsole { struct
78 impl VirtConsole { argument
138 consoles: HashMap<usize, Arc<VirtConsole>>,
144 current_vc: RwLock<Option<(Arc<VirtConsole>, usize)>>,
160 pub fn get(&self, index: usize) -> Option<Arc<VirtConsole>> { in get() argument
165 pub fn alloc(&self, vc: Arc<VirtConsole>) -> Option<usize> { in alloc()
187 pub fn current_vc(&self) -> Option<Arc<VirtConsole>> { in current_vc() argument
202 pub fn set_current_vc(&self, vc: Arc<VirtConsole>) { in set_current_vc() argument
212 pub fn lookup_vc_by_tty_name(&self, name: &str) -> Option<Arc<VirtConsole>> { in lookup_vc_by_tty_name() argument
303 fn do_install(&self, tty: Arc<TtyCore>, vc: &Arc<VirtConsole>) -> Result<(), SystemError> { in do_install()
355 let vc = VirtConsole::new(Some(Arc::new(SpinLock::new(VirtualConsoleData::new( in install()