Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs70 vc_index: AtomicUsize::new(usize::MAX), in new()
309 vc_index: AtomicUsize, field
439 vc_manager().get(self.vc_index()?).unwrap().vc_data() in vc_data()
443 self.vc_index.store(index, Ordering::SeqCst); in set_vc_index()
446 pub fn vc_index(&self) -> Option<usize> { in vc_index() method
447 let x = self.vc_index.load(Ordering::SeqCst); in vc_index()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs413 let vc_index = vc_manager().alloc(vc.clone()).ok_or(SystemError::EBUSY)?; in install() localVariable
415 vc_manager().free(vc_index); in install()
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs39 pub vc_index: usize, field
205 vc_index: num, in new()
235 cur_vc == self.vc_index in is_visible()
H A Dmod.rs170 vc_data.lock().vc_index = index; in alloc()