Searched refs:blocks_to_read (Results 1 – 2 of 2) sorted by relevance
657 uint64_t blocks_to_read = BlocksInExtents(old_extents); in ReadExtentsToDiff() local665 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()
991 uint64_t blocks_to_read = 0; in PerformMoveOperation() local993 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() local1104 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() local1238 ssize_t bytes_to_read = blocks_to_read * block_size_; in PerformSourceBsdiffOperation()