Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs147 core.flags_write().insert(TtyFlag::IO_ERROR); 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()
180 tty.flags_write().remove(TtyFlag::PTY_LOCK); in pty_set_lock()
H A Dunix98pty.rs275 core.flags_write().insert(TtyFlag::PTY_LOCK); in ptmx_open()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dmod.rs118 o_tty.core().flags_write().remove(TtyFlag::LDISC_OPEN); in ldisc_setup()
/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs371 pub fn flags_write(&self) -> RwLockWriteGuard<'_, TtyFlag> { in flags_write() method