Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dfs.rs385 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry()
479 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry_raw()
948 v.resize(num_lba * LBA_SIZE, 0); in get_free_cluster()
994 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
1026 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
1075 v.resize(LBA_SIZE, 0); in set_entry()
1108 v.resize(LBA_SIZE, 0); in set_entry()
1135 v.resize(LBA_SIZE, 0); in set_entry()
1223 v.resize(bytes_per_sec, 0); in new()
1319 v.resize(LBA_SIZE, 0); in flush()
[all …]
Dbpb.rs224 v.resize(LBA_SIZE, 0); in new()
Dentry.rs1088 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush()
1302 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush()
2136 .resize(index as usize * LongDirEntry::LONG_NAME_STR_LEN, 0); in process()
2366 v.resize(1 * LBA_SIZE, 0); in get_raw_dir_entry()
/DragonOS-0.1.9/kernel/src/filesystem/ramfs/
Dmod.rs134 inode.data.resize(len, 0); in truncate()
206 data.resize(offset + len, 0); in write_at()
242 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
245 inode.data.resize(len, 0); in resize()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/
Dframebuffer_console.rs151 dst.resize(src.len(), 0); in bit_put_string()
228 vc_data.screen_buf.resize(new_size, 0); in con_init()
375 palette.resize(16, Color::default()); in con_set_palette()
636 image.data.resize(cellsize as usize * count as usize, 0); in put_string()
684 .resize(w as usize * vc_data.font.height as usize, 0); in cursor()
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dfile.rs256 self.inode.resize(offset)?; in do_write()
468 self.inode.resize(len)?; in ftruncate()
548 data.resize(FileDescriptorVec::PROCESS_MAX_FD, None); in new()
Dmount.rs205 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
206 return self.inner_inode.resize(len); in resize()
Dmod.rs204 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
Dsyscall.rs922 data.resize(iovecs.0.iter().map(|x| x.len()).sum(), 0); in readv()
1118 buf.resize(total_len, 0); in new_buf()
/DragonOS-0.1.9/kernel/src/driver/base/block/
Dblock_device.rs266 temp.resize(1usize << self.blk_size_log2(), 0); in write_at_bytes()
310 temp.resize(1usize << self.blk_size_log2(), 0); in read_at_bytes()
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahcidisk.rs115 x.resize(buf.len(), 0); in read_at()
270 x.resize(buf.len(), 0); in write_at()
405 buf.resize(size_of::<MbrDiskPartionTable>(), 0); in read_mbr_table()
/DragonOS-0.1.9/kernel/src/libs/
Dvec_cursor.rs31 result.data.resize(length, 0); in zerod()
Delf.rs483 data_buf.resize(size, 0); in parse_segments()
/DragonOS-0.1.9/kernel/src/filesystem/procfs/
Dmod.rs535 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
538 inode.data.resize(len, 0); in resize()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dfbmem.rs437 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
Dmod.rs33 ret.resize(FrameBufferManager::FB_MAX, None);
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_device.rs256 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/
Dvesafb.rs99 fb_info_data.pesudo_palette.resize(256, 0); in new()
537 tmp.resize(size, 0); in fb_copyarea()
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_device.rs649 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/
Dmod.rs168 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS-0.1.9/kernel/src/net/socket/
Dmod.rs382 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/
Dvirtual_console.rs226 self.screen_buf.resize(self.cols * self.rows, 0); in init()
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.9.md1804 修改 tty 中resize bug (#383)