Searched refs:LpMetadataExtent (Results 1 – 10 of 10) sorted by relevance
/system/extras/partition_tools/ |
D | lpunpack.cc | 50 bool ExtractExtent(const LpMetadataExtent& extent, int output_fd); 65 bool WriteExtent(borrowed_fd image_fd, const LpMetadataExtent& extent); 242 const LpMetadataExtent& extent = metadata_->extents[index]; in ExtractPartition() 269 const LpMetadataExtent& extent = metadata_->extents[index]; in ExtractPartition() 281 bool SparseWriter::WriteExtent(borrowed_fd image_fd, const LpMetadataExtent& extent) { in WriteExtent()
|
D | lpdump.cc | 304 ParseLinearExtentData(const LpMetadata& pt, const LpMetadataExtent& extent) { in ParseLinearExtentData() 323 std::vector<std::tuple<std::string, const LpMetadataExtent*>> extents; in PrintMetadata() 334 const LpMetadataExtent& extent = pt.extents[partition.first_extent_index + i]; in PrintMetadata()
|
D | lpadd.cc | 119 bool WriteExtent(borrowed_fd fd, uint64_t file_size, const LpMetadataExtent& extent); 331 bool SuperHelper::WriteExtent(borrowed_fd fd, uint64_t file_size, const LpMetadataExtent& extent) { in WriteExtent()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | metadata_format.h | 281 typedef struct LpMetadataExtent { struct 301 } __attribute__((packed)) LpMetadataExtent; argument
|
D | liblp.h | 41 std::vector<LpMetadataExtent> extents;
|
/system/core/fs_mgr/liblp/ |
D | images.cpp | 323 const LpMetadataExtent& extent = metadata_.extents[extent_index]; in AddPartitionImage() 378 const LpMetadataExtent& extent = metadata_.extents[extent_index]; in AddPartitionImage()
|
D | reader.cpp | 233 if (header.extents.entry_size != sizeof(LpMetadataExtent)) { in ReadMetadataHeader() 318 LpMetadataExtent extent; in ParseMetadata()
|
D | builder.cpp | 56 LpMetadataExtent{num_sectors_, LP_TARGET_TYPE_LINEAR, physical_sector_, device_index_}); in AddTo() 90 out->extents.emplace_back(LpMetadataExtent{num_sectors_, LP_TARGET_TYPE_ZERO, 0, 0}); in AddTo() 311 header_.extents.entry_size = sizeof(LpMetadataExtent); in MetadataBuilder() 348 const LpMetadataExtent& extent = metadata.extents[source.first_extent_index + i]; in ImportExtents()
|
D | writer.cpp | 58 metadata.extents.size() * sizeof(LpMetadataExtent)); in SerializeMetadata()
|
D | builder_test.cpp | 720 const LpMetadataExtent& extent_a = in TEST_F() 722 const LpMetadataExtent& extent_b = in TEST_F()
|