Home
last modified time | relevance | path

Searched refs:lba_id_start (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/block/cache/
H A Dcache_iter.rs42 lba_id_start: BlockId, field
52 pub fn new(lba_id_start: BlockId, count: usize, block_size: usize) -> Self { in new()
54 lba_id_start, in new()
68 self.lba_id_start + self.current, in next()
H A Dcached_block_device.rs62 lba_id_start: BlockId, in read()
67 let block_iter = BlockIter::new(lba_id_start, count, BLOCK_SIZE); in read()
182 lba_id_start: BlockId, in immediate_write()
187 let block_iter = BlockIter::new(lba_id_start, count, BLOCK_SIZE); in immediate_write()
/DragonOS/kernel/src/driver/disk/ahci/
H A Dahcidisk.rs72 lba_id_start: BlockId, // 起始lba编号 in read_at()
178 volatile_write!(cmdfis.lba0, (lba_id_start & 0xFF) as u8); in read_at()
179 volatile_write!(cmdfis.lba1, ((lba_id_start >> 8) & 0xFF) as u8); in read_at()
180 volatile_write!(cmdfis.lba2, ((lba_id_start >> 16) & 0xFF) as u8); in read_at()
181 volatile_write!(cmdfis.lba3, ((lba_id_start >> 24) & 0xFF) as u8); in read_at()
182 volatile_write!(cmdfis.lba4, ((lba_id_start >> 32) & 0xFF) as u8); in read_at()
183 volatile_write!(cmdfis.lba5, ((lba_id_start >> 40) & 0xFF) as u8); in read_at()
228 lba_id_start: BlockId, in write_at()
345 volatile_write!(cmdfis.lba0, (lba_id_start & 0xFF) as u8); in write_at()
346 volatile_write!(cmdfis.lba1, ((lba_id_start >> 8) & 0xFF) as u8); in write_at()
[all …]
/DragonOS/kernel/src/driver/base/block/
H A Dblock_device.rs308 lba_id_start: BlockId, in read_at_sync()
322 lba_id_start: BlockId, in write_at_sync()
355 lba_id_start: BlockId, in read_at()
359 self.cache_read(lba_id_start, count, buf) in read_at()
366 lba_id_start: BlockId, in write_at()
370 self.cache_write(lba_id_start, count, buf) in write_at()
377 lba_id_start: BlockId, in cache_read()
381 let cache_response = BlockCache::read(lba_id_start, count, buf); in cache_read()
386 let ans = self.read_at_sync(lba_id_start, count, buf)?; in cache_read()
390 let ans = self.read_at_sync(lba_id_start, count, buf)?; in cache_read()
[all …]
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs229 lba_id_start: BlockId, in read_at_sync()
237 .read_blocks(lba_id_start, &mut buf[..count * LBA_SIZE]) in read_at_sync()
251 lba_id_start: BlockId, in write_at_sync()
257 .write_blocks(lba_id_start, &buf[..count * LBA_SIZE]) in write_at_sync()