Searched refs:WindowSize (Results 1 – 8 of 8) sorted by relevance
/DragonOS/kernel/src/driver/tty/ |
H A D | termios.rs | 6 pub struct WindowSize { struct 17 impl WindowSize { impl 18 pub const DEFAULT: WindowSize = WindowSize::new(24, 80, 1, 1);
|
H A D | tty_core.rs | 27 termios::{ControlMode, PosixTermios, Termios, TtySetTermiosOpt, WindowSize}, 65 window_size: RwLock::new(WindowSize::default()), in new() 274 pub fn tty_do_resize(&self, windowsize: WindowSize) -> Result<(), SystemError> { in tty_do_resize() 312 window_size: RwLock<WindowSize>, 418 pub fn window_size_upgradeable(&self) -> RwLockUpgradableGuard<WindowSize> { in window_size_upgradeable() argument 423 pub fn window_size(&self) -> RwLockReadGuard<WindowSize> { in window_size() argument 428 pub fn window_size_write(&self) -> RwLockWriteGuard<WindowSize> { in window_size_write() argument 613 fn resize(&self, tty: Arc<TtyCore>, winsize: WindowSize) -> Result<(), SystemError> { in resize()
|
H A D | tty_device.rs | 46 termios::WindowSize, 371 VirtAddr::new(arg).as_ptr::<WindowSize>(), in ioctl() 372 core::mem::size_of::<WindowSize>(), in ioctl() 385 core::mem::size_of::<WindowSize>(), in ioctl() 389 let user_winsize = reader.read_one_from_user::<WindowSize>(0)?; in ioctl()
|
H A D | tty_driver.rs | 36 termios::{Termios, WindowSize}, 512 fn resize(&self, _tty: Arc<TtyCore>, _winsize: WindowSize) -> Result<(), SystemError> { in resize()
|
/DragonOS/kernel/src/driver/video/console/ |
H A D | dummycon.rs | 6 termios::WindowSize, 70 WindowSize::new(Self::ROWS as u16, Self::COLUNMS as u16, 0, 0), in con_init()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | serial8250_pio.rs | 24 termios::WindowSize, 392 fn resize(&self, tty: Arc<TtyCore>, winsize: WindowSize) -> Result<(), SystemError> { in resize() 402 *tty.core().window_size_write() = WindowSize::DEFAULT; in install() 438 core.resize( core.clone(), WindowSize::DEFAULT) in serial_8250_pio_register_tty_devices()
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 233 winsize: crate::driver::tty::termios::WindowSize, in resize() argument
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | mod.rs | 409 _winsize: super::termios::WindowSize, in resize() argument
|