Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Ddelta_diff_utils.cc657 uint64_t blocks_to_read = BlocksInExtents(old_extents); in ReadExtentsToDiff() local
665 blocks_to_read * kBlockSize > kMaxBsdiffDestinationSize) { in ReadExtentsToDiff()
667 << blocks_to_read * kBlockSize << " bytes"; in ReadExtentsToDiff()
673 blocks_to_read * kBlockSize > kMaxImgdiffDestinationSize) { in ReadExtentsToDiff()
675 << blocks_to_read * kBlockSize << " bytes"; in ReadExtentsToDiff()
703 if (blocks_to_read > 0) { in ReadExtentsToDiff()
707 kBlockSize * blocks_to_read, kBlockSize)); in ReadExtentsToDiff()
/system/update_engine/payload_consumer/
Ddelta_performer.cc991 uint64_t blocks_to_read = 0; in PerformMoveOperation() local
993 blocks_to_read += operation.src_extents(i).num_blocks(); in PerformMoveOperation()
999 DCHECK_EQ(blocks_to_write, blocks_to_read); in PerformMoveOperation()
1102 uint64_t blocks_to_read = GetBlockCount(operation.src_extents()); in PerformSourceCopyOperation() local
1104 TEST_AND_RETURN_FALSE(blocks_to_write == blocks_to_read); in PerformSourceCopyOperation()
1111 DCHECK_EQ(src_blocks.size(), blocks_to_read); in PerformSourceCopyOperation()
1118 for (uint64_t i = 0; i < blocks_to_read; i++) { in PerformSourceCopyOperation()
1152 DCHECK_EQ(bytes_read, static_cast<ssize_t>(blocks_to_read * block_size_)); in PerformSourceCopyOperation()
1236 uint64_t blocks_to_read = min( in PerformSourceBsdiffOperation() local
1238 ssize_t bytes_to_read = blocks_to_read * block_size_; in PerformSourceBsdiffOperation()