Searched refs:resize (Results 1 – 12 of 12) sorted by relevance
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 375 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 …]
|
D | bpb.rs | 224 v.resize(LBA_SIZE, 0); in new()
|
D | entry.rs | 1093 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/ |
D | device.rs | 135 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/ |
D | mod.rs | 172 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/ |
D | file.rs | 165 self.inode.resize(self.offset)?; in write() 361 self.inode.resize(len)?; in ftruncate()
|
D | mount.rs | 196 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method 197 return self.inner_inode.resize(len); in resize()
|
D | mod.rs | 171 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() method
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | vec_cursor.rs | 30 result.data.resize(length, 0); in zerod()
|
D | elf.rs | 449 data_buf.resize(size, 0); in parse_segments()
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 271 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/ |
D | mod.rs | 461 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() method 464 inode.data.resize(len, 0); in resize()
|