Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs99 pub struct TtyDevice { struct
109 impl TtyDevice { argument
110 pub fn new(name: String, id_table: IdTable, tty_type: TtyType) -> Arc<TtyDevice> { in new() argument
112 let dev = TtyDevice { in new()
131 impl IndexNode for TtyDevice { implementation
433 impl DeviceINode for TtyDevice { implementation
439 impl KObject for TtyDevice { implementation
499 impl Device for TtyDevice { implementation
565 impl CharDevice for TtyDevice { implementation
595 let tty = TtyDevice::new( in tty_init()
[all …]
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs22 tty_device::{PtyType, TtyDevice, TtyType},
131 children: Option<BTreeMap<String, Arc<TtyDevice>>>,
136 pub fn children_unchecked(&self) -> &BTreeMap<String, Arc<TtyDevice>> { in children_unchecked() argument
140 pub fn children_unchecked_mut(&mut self) -> &mut BTreeMap<String, Arc<TtyDevice>> { in children_unchecked_mut() argument
235 let result = TtyDevice::new( in create_with_data()
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dmod.rs25 tty_device::{TtyDevice, TtyType},
299 let vc0 = TtyDevice::new( in vty_init()
/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs25 tty_device::{TtyDevice, TtyType},
227 let ptmx_dev = TtyDevice::new( in unix98pty_init()