/DragonOS-0.1.8/kernel/src/io/ |
D | device.rs | 35 fn read_at(&self, offset: usize, len: usize, buf: &mut [u8]) -> Result<usize, SystemError>; in read_at() method 60 fn read_at( in read_at() method 109 fn read_at(&self, offset: usize, len: usize, buf: &mut [u8]) -> Result<usize, SystemError> { in read_at() method 127 BlockDevice::read_at(self, range.lba_start, count, buf_slice)?; in read_at() 136 BlockDevice::read_at(self, range.lba_start, 1, &mut temp[..])?; in read_at() 171 BlockDevice::read_at(self, range.lba_start, 1, &mut temp[..])?; in write_at()
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 115 fn read_at( in read_at() method 127 return self.0.lock().disk.read_at(offset, len, buf); in read_at()
|
D | mod.rs | 207 _dd.read_at(122, 4, &mut read_buf).unwrap(); in __test_ahci() 215 _dd.read_at(122, 4, &mut read_buf2).unwrap(); in __test_ahci()
|
D | ahcidisk.rs | 53 fn read_at( in read_at() method 409 self.read_at(0, 1, &mut buf)?; in read_mbr_table() 450 fn read_at( in read_at() method 460 return self.0.lock().read_at(lba_id_start, count, buf); in read_at()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 378 .read_at(fat_ent_lba as usize, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry() 472 .read_at(fat_ent_lba, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry_raw() 938 self.partition.disk().read_at(lba, num_lba, &mut v)?; in get_free_cluster() 986 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster() 1018 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster() 1065 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1098 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1125 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1217 .read_at(in_disk_fs_info_offset as usize / LBA_SIZE, 1, &mut v)?; in new() 1309 partition.disk().read_at(lba, 1, &mut v)?; in flush() [all …]
|
D | bpb.rs | 229 .read_at(partition.lba_start as usize, 1, &mut v)?; in new()
|
D | entry.rs | 133 let r = fs.partition.disk().device().read_at( in read() 1096 .read_at(lba, 1 * fs.lba_per_sector(), &mut v)?; in flush() 1310 .read_at(lba, 1 * fs.lba_per_sector(), &mut v)?; in flush() 2373 fs.partition.disk().read_at(lba, 1, &mut v)?; in get_raw_dir_entry()
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 109 fn read_at( in read_at() method
|
D | zero_dev.rs | 109 fn read_at( in read_at() method
|
D | mod.rs | 472 fn read_at( in read_at() method
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | mount.rs | 150 fn read_at( in read_at() method 157 return self.inner_inode.read_at(offset, len, buf, data); in read_at()
|
D | mod.rs | 116 fn read_at( in read_at() method 426 let len = inode.read_at(0, 256, &mut content, &mut FilePrivateData::Unused)?; in lookup_follow_symlink()
|
D | file.rs | 143 .read_at(self.offset, len, buf, &mut self.private_data)?; in read()
|
/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 93 fn read_at( in read_at() method
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | pipe.rs | 75 fn read_at( in read_at() method
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | tty_device.rs | 142 fn read_at( in read_at() method
|
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | mod.rs | 168 fn read_at( in read_at() method
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 117 fn read_at( in read_at() method
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 365 fn read_at( in read_at() method
|
/DragonOS-0.1.8/kernel/src/net/ |
D | socket.rs | 1156 fn read_at( in read_at() method
|