Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs365 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry()
459 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry_raw()
927 v.resize(num_lba * LBA_SIZE, 0); in get_free_cluster()
973 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
1005 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
1054 v.resize(LBA_SIZE, 0); in set_entry()
1087 v.resize(LBA_SIZE, 0); in set_entry()
1114 v.resize(LBA_SIZE, 0); in set_entry()
1202 v.resize(bytes_per_sec, 0); in new()
1298 v.resize(LBA_SIZE, 0); in flush()
[all …]
Dbpb.rs185 v.resize(LBA_SIZE, 0); in new()
Dentry.rs1073 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush()
1283 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush()
2113 .resize(index as usize * LongDirEntry::LONG_NAME_STR_LEN, 0); in process()
2343 v.resize(1 * LBA_SIZE, 0); in get_raw_dir_entry()
/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs125 temp.resize(1usize << self.blk_size_log2(), 0); in read_at()
159 temp.resize(1usize << self.blk_size_log2(), 0); in write_at()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs174 data.resize(offset + len, 0); in write_at()
224 fn resize(&self, len: usize) -> Result<(), i32> { in resize() method
227 inode.data.resize(len, 0); in resize()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmount.rs201 fn resize(&self, len: usize) -> Result<(), i32> { in resize() method
202 return self.inner_inode.resize(len); in resize()
Dmod.rs169 fn resize(&self, _len: usize) -> Result<(), i32> { in resize() method
/DragonOS-0.1.5/kernel/src/libs/
Dvec_cursor.rs33 result.data.resize(length, 0); in zerod()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs461 fn resize(&self, len: usize) -> Result<(), i32> { in resize() method
464 inode.data.resize(len, 0); in resize()
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahcidisk.rs359 buf.resize(size_of::<MbrDiskPartionTable>(), 0); in read_mbr_table()