Home
last modified time | relevance | path

Searched refs:LpMetadataExtent (Results 1 – 10 of 10) sorted by relevance

/system/extras/partition_tools/
Dlpunpack.cc50 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()
Dlpdump.cc304 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()
Dlpadd.cc119 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/
Dmetadata_format.h281 typedef struct LpMetadataExtent { struct
301 } __attribute__((packed)) LpMetadataExtent; argument
Dliblp.h41 std::vector<LpMetadataExtent> extents;
/system/core/fs_mgr/liblp/
Dimages.cpp323 const LpMetadataExtent& extent = metadata_.extents[extent_index]; in AddPartitionImage()
378 const LpMetadataExtent& extent = metadata_.extents[extent_index]; in AddPartitionImage()
Dreader.cpp233 if (header.extents.entry_size != sizeof(LpMetadataExtent)) { in ReadMetadataHeader()
318 LpMetadataExtent extent; in ParseMetadata()
Dbuilder.cpp56 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()
Dwriter.cpp58 metadata.extents.size() * sizeof(LpMetadataExtent)); in SerializeMetadata()
Dbuilder_test.cpp720 const LpMetadataExtent& extent_a = in TEST_F()
722 const LpMetadataExtent& extent_b = in TEST_F()