Searched refs:current_vc (Results 1 – 4 of 4) sorted by relevance
41 if let Some(current_vc) = vc_manager().current_vc() { in __write_string()43 let port = current_vc.port(); in __write_string()
144 current_vc: RwLock<Option<(Arc<VirtConsole>, usize)>>, field156 current_vc: RwLock::new(None), in new()187 pub fn current_vc(&self) -> Option<Arc<VirtConsole>> { in current_vc() method188 self.current_vc.read().as_ref().map(|(vc, _)| vc.clone()) in current_vc()192 self.current_vc.read().as_ref().map(|(_, index)| *index) in current_vc_index()196 self.current_vc() in current_vc_tty_name()204 *self.current_vc.write() = Some((vc, index)); in set_current_vc()
52 if let Some(cur_vc) = vc_manager().current_vc() { in tty_refresh_thread()
1027 if let Some(current_vc) = vc_manager().current_vc() { in rs_textui_putchar()1039 let port = current_vc.port(); in rs_textui_putchar()