Searched refs:TtyFlag (Results 1 – 6 of 6) sorted by relevance
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | mod.rs | 24 tty_core::{TtyCore, TtyCoreData, TtyFlag, TtyPacketStatus}, 146 if core.flags().contains(TtyFlag::OTHER_CLOSED) { in pty_common_open() 147 core.flags_write().insert(TtyFlag::IO_ERROR); in pty_common_open() 151 if link_core.flags().contains(TtyFlag::PTY_LOCK) { in pty_common_open() 152 core.flags_write().insert(TtyFlag::IO_ERROR); in pty_common_open() 160 core.flags_write().insert(TtyFlag::IO_ERROR); in pty_common_open() 164 core.flags_write().remove(TtyFlag::IO_ERROR); in pty_common_open() 165 link_core.flags_write().remove(TtyFlag::OTHER_CLOSED); in pty_common_open() 166 core.flags_write().insert(TtyFlag::THROTTLED); in pty_common_open() 178 tty.flags_write().insert(TtyFlag::PTY_LOCK); in pty_set_lock() [all …]
|
H A D | unix98pty.rs | 7 tty_core::{TtyCore, TtyCoreData, TtyFlag, TtyIoctlCmd, TtyPacketStatus}, 275 core.flags_write().insert(TtyFlag::PTY_LOCK); in ptmx_open()
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | mod.rs | 10 tty_core::{TtyCore, TtyCoreData, TtyFlag}, 118 o_tty.core().flags_write().remove(TtyFlag::LDISC_OPEN); in ldisc_setup()
|
H A D | ntty.rs | 13 tty_core::{EchoOperation, TtyCore, TtyCoreData, TtyFlag, TtyIoctlCmd, TtyPacketStatus}, 225 if tty.core().flags().contains(TtyFlag::LDISC_CHANGING) { in receive_buf_common() 1668 if core.flags().contains(TtyFlag::OTHER_CLOSED) { in read() 1673 if core.flags().contains(TtyFlag::HUPPED) || core.flags().contains(TtyFlag::HUPPING) in read() 1679 || core.flags().contains(TtyFlag::LDISC_CHANGING) in read() 1771 if core.flags().contains(TtyFlag::HUPPED) { in write() 1821 if mode.contains(FileMode::O_NONBLOCK) || core.flags().contains(TtyFlag::LDISC_CHANGING) in write() 2085 if core.flags().contains(TtyFlag::OTHER_CLOSED) { in poll()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_core.rs | 63 flags: RwLock::new(TtyFlag::empty()), in new() 161 if self.core.flags().contains(TtyFlag::DO_WRITE_WAKEUP) { in tty_wakeup() 306 flags: RwLock<TtyFlag>, 366 pub fn flags(&self) -> TtyFlag { in flags() argument 371 pub fn flags_write(&self) -> RwLockWriteGuard<'_, TtyFlag> { in flags_write() argument 619 pub struct TtyFlag: u32 {
|
H A D | tty_device.rs | 47 tty_core::{TtyCore, TtyFlag, TtyIoctlCmd}, 244 if core.flags().contains(TtyFlag::NO_WRITE_SPLIT) { in write_at()
|