Home
last modified time | relevance | path

Searched refs:BlockId (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs17 pub type BlockId = usize; typedef
60 fn read_at(&self, lba_id_start: BlockId, count: usize, buf: &mut [u8]) -> Result<usize, i32>; in read_at() argument
69 fn write_at(&self, lba_id_start: BlockId, count: usize, buf: &[u8]) -> Result<usize, i32>; in write_at() argument
315 pub fn __bytes_to_lba(addr: usize, blk_size: usize) -> BlockId { in __bytes_to_lba() argument
321 pub fn __lba_to_bytes(lba_id: usize, blk_size: usize) -> BlockId { in __lba_to_bytes() argument
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahcidisk.rs54 lba_id_start: crate::io::device::BlockId, // 起始lba编号 in read_at() argument
187 lba_id_start: crate::io::device::BlockId, in write_at() argument
404 lba_id_start: crate::io::device::BlockId, in read_at() argument
418 lba_id_start: crate::io::device::BlockId, in write_at() argument