Home
last modified time | relevance | path

Searched refs:LpMetadataPartition (Results 1 – 14 of 14) sorted by relevance

/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h40 std::vector<LpMetadataPartition> partitions;
101 std::string GetPartitionName(const LpMetadataPartition& partition);
121 const LpMetadataPartition* FindPartition(const LpMetadata& metadata, const std::string& name);
122 uint64_t GetPartitionSize(const LpMetadata& metadata, const LpMetadataPartition& partition);
Dmetadata_format.h246 typedef struct LpMetadataPartition { struct
270 } __attribute__((packed)) LpMetadataPartition; argument
Dbuilder.h392 const LpMetadataPartition& source);
393 bool ImportPartition(const LpMetadata& metadata, const LpMetadataPartition& source);
/system/core/fs_mgr/liblp/
Dimages.h51 bool AddPartitionImage(const LpMetadataPartition& partition, const std::string& file);
56 uint64_t ComputePartitionSize(const LpMetadataPartition& partition) const;
Dutility.cpp144 const LpMetadataPartition* FindPartition(const LpMetadata& metadata, const std::string& name) { in FindPartition()
153 uint64_t GetPartitionSize(const LpMetadata& metadata, const LpMetadataPartition& partition) { in GetPartitionSize()
191 bool UpdatePartitionName(LpMetadataPartition* partition, const std::string& name) { in UpdatePartitionName()
249 std::vector<LpMetadataPartition*> new_partition_ptrs; in UpdateMetadataForInPlaceSnapshot()
279 std::vector<LpMetadataPartition> new_partitions; in UpdateMetadataForInPlaceSnapshot()
Dutility.h95 bool UpdatePartitionName(LpMetadataPartition* partition, const std::string& name);
Dreader.cpp229 if (header.partitions.entry_size != sizeof(LpMetadataPartition)) { in ReadMetadataHeader()
292 LpMetadataPartition partition; in ParseMetadata()
491 std::string GetPartitionName(const LpMetadataPartition& partition) { in GetPartitionName()
Dimages.cpp313 bool ImageBuilder::AddPartitionImage(const LpMetadataPartition& partition, in AddPartitionImage()
409 uint64_t ImageBuilder::ComputePartitionSize(const LpMetadataPartition& partition) const { in ComputePartitionSize()
Dbuilder.cpp310 header_.partitions.entry_size = sizeof(LpMetadataPartition); in MetadataBuilder()
346 const LpMetadataPartition& source) { in ImportExtents()
918 LpMetadataPartition part; in Export()
1180 const LpMetadataPartition& source) { in ImportPartition()
Dwriter.cpp56 metadata.partitions.size() * sizeof(LpMetadataPartition)); in SerializeMetadata()
Dio_test.cpp378 size_t max_partitions = kMaxPartitionTableSize / sizeof(LpMetadataPartition); in TEST_F()
/system/extras/partition_tools/
Dlpunpack.cc48 bool ExtractPartition(const LpMetadataPartition* partition);
55 std::unordered_map<std::string, const LpMetadataPartition*> partition_map_;
214 bool ImageExtractor::ExtractPartition(const LpMetadataPartition* partition) { in ExtractPartition()
/system/core/fs_mgr/include/
Dfs_mgr_dm_linear.h62 const LpMetadataPartition* partition = nullptr;
/system/core/fastboot/device/
Dutility.cpp113 static const LpMetadataPartition* FindLogicalPartition(const LpMetadata& metadata, in FindLogicalPartition()
135 const LpMetadataPartition* partition = FindLogicalPartition(*metadata.get(), name); in LogicalPartitionExists()