Searched refs:part_path (Results 1 – 4 of 4) sorted by relevance
209 bool FilesystemVerifierAction::InitializeFd(const std::string& part_path) { in InitializeFd() argument213 if (!utils::SetBlockDeviceReadOnly(part_path, !write_verity)) { in InitializeFd()214 LOG(WARNING) << "Failed to set block device " << part_path << " as " in InitializeFd()217 if (!partition_fd_->Open(part_path.c_str(), flags)) { in InitializeFd()218 LOG(ERROR) << "Unable to open " << part_path << " for reading."; in InitializeFd()377 const auto& part_path = GetPartitionPath(); in StartPartitionHashing() local381 << partition.name << ") on device " << part_path; in StartPartitionHashing()386 if (part_path.empty()) { in StartPartitionHashing()400 success = InitializeFd(part_path); in StartPartitionHashing()
131 bool InitializeFd(const std::string& part_path);
66 bool IsSquashfsImage(const string& part_path, in IsSquashfsImage() argument74 utils::ReadFileChunk(part_path, in IsSquashfsImage()
50 bool WriteExtents(const string& part_path, in WriteExtents() argument55 base::ScopedFILE fp(fopen(part_path.c_str(), "r+")); in WriteExtents()