Searched refs:resize (Results 1 – 10 of 10) sorted by relevance
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | fs.rs | 365 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 …]
|
D | bpb.rs | 185 v.resize(LBA_SIZE, 0); in new()
|
D | entry.rs | 1073 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/ |
D | device.rs | 125 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/ |
D | mod.rs | 174 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/ |
D | mount.rs | 201 fn resize(&self, len: usize) -> Result<(), i32> { in resize() method 202 return self.inner_inode.resize(len); in resize()
|
D | mod.rs | 169 fn resize(&self, _len: usize) -> Result<(), i32> { in resize() method
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | vec_cursor.rs | 33 result.data.resize(length, 0); in zerod()
|
/DragonOS-0.1.5/kernel/src/filesystem/procfs/ |
D | mod.rs | 461 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/ |
D | ahcidisk.rs | 359 buf.resize(size_of::<MbrDiskPartionTable>(), 0); in read_mbr_table()
|