Home
last modified time | relevance | path

Searched defs:BlockRange (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/driver/base/block/
H A Dblock_device.rs87 pub struct BlockRange { struct
88 pub lba_start: usize, // 起始块的lba_id
89 pub lba_end: usize, // 终止块的lba_id
90 pub begin: usize, // 起始位置在块内的偏移量, 如果BlockIter启用Multiblock,则是多个块的偏移
91 pub end: usize, // 结束位置在块内的偏移量,单位是字
92 pub blk_size_log2: u8,
116 pub fn next_block(&mut self) -> BlockRange { in next_block()
139 pub fn next_multiblock(&mut self) -> BlockRange { in next_multiblock()
185 impl BlockRange { implementation