Searched refs:pts_driver (Results 1 – 2 of 2) sorted by relevance
40 pub(super) fn pts_driver() -> Arc<TtyDriver> { in pts_driver() function219 let pts_driver = pts_driver(); in unix98pty_init() localVariable220 ptm_driver.set_other_pty_driver(Arc::downgrade(&pts_driver)); in unix98pty_init()221 pts_driver.set_other_pty_driver(Arc::downgrade(&ptm_driver)); in unix98pty_init()238 TTY_DRIVERS.lock().push(pts_driver); in unix98pty_init()268 let mut pts_driver = TtyDriver::new( in pty_init() localVariable279 pts_driver.set_subtype(TtyDriverSubType::PtySlave); in pty_init()280 let term = pts_driver.init_termios_mut(); in pty_init()287 PTS_DRIVER.init(TtyDriverManager::tty_register_driver(pts_driver).unwrap()); in pty_init()
24 use super::{ptm_driver, pts_driver, PtyCommon};207 return pts_driver() in lookup()