Lines Matching refs:partition
87 const InstallPlan::Partition& partition = in StartPartitionHashing() local
93 part_path = partition.source_path; in StartPartitionHashing()
94 partition_size_ = partition.source_size; in StartPartitionHashing()
97 part_path = partition.target_path; in StartPartitionHashing()
98 partition_size_ = partition.target_size; in StartPartitionHashing()
105 << partition.name << ") because size is 0."; in StartPartitionHashing()
111 << partition.name in StartPartitionHashing()
118 << partition.name << ") on device " << part_path; in StartPartitionHashing()
139 if (!verity_writer_->Init(partition)) { in StartPartitionHashing()
150 const InstallPlan::Partition& partition = in ScheduleRead() local
157 if (partition.hash_tree_size != 0 && in ScheduleRead()
158 offset_ < partition.hash_tree_data_offset + partition.hash_tree_data_size) in ScheduleRead()
159 read_end = std::min(read_end, partition.hash_tree_offset); in ScheduleRead()
160 if (partition.fec_size != 0 && in ScheduleRead()
161 offset_ < partition.fec_data_offset + partition.fec_data_size) in ScheduleRead()
162 read_end = std::min(read_end, partition.fec_offset); in ScheduleRead()
235 InstallPlan::Partition& partition = in FinishPartitionHashing() local
237 LOG(INFO) << "Hash of " << partition.name << ": " in FinishPartitionHashing()
242 if (partition.target_hash != hasher_->raw_hash()) { in FinishPartitionHashing()
243 LOG(ERROR) << "New '" << partition.name in FinishPartitionHashing()
245 if (partition.source_hash.empty()) { in FinishPartitionHashing()
260 if (partition.source_hash != hasher_->raw_hash()) { in FinishPartitionHashing()
261 LOG(ERROR) << "Old '" << partition.name in FinishPartitionHashing()
265 LOG(ERROR) << "The delta I've been given contains a " << partition.name in FinishPartitionHashing()
267 << partition.name << " with a specific checksum, but the " in FinishPartitionHashing()
268 << partition.name in FinishPartitionHashing()
272 << partition.name << " partition I have has hash: " in FinishPartitionHashing()
275 << Base64Encode(partition.source_hash) << " ."; in FinishPartitionHashing()
276 LOG(INFO) << "To get the checksum of the " << partition.name in FinishPartitionHashing()
278 << partition.source_path in FinishPartitionHashing()
279 << " bs=1M count=" << partition.source_size in FinishPartitionHashing()