Searched refs:part_path (Results 1 – 4 of 4) sorted by relevance
185 bool FilesystemVerifierAction::InitializeFd(const std::string& part_path) { in InitializeFd() argument189 if (!utils::SetBlockDeviceReadOnly(part_path, !write_verity)) { in InitializeFd()190 LOG(WARNING) << "Failed to set block device " << part_path << " as " in InitializeFd()193 if (!partition_fd_->Open(part_path.c_str(), flags)) { in InitializeFd()194 LOG(ERROR) << "Unable to open " << part_path << " for reading."; in InitializeFd()327 const auto& part_path = GetPartitionPath(); in StartPartitionHashing() local331 << partition.name << ") on device " << part_path; in StartPartitionHashing()336 if (part_path.empty()) { in StartPartitionHashing()350 success = InitializeFd(part_path); in StartPartitionHashing()
129 bool InitializeFd(const std::string& part_path);
60 bool IsSquashfsImage(const string& part_path, in IsSquashfsImage() argument68 utils::ReadFileChunk(part_path, in IsSquashfsImage()
46 bool WriteExtents(const string& part_path, in WriteExtents() argument51 base::ScopedFILE fp(fopen(part_path.c_str(), "r+")); in WriteExtents()