Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/io/
Ddevice.rs114 let iter = BlockIter::new_multiblock(offset, offset + len, self.blk_size_log2()); in read_at()
151 let iter = BlockIter::new_multiblock(offset, offset + len, self.blk_size_log2()); in write_at()
189 pub struct BlockIter { struct
207 impl BlockIter { argument
209 pub fn new(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new() argument
210 return BlockIter { in new()
217 pub fn new_multiblock(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new_multiblock() argument
218 return BlockIter { in new_multiblock()
280 impl Iterator for BlockIter { implementation