Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs375 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry()
469 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry_raw()
937 v.resize(num_lba * LBA_SIZE, 0); in get_free_cluster()
983 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
1015 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
1064 v.resize(LBA_SIZE, 0); in set_entry()
1097 v.resize(LBA_SIZE, 0); in set_entry()
1124 v.resize(LBA_SIZE, 0); in set_entry()
1212 v.resize(bytes_per_sec, 0); in new()
1308 v.resize(LBA_SIZE, 0); in flush()
[all …]
Dbpb.rs224 v.resize(LBA_SIZE, 0); in new()
Dentry.rs1093 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush()
1307 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush()
2141 .resize(index as usize * LongDirEntry::LONG_NAME_STR_LEN, 0); in process()
2371 v.resize(1 * LBA_SIZE, 0); in get_raw_dir_entry()
/DragonOS-0.1.8/kernel/src/io/
Ddevice.rs135 temp.resize(1usize << self.blk_size_log2(), 0); in read_at()
169 temp.resize(1usize << self.blk_size_log2(), 0); in write_at()
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs172 data.resize(offset + len, 0); in write_at()
220 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
223 inode.data.resize(len, 0); in resize()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dfile.rs165 self.inode.resize(self.offset)?; in write()
361 self.inode.resize(len)?; in ftruncate()
Dmount.rs196 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
197 return self.inner_inode.resize(len); in resize()
Dmod.rs171 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
/DragonOS-0.1.8/kernel/src/libs/
Dvec_cursor.rs30 result.data.resize(length, 0); in zerod()
Delf.rs449 data_buf.resize(size, 0); in parse_segments()
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs271 x.resize(buf.len(), 0); in write_at()
407 buf.resize(size_of::<MbrDiskPartionTable>(), 0); in read_mbr_table()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs461 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method
464 inode.data.resize(len, 0); in resize()