Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/base/block/
H A Dblock_device.rs78 pub begin: usize, // 迭代器的起始位置 -> 块设备的地址 (单位是字节) field
90 pub begin: usize, // 起始位置在块内的偏移量, 如果BlockIter启用Multiblock,则是多个块的偏移量 field
99 begin: start_addr, in new()
107 begin: start_addr, in new_multiblock()
119 let lba_id = self.begin / blk_size; in next_block()
120 let begin = self.begin % blk_size; in next_block() localVariable
127 self.begin += end - begin; in next_block()
132 begin, in next_block()
142 let lba_start = self.begin / blk_size; in next_multiblock()
146 if __bytes_to_lba(self.begin, blk_size) in next_multiblock()
[all …]
/DragonOS/kernel/src/libs/
H A Dcpumask.rs87 begin: true, in iter_cpu()
97 begin: true, in iter_zero_cpu()
129 begin: bool, field
136 if self.index.is_none() && self.begin { in next()
143 self.begin = false; in next()