Home
last modified time | relevance | path

Searched refs:read_at (Results 1 – 20 of 20) sorted by relevance

/DragonOS-0.1.8/kernel/src/io/
Ddevice.rs35 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/
Dahci_inode.rs115 fn read_at( in read_at() method
127 return self.0.lock().disk.read_at(offset, len, buf); in read_at()
Dmod.rs207 _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()
Dahcidisk.rs53 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/
Dfs.rs378 .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 …]
Dbpb.rs229 .read_at(partition.lba_start as usize, 1, &mut v)?; in new()
Dentry.rs133 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/
Dnull_dev.rs109 fn read_at( in read_at() method
Dzero_dev.rs109 fn read_at( in read_at() method
Dmod.rs472 fn read_at( in read_at() method
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dmount.rs150 fn read_at( in read_at() method
157 return self.inner_inode.read_at(offset, len, buf, data); in read_at()
Dmod.rs116 fn read_at( in read_at() method
426 let len = inode.read_at(0, 256, &mut content, &mut FilePrivateData::Unused)?; in lookup_follow_symlink()
Dfile.rs143 .read_at(self.offset, len, buf, &mut self.private_data)?; in read()
/DragonOS-0.1.8/kernel/src/driver/keyboard/
Dps2_keyboard.rs93 fn read_at( in read_at() method
/DragonOS-0.1.8/kernel/src/ipc/
Dpipe.rs75 fn read_at( in read_at() method
/DragonOS-0.1.8/kernel/src/driver/tty/
Dtty_device.rs142 fn read_at( in read_at() method
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs168 fn read_at( in read_at() method
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs117 fn read_at( in read_at() method
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs365 fn read_at( in read_at() method
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs1156 fn read_at( in read_at() method