Searched refs:read_blocks (Results 1 – 2 of 2) sorted by relevance
55 auto read_blocks = std::min(total_blocks, buffer_blocks); in CommonHashExtents() local56 TEST_AND_RETURN_FALSE(reader.Read(buf.data(), read_blocks * block_size)); in CommonHashExtents()59 source_hasher.Update(buf.data(), read_blocks * block_size)); in CommonHashExtents()63 writer->Write(buf.data(), read_blocks * block_size)); in CommonHashExtents()65 total_blocks -= read_blocks; in CommonHashExtents()
172 read_blocks = 0178 read_blocks += sum([ext.num_blocks for ext in curr_op.src_extents])188 read_blocks += partition.old_partition_info.size // manifest.block_size189 read_blocks += partition.new_partition_info.size // manifest.block_size191 stats = {'read_blocks': read_blocks,