Home
last modified time | relevance | path

Searched refs:current_vc (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/libs/
H A Dprintk.rs41 if let Some(current_vc) = vc_manager().current_vc() { in __write_string()
43 let port = current_vc.port(); in __write_string()
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dmod.rs144 current_vc: RwLock<Option<(Arc<VirtConsole>, usize)>>, field
156 current_vc: RwLock::new(None), in new()
187 pub fn current_vc(&self) -> Option<Arc<VirtConsole>> { in current_vc() method
188 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()
/DragonOS/kernel/src/driver/tty/
H A Dkthread.rs52 if let Some(cur_vc) = vc_manager().current_vc() { in tty_refresh_thread()
/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui.rs1027 if let Some(current_vc) = vc_manager().current_vc() { in rs_textui_putchar()
1039 let port = current_vc.port(); in rs_textui_putchar()