Home
last modified time | relevance | path

Searched refs:resize (Results 1 – 25 of 32) sorted by relevance

12

/DragonOS/kernel/src/driver/video/console/
H A Ddummycon.rs68 tty.resize( in con_init()
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs83 fn resize(&self, _len: usize) -> Result<()> { in resize() method
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs183 inode.data.resize(len, 0); in truncate()
255 data.resize(offset + len, 0); in write_at()
291 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
294 inode.data.resize(len, 0); in resize()
/DragonOS/kernel/src/filesystem/
H A Dmbr.rs91 buf.resize(size_of::<MbrDiskPartionTable>(), 0); in from_disk()
H A Deventfd.rs224 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS/kernel/src/libs/
H A Dvec_cursor.rs31 result.data.resize(length, 0); in zerod()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs231 vc_data.screen_buf.resize(new_size, 0); in con_init()
379 palette.resize(16, Color::default()); in con_set_palette()
640 image.data.resize(cellsize as usize * count as usize, 0); in put_string()
688 .resize(w as usize * vc_data.font.height as usize, 0); in cursor()
/DragonOS/kernel/src/filesystem/vfs/
H A Dfile.rs346 self.inode.resize(offset).map_err(|e| { in do_write()
574 self.inode.resize(len)?; in ftruncate()
668 data.resize(FileDescriptorVec::PROCESS_MAX_FD, None); in new()
H A Dmount.rs320 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
321 return self.inner_inode.resize(len); in resize()
H A Dmod.rs220 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs392 fn resize(&self, tty: Arc<TtyCore>, winsize: WindowSize) -> Result<(), SystemError> { in resize() method
438 core.resize( core.clone(), WindowSize::DEFAULT) in serial_8250_pio_register_tty_devices()
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs311 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
391 let ret = tty.resize(tty.clone(), *user_winsize); in ioctl()
H A Dtty_core.rs613 fn resize(&self, tty: Arc<TtyCore>, winsize: WindowSize) -> Result<(), SystemError> { in resize() method
614 self.core.tty_driver.driver_funcs().resize(tty, winsize) in resize()
H A Dtty_driver.rs512 fn resize(&self, _tty: Arc<TtyCore>, _winsize: WindowSize) -> Result<(), SystemError> { in resize() method
/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs230 fn resize( in resize() method
/DragonOS/kernel/src/perf/
H A Dmod.rs149 fn resize(&self, _len: usize) -> Result<()> { in resize() method
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs582 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
585 inode.data.resize(len, 0); in resize()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs451 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS/kernel/src/bpf/map/
H A Dmod.rs170 fn resize(&self, _len: usize) -> Result<()> { in resize() method
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dmod.rs406 fn resize( in resize() method
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs1498 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
1516 buf.resize(buf_size, 0); in resize()
1546 self.resize(len) in truncate()
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs185 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs659 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS/kernel/src/driver/disk/ahci/
H A Dahcidisk.rs283 x.resize(buf.len(), 0); in write_at()
/DragonOS/kernel/src/net/socket/
H A Dmod.rs399 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method

12