/DragonOS-0.1.5/kernel/src/io/ |
D | device.rs | 35 fn read_at(&self, offset: usize, len: usize, buf: &mut [u8]) -> Result<usize, i32>; in read_at() method 60 fn read_at(&self, lba_id_start: BlockId, count: usize, buf: &mut [u8]) -> Result<usize, i32>; in read_at() method 99 fn read_at(&self, offset: usize, len: usize, buf: &mut [u8]) -> Result<usize, i32> { in read_at() method 117 BlockDevice::read_at(self, range.lba_start, count, buf_slice)?; in read_at() 126 BlockDevice::read_at(self, range.lba_start, 1, &mut temp[..])?; in read_at() 161 BlockDevice::read_at(self, range.lba_start, 1, &mut temp[..])?; in write_at()
|
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 119 fn read_at( in read_at() method 131 return self.0.lock().disk.read_at(offset, len, buf); in read_at()
|
D | ahcidisk.rs | 52 fn read_at( in read_at() method 361 self.read_at(0, 1, &mut buf)?; in read_mbr_table() 402 fn read_at( in read_at() method 412 return self.0.lock().read_at(lba_id_start, count, buf); in read_at()
|
D | mod.rs | 206 _dd.read_at(122, 4, &mut read_buf).unwrap(); in __test_ahci() 214 _dd.read_at(122, 4, &mut read_buf2).unwrap(); in __test_ahci()
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | fs.rs | 368 .read_at(fat_ent_lba as usize, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry() 462 .read_at(fat_ent_lba, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry_raw() 928 self.partition.disk().read_at(lba, num_lba, &mut v)?; in get_free_cluster() 976 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster() 1008 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster() 1055 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1088 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1115 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1207 .read_at(in_disk_fs_info_offset as usize / LBA_SIZE, 1, &mut v)?; in new() 1299 partition.disk().read_at(lba, 1, &mut v)?; in flush() [all …]
|
D | bpb.rs | 190 .read_at(partition.lba_start as usize, 1, &mut v)?; in new()
|
D | entry.rs | 132 let r = fs.partition.disk().device().read_at( in read() 1076 .read_at(lba, 1 * fs.lba_per_sector(), &mut v)?; in flush() 1286 .read_at(lba, 1 * fs.lba_per_sector(), &mut v)?; in flush() 2345 fs.partition.disk().read_at(lba, 1, &mut v)?; in get_raw_dir_entry()
|
/DragonOS-0.1.5/kernel/src/filesystem/vfs/ |
D | mod.rs | 117 fn read_at( in read_at() method 413 let len = inode.read_at(0, 256, &mut content, &mut FilePrivateData::Unused)?; in lookup_follow_symlink()
|
D | mount.rs | 153 fn read_at( in read_at() method 160 return self.inner_inode.read_at(offset, len, buf, data); in read_at()
|
D | file.rs | 131 .read_at(self.offset, len, buf, &mut self.private_data)?; in read()
|
/DragonOS-0.1.5/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 114 fn read_at( in read_at() method
|
D | zero_dev.rs | 114 fn read_at( in read_at() method
|
D | mod.rs | 452 fn read_at( in read_at() method
|
/DragonOS-0.1.5/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 78 fn read_at( in read_at() method
|
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/ |
D | mod.rs | 119 fn read_at( in read_at() method
|
/DragonOS-0.1.5/kernel/src/filesystem/procfs/ |
D | mod.rs | 363 fn read_at( in read_at() method
|