Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs35 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/
Dahci_inode.rs119 fn read_at( in read_at() method
131 return self.0.lock().disk.read_at(offset, len, buf); in read_at()
Dahcidisk.rs52 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()
Dmod.rs206 _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/
Dfs.rs368 .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 …]
Dbpb.rs190 .read_at(partition.lba_start as usize, 1, &mut v)?; in new()
Dentry.rs132 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/
Dmod.rs117 fn read_at( in read_at() method
413 let len = inode.read_at(0, 256, &mut content, &mut FilePrivateData::Unused)?; in lookup_follow_symlink()
Dmount.rs153 fn read_at( in read_at() method
160 return self.inner_inode.read_at(offset, len, buf, data); in read_at()
Dfile.rs131 .read_at(self.offset, len, buf, &mut self.private_data)?; in read()
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dnull_dev.rs114 fn read_at( in read_at() method
Dzero_dev.rs114 fn read_at( in read_at() method
Dmod.rs452 fn read_at( in read_at() method
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.rs78 fn read_at( in read_at() method
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs119 fn read_at( in read_at() method
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs363 fn read_at( in read_at() method