/system/core/fs_mgr/liblp/include/liblp/ |
D | liblp.h | 50 bool FlashPartitionTable(const IPartitionOpener& opener, const std::string& super_partition, 59 bool UpdatePartitionTable(const IPartitionOpener& opener, const std::string& super_partition, 65 const std::string& super_partition, uint32_t slot_number); 68 bool FlashPartitionTable(const std::string& super_partition, const LpMetadata& metadata); 69 bool UpdatePartitionTable(const std::string& super_partition, const LpMetadata& metadata, 71 std::unique_ptr<LpMetadata> ReadMetadata(const std::string& super_partition, uint32_t slot_number);
|
D | builder.h | 148 const std::string& super_partition, 156 const std::string& super_partition, 160 static std::unique_ptr<MetadataBuilder> New(const std::string& super_partition, 295 bool Init(const std::vector<BlockDeviceInfo>& block_devices, const std::string& super_partition,
|
/system/core/fs_mgr/liblp/ |
D | writer.cpp | 241 bool FlashPartitionTable(const IPartitionOpener& opener, const std::string& super_partition, in FlashPartitionTable() argument 243 android::base::unique_fd fd = opener.Open(super_partition, O_RDWR | O_SYNC); in FlashPartitionTable() 245 PERROR << __PRETTY_FUNCTION__ << " open failed: " << super_partition; in FlashPartitionTable() 252 std::string slot_suffix = GetPartitionSlotSuffix(super_partition); in FlashPartitionTable() 265 PWARNING << __PRETTY_FUNCTION__ << " BLKROSET 0 failed: " << super_partition; in FlashPartitionTable() 279 LWARN << "Flashing new logical partition geometry to " << super_partition; in FlashPartitionTable() 307 bool FlashPartitionTable(const std::string& super_partition, const LpMetadata& metadata) { in FlashPartitionTable() argument 308 return FlashPartitionTable(PartitionOpener(), super_partition, metadata); in FlashPartitionTable() 316 bool UpdatePartitionTable(const IPartitionOpener& opener, const std::string& super_partition, in UpdatePartitionTable() argument 319 android::base::unique_fd fd = opener.Open(super_partition, O_RDWR | O_SYNC); in UpdatePartitionTable() [all …]
|
D | writer.h | 33 bool UpdatePartitionTable(const IPartitionOpener& opener, const std::string& super_partition,
|
D | reader.cpp | 399 const std::string& super_partition, uint32_t slot_number) { in ReadMetadata() argument 400 android::base::unique_fd fd = opener.Open(super_partition, O_RDONLY); in ReadMetadata() 402 PERROR << __PRETTY_FUNCTION__ << " open failed: " << super_partition; in ReadMetadata() 436 std::unique_ptr<LpMetadata> ReadMetadata(const std::string& super_partition, uint32_t slot_number) { in ReadMetadata() argument 437 return ReadMetadata(PartitionOpener(), super_partition, slot_number); in ReadMetadata()
|
D | builder.cpp | 116 const std::string& super_partition, in New() argument 118 std::unique_ptr<LpMetadata> metadata = ReadMetadata(opener, super_partition, slot_number); in New() 125 std::unique_ptr<MetadataBuilder> MetadataBuilder::New(const std::string& super_partition, in New() argument 127 return New(PartitionOpener(), super_partition, slot_number); in New() 131 const std::vector<BlockDeviceInfo>& block_devices, const std::string& super_partition, in New() argument 134 if (!builder->Init(block_devices, super_partition, metadata_max_size, metadata_slot_count)) { in New() 306 const std::string& super_partition, uint32_t metadata_max_size, in Init() argument 370 if (device_info.partition_name == super_partition) { in Init() 376 if (GetBlockDevicePartitionName(block_devices_[0]) != super_partition) { in Init()
|
/system/extras/partition_tools/ |
D | lpdumpd.rc | 23 # On Launch devices, assume "super". On virtual devices, ${ro.boot.super_partition} 25 file /dev/block/by-name/${ro.boot.super_partition:-super} r 26 # On retrofit devices, ${ro.boot.super_partition} is slot-suffixed. 29 …file /dev/block/by-name/${ro.boot.super_partition:-NO_SUCH_DEVICE}${ro.boot.slot_suffix:-_NO_SUCH_…
|
D | lpdump.cc | 99 std::string super_partition = base::GetProperty("ro.boot.super_partition", ""); in GetSuperPartionName() local 100 if (super_partition.empty()) { in GetSuperPartionName() 103 return super_partition + GetSlotSuffix(); in GetSuperPartionName()
|
/system/core/fastboot/device/ |
D | utility.cpp | 223 std::string super_partition = fs_mgr_get_super_partition_name(current_slot_number); in GetSuperSlotSuffix() local 224 if (GetPartitionSlotSuffix(super_partition).empty()) { in GetSuperSlotSuffix()
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 1749 std::string super_partition; in fs_mgr_get_super_partition_name() local 1750 if (fs_mgr_get_boot_config_from_kernel_cmdline("super_partition", &super_partition)) { in fs_mgr_get_super_partition_name() 1752 return super_partition; in fs_mgr_get_super_partition_name() 1762 return super_partition + suffix; in fs_mgr_get_super_partition_name()
|