Lines Matching refs:hashtree_file
426 const std::string& hashtree_file,
511 if (auto st = PrepareHashTree(apex, *verity_data, hashtree_file);
515 auto create_loop_status = loop::CreateLoopDevice(hashtree_file, 0, 0);
597 std::string hashtree_file = GetHashTreeFileName(apex, /* is_new = */ true);
598 if (access(hashtree_file.c_str(), F_OK) == 0) {
599 LOG(DEBUG) << hashtree_file << " already exists. Deleting it";
600 if (TEMP_FAILURE_RETRY(unlink(hashtree_file.c_str())) != 0) {
601 return ErrnoError() << "Failed to unlink " << hashtree_file;
605 MountPackageImpl(apex, mount_point, temp_device_name, hashtree_file,
608 LOG(DEBUG) << "Cleaning up " << hashtree_file;
609 if (TEMP_FAILURE_RETRY(unlink(hashtree_file.c_str())) != 0) {
610 PLOG(ERROR) << "Failed to unlink " << hashtree_file;
2160 for (const std::string& hashtree_file : changed_hashtree_files) {
2161 if (TEMP_FAILURE_RETRY(unlink(hashtree_file.c_str())) != 0) {
2162 PLOG(ERROR) << "Unable to unlink " << hashtree_file;