Lines Matching refs:hashtree_file
459 const std::string& hashtree_file,
544 if (auto st = PrepareHashTree(apex, *verity_data, hashtree_file);
548 auto create_loop_status = loop::CreateLoopDevice(hashtree_file, 0, 0);
630 std::string hashtree_file = GetHashTreeFileName(apex, /* is_new = */ true);
631 if (access(hashtree_file.c_str(), F_OK) == 0) {
632 LOG(DEBUG) << hashtree_file << " already exists. Deleting it";
633 if (TEMP_FAILURE_RETRY(unlink(hashtree_file.c_str())) != 0) {
634 return ErrnoError() << "Failed to unlink " << hashtree_file;
638 MountPackageImpl(apex, mount_point, temp_device_name, hashtree_file,
642 LOG(DEBUG) << "Cleaning up " << hashtree_file;
643 if (TEMP_FAILURE_RETRY(unlink(hashtree_file.c_str())) != 0) {
644 PLOG(ERROR) << "Failed to unlink " << hashtree_file;
2174 for (const std::string& hashtree_file : changed_hashtree_files) {
2175 if (TEMP_FAILURE_RETRY(unlink(hashtree_file.c_str())) != 0) {
2176 PLOG(ERROR) << "Unable to unlink " << hashtree_file;