Lines Matching refs:ex
112 for ex in extents:
115 read_length = min(max_length, ex.num_blocks * block_size)
117 file_obj.seek(ex.start_block * block_size)
142 for ex, ex_name in common.ExtentIter(extents, base_name):
145 write_length = min(data_length, ex.num_blocks * block_size)
146 file_obj.seek(ex.start_block * block_size)
178 for ex, ex_name in common.ExtentIter(extents, base_name):
182 start_byte = ex.start_block * block_size
183 num_bytes = ex.num_blocks * block_size
258 for ex, ex_name in common.ExtentIter(op.dst_extents,
260 start_block = ex.start_block
261 num_blocks = ex.num_blocks
270 (ex_name, common.FormatExtent(ex, block_size),
310 for ex, ex_name in common.ExtentIter(op.dst_extents, base_name):
311 part_file.seek(ex.start_block * block_size)
312 part_file.write(b'\0' * (ex.num_blocks * block_size))
354 for ex, ex_name in common.ExtentIter(extents, base_name):
355 length += ex.num_blocks * self.block_size