• Home
  • Raw
  • Download

Lines Matching refs:operation

191 bool PartitionWriter::PerformReplaceOperation(const InstallOperation& operation,  in PerformReplaceOperation()  argument
197 operation, std::move(writer), data, count); in PerformReplaceOperation()
201 const InstallOperation& operation) { in PerformZeroOrDiscardOperation() argument
204 (operation.type() == InstallOperation::ZERO ? BLKZEROOUT : BLKDISCARD); in PerformZeroOrDiscardOperation()
207 return install_op_executor_.ExecuteZeroOrDiscardOperation(operation, in PerformZeroOrDiscardOperation()
211 for (const Extent& extent : operation.dst_extents()) { in PerformZeroOrDiscardOperation()
223 operation, std::move(writer)); in PerformZeroOrDiscardOperation()
229 const InstallOperation& operation, ErrorCode* error) { in PerformSourceCopyOperation() argument
237 partition.partition_name(), operation, &buf); in PerformSourceCopyOperation()
238 const InstallOperation& optimized = should_optimize ? buf : operation; in PerformSourceCopyOperation()
243 auto source_fd = ChooseSourceFD(operation, error); in PerformSourceCopyOperation()
247 << " extents: " << ExtentsToString(operation.src_extents()); in PerformSourceCopyOperation()
256 bool PartitionWriter::PerformDiffOperation(const InstallOperation& operation, in PerformDiffOperation() argument
260 FileDescriptorPtr source_fd = ChooseSourceFD(operation, error); in PerformDiffOperation()
265 operation, std::move(writer), source_fd, data, count); in PerformDiffOperation()
269 const InstallOperation& operation, ErrorCode* error) { in ChooseSourceFD() argument
270 return verified_source_fd_.ChooseSourceFD(operation, error); in ChooseSourceFD()
300 bool PartitionWriter::ValidateSourceHash(const InstallOperation& operation, in ValidateSourceHash() argument
306 source_fd, operation.src_extents(), block_size, &source_hash)); in ValidateSourceHash()
307 return ValidateSourceHash(source_hash, operation, source_fd, error); in ValidateSourceHash()
311 const InstallOperation& operation, in ValidateSourceHash() argument
316 brillo::Blob expected_source_hash(operation.src_sha256_hash().begin(), in ValidateSourceHash()
317 operation.src_sha256_hash().end()); in ValidateSourceHash()
332 for (const Extent& ext : operation.src_extents()) { in ValidateSourceHash()