/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | mod.rs | 30 tty: Arc<TtyCore>, in read() 39 tty: Arc<TtyCore>, in write() 44 fn ioctl(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<usize, SystemError>; in ioctl() 49 fn set_termios(&self, tty: Arc<TtyCore>, old: Option<Termios>) -> Result<(), SystemError>; in set_termios() 57 tty: Arc<TtyCore>, in receive_buf() 66 tty: Arc<TtyCore>, in receive_buf2() 102 pub fn ldisc_setup(tty: Arc<TtyCore>, o_tty: Option<Arc<TtyCore>>) -> Result<(), SystemError> { in ldisc_setup()
|
H A D | ntty.rs | 54 fn ioctl_helper(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<usize, SystemError> { in ioctl_helper() 173 tty: Arc<TtyCore>, in receive_buf_common() 237 tty: Arc<TtyCore>, in receive_buf() 324 pub fn flush_echoes(&mut self, tty: Arc<TtyCore>) { in flush_echoes() 340 tty: Arc<TtyCore>, in receive_buf_standard() 403 pub fn receive_special_char(&mut self, mut c: u8, tty: Arc<TtyCore>, lookahead_done: bool) { in receive_special_char() 736 pub fn is_flow_ctrl_char(&mut self, tty: Arc<TtyCore>, c: u8, lookahead_done: bool) -> bool { in is_flow_ctrl_char() 762 tty: Arc<TtyCore>, in recv_sig_char() 783 tty: Arc<TtyCore>, in input_signal() 822 pub fn receive_char(&mut self, c: u8, tty: Arc<TtyCore>) { in receive_char() [all …]
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_job_control.rs | 17 pub fn proc_set_tty(tty: Arc<TtyCore>) { in proc_set_tty() 34 pub fn tty_check_change(tty: Arc<TtyCore>, sig: Signal) -> Result<(), SystemError> { in tty_check_change() 71 pub fn job_ctrl_ioctl(tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<usize, SystemError> { in job_ctrl_ioctl()
|
H A D | tty_core.rs | 38 pub struct TtyCore { struct 39 core: TtyCoreData, argument 44 impl Drop for TtyCore { argument 52 impl TtyCore { impl 156 pub fn tty_mode_ioctl(tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<usize, SystemError> { in tty_mode_ioctl() 198 tty: Arc<TtyCore>, in core_set_termios() 234 pub fn set_termios_next(tty: Arc<TtyCore>, new_termios: Termios) -> Result<(), SystemError> { in set_termios_next() 420 pub fn link(&self) -> Option<Arc<TtyCore>> { in link() 424 pub fn checked_link(&self) -> Result<Arc<TtyCore>, SystemError> { in checked_link() 431 pub fn set_link(&self, link: Weak<TtyCore>) { in set_link() [all …]
|
H A D | tty_port.rs | 60 pub fn internal_tty(&self) -> Option<Arc<TtyCore>> { in internal_tty() 64 pub fn tty(&self) -> Option<Arc<TtyCore>> { in tty() 89 fn setup_internal_tty(&self, tty: Weak<TtyCore>) { in setup_internal_tty()
|
H A D | tty_driver.rs | 173 pub fn add_tty(&self, tty_core: Arc<TtyCore>) { in add_tty() 207 pub fn ttys(&self) -> SpinLockGuard<HashMap<usize, Arc<TtyCore>>> { in ttys() 222 fn lookup_tty(&self, index: usize) -> Option<Arc<TtyCore>> { in lookup_tty() 264 ) -> Result<Arc<TtyCore>, SystemError> { in init_tty_device() 283 pub fn open_tty(index: usize, driver: Arc<TtyDriver>) -> Result<Arc<TtyCore>, SystemError> { in open_tty() 430 fn ioctl(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<(), SystemError>; in ioctl() 436 fn set_termios(&self, _tty: Arc<TtyCore>, _old_termios: Termios) -> Result<(), SystemError> { in set_termios() 444 ) -> Result<Arc<TtyCore>, SystemError> { in lookup() 450 fn resize(&self, _tty: Arc<TtyCore>, _winsize: WindowSize) -> Result<(), SystemError>; in resize()
|
H A D | tty_device.rs | 586 pub fn tty(&self) -> Arc<TtyCore> { in tty()
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 76 fn ioctl(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<(), SystemError> { in ioctl() 107 fn set_termios(&self, tty: Arc<TtyCore>, old_termios: Termios) -> Result<(), SystemError> { in set_termios() 205 ) -> Result<Arc<TtyCore>, SystemError> { in lookup() 232 tty: Arc<TtyCore>, in resize()
|
H A D | mod.rs | 97 tty: Arc<TtyCore>, in pty_common_install()
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | mod.rs | 247 fn ioctl(&self, _tty: Arc<TtyCore>, _cmd: u32, _arg: usize) -> Result<(), SystemError> { in ioctl() 258 _tty: Arc<TtyCore>, in resize()
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 1515 pub fn tty(&self) -> Option<Arc<TtyCore>> { in tty() 1519 pub fn set_tty(&mut self, tty: Arc<TtyCore>) { in set_tty()
|