Searched refs:partition_name (Results 1 – 7 of 7) sorted by relevance
/bootable/recovery/updater/ |
D | simulator_runtime.cpp | 105 bool SimulatorRuntime::MapPartitionOnDeviceMapper(const std::string& partition_name, in MapPartitionOnDeviceMapper() argument 107 *path = partition_name; in MapPartitionOnDeviceMapper() 111 bool SimulatorRuntime::UnmapPartitionOnDeviceMapper(const std::string& partition_name) { in UnmapPartitionOnDeviceMapper() argument 112 LOG(INFO) << "Skip unmapping " << partition_name; in UnmapPartitionOnDeviceMapper()
|
D | updater_runtime_dynamic_partitions.cpp | 52 static std::string AddSlotSuffix(const std::string& partition_name) { in AddSlotSuffix() argument 53 return partition_name + fs_mgr_get_slot_suffix(); in AddSlotSuffix() 69 bool UpdaterRuntime::MapPartitionOnDeviceMapper(const std::string& partition_name, in MapPartitionOnDeviceMapper() argument 71 auto partition_name_suffix = AddSlotSuffix(partition_name); in MapPartitionOnDeviceMapper() 81 .partition_name = partition_name_suffix, in MapPartitionOnDeviceMapper() 96 bool UpdaterRuntime::UnmapPartitionOnDeviceMapper(const std::string& partition_name) { in UnmapPartitionOnDeviceMapper() argument 97 return ::UnmapPartitionWithSuffixOnDeviceMapper(AddSlotSuffix(partition_name)); in UnmapPartitionOnDeviceMapper()
|
/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 138 bool UpdateVerifier::ReadBlocks(const std::string partition_name, in ReadBlocks() argument 147 auto thread_func = [&group, &dm_block_device, &partition_name]() { in ReadBlocks() 150 PLOG(ERROR) << "Error reading " << dm_block_device << " for partition " << partition_name; in ReadBlocks() 198 for (const auto& [partition_name, ranges] : partition_map_) { in VerifyPartitions() 199 if (dm_block_devices.find(partition_name) == dm_block_devices.end()) { in VerifyPartitions() 200 LOG(ERROR) << "Failed to find dm block device for " << partition_name; in VerifyPartitions() 204 if (!ReadBlocks(partition_name, dm_block_devices.at(partition_name), ranges)) { in VerifyPartitions()
|
/bootable/recovery/edify/include/edify/ |
D | updater_runtime_interface.h | 71 virtual bool MapPartitionOnDeviceMapper(const std::string& partition_name, std::string* path) = 0; 72 virtual bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) = 0;
|
/bootable/recovery/updater/include/updater/ |
D | updater_runtime.h | 56 bool MapPartitionOnDeviceMapper(const std::string& partition_name, std::string* path) override; 57 bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) override;
|
D | simulator_runtime.h | 53 bool MapPartitionOnDeviceMapper(const std::string& partition_name, std::string* path) override; 54 bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) override;
|
/bootable/recovery/update_verifier/include/update_verifier/ |
D | update_verifier.h | 57 bool ReadBlocks(const std::string partition_name, const std::string& dm_block_device,
|