Searched refs:BlockIter (Results 1 – 1 of 1) sorted by relevance
41 pub struct BlockIter { struct59 impl BlockIter { argument61 pub fn new(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new() argument62 return BlockIter { in new()69 pub fn new_multiblock(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new_multiblock() argument70 return BlockIter { in new_multiblock()132 impl Iterator for BlockIter { implementation248 let iter = BlockIter::new_multiblock(offset, offset + len, self.blk_size_log2()); in write_at_bytes()288 let iter = BlockIter::new_multiblock(offset, offset + len, self.blk_size_log2()); in read_at_bytes()