Home
last modified time | relevance | path

Searched refs:write_at (Results 1 – 14 of 14) sorted by relevance

/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs42 fn write_at(&self, offset: usize, len: usize, buf: &[u8]) -> Result<usize, i32>; in write_at() method
69 fn write_at(&self, lba_id_start: BlockId, count: usize, buf: &[u8]) -> Result<usize, i32>; in write_at() method
135 fn write_at(&self, offset: usize, len: usize, buf: &[u8]) -> Result<usize, i32> { in write_at() method
152 BlockDevice::write_at(self, range.lba_start, count, buf_slice)?; in write_at()
164 BlockDevice::write_at(self, range.lba_start, 1, &temp[..])?; in write_at()
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahci_inode.rs138 fn write_at( in write_at() method
150 return self.0.lock().disk.write_at(offset, len, buf); in write_at()
Dahcidisk.rs185 fn write_at( in write_at() method
416 fn write_at( in write_at() method
422 self.0.lock().write_at(lba_id_start, count, buf) in write_at()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmount.rs163 fn write_at( in write_at() method
172 .write_at(offset, len, buf, &mut FilePrivateData::Unused); in write_at()
Dfile.rs151 .write_at(self.offset, len, buf, &mut FilePrivateData::Unused)?; in write()
Dmod.rs134 fn write_at( in write_at() method
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dnull_dev.rs133 fn write_at( in write_at() method
Dzero_dev.rs133 fn write_at( in write_at() method
Dmod.rs463 fn write_at( in write_at() method
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.rs98 fn write_at( in write_at() method
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs1070 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry()
1094 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry()
1150 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry()
1168 .write_at(offset, zeros.len(), zeros.as_slice())?; in zero_cluster()
1312 partition.disk().write_at(lba, 1, cursor.as_slice())?; in flush()
1373 fn write_at( in write_at() method
Dentry.rs201 let w: usize = fs.partition.disk().device().write_at( in write()
320 fs.partition.disk().device().write_at( in zero_range()
1105 .write_at(lba, 1 * fs.lba_per_sector(), cursor.as_slice())?; in flush()
1307 .write_at(lba, 1 * fs.lba_per_sector(), cursor.as_slice())?; in flush()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs151 fn write_at( in write_at() method
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs410 fn write_at( in write_at() method