Lines Matching refs:end
138 buf_slice.copy_from_slice(&temp[range.begin..range.end]); in read_at()
173 temp[range.begin..range.end].copy_from_slice(&buf_slice); in write_at()
191 pub end: usize, field
203 pub end: usize, // 结束位置在块内的偏移量,单位是字节 field
212 end: end_addr, in new()
220 end: end_addr, in new_multiblock()
232 let end = if lba_id == self.end / blk_size { in next_block() localVariable
233 self.end % blk_size in next_block()
238 self.begin += end - begin; in next_block()
244 end: end, in next_block()
254 let lba_end = self.end / blk_size; in next_multiblock()
265 let end = __lba_to_bytes(lba_end, blk_size) - self.begin; in next_multiblock() localVariable
267 self.begin += end - begin; in next_multiblock()
273 end: end, in next_multiblock()
284 if self.begin >= self.end { in next()
299 return self.end == self.begin; in is_empty()
302 return self.end - self.begin; in len()
319 return (self.lba_start << self.blk_size_log2) + self.end; in origin_end()