Lines Matching refs:end
64 let end = usize::min(self.lba_end, rhs.lba_end); in intersects_with() localVariable
66 GeneralBlockRange::new(start, end) in intersects_with()
79 pub end: usize, field
91 pub end: usize, // 结束位置在块内的偏移量,单位是字节 field
100 end: end_addr, in new()
108 end: end_addr, in new_multiblock()
121 let end = if lba_id == self.end / blk_size { in next_block() localVariable
122 self.end % blk_size in next_block()
127 self.begin += end - begin; in next_block()
133 end, in next_block()
143 let lba_end = self.end / blk_size; in next_multiblock()
154 let end = __lba_to_bytes(lba_end, blk_size) - self.begin; in next_multiblock() localVariable
156 self.begin += end - begin; in next_multiblock()
162 end, in next_multiblock()
173 if self.begin >= self.end { in next()
188 return self.end == self.begin; in is_empty()
191 return self.end - self.begin; in len()
208 return (self.lba_start << self.blk_size_log2) + self.end; in origin_end()
442 temp[range.begin..range.end].copy_from_slice(buf_slice); in write_at_bytes()
484 buf_slice.copy_from_slice(&temp[range.begin..range.end]); in read_at_bytes()