Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dreader.h31 bool ParseGeometry(const void* buffer, LpMetadataGeometry* geometry);
34 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, int fd);
35 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, const void* buffer,
37 bool ReadLogicalPartitionGeometry(int fd, LpMetadataGeometry* geometry);
38 bool ReadPrimaryGeometry(int fd, LpMetadataGeometry* geometry);
39 bool ReadBackupGeometry(int fd, LpMetadataGeometry* geometry);
44 std::unique_ptr<LpMetadata> ReadPrimaryMetadata(int fd, const LpMetadataGeometry& geometry,
46 std::unique_ptr<LpMetadata> ReadBackupMetadata(int fd, const LpMetadataGeometry& geometry,
Dreader.cpp71 bool ParseGeometry(const void* buffer, LpMetadataGeometry* geometry) { in ParseGeometry()
83 if (geometry->struct_size > sizeof(LpMetadataGeometry)) { in ParseGeometry()
89 LpMetadataGeometry temp = *geometry; in ParseGeometry()
99 if (geometry->struct_size != sizeof(LpMetadataGeometry)) { in ParseGeometry()
114 bool ReadPrimaryGeometry(int fd, LpMetadataGeometry* geometry) { in ReadPrimaryGeometry()
127 bool ReadBackupGeometry(int fd, LpMetadataGeometry* geometry) { in ReadBackupGeometry()
144 bool ReadLogicalPartitionGeometry(int fd, LpMetadataGeometry* geometry) { in ReadLogicalPartitionGeometry()
213 static std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, in ParseMetadata()
324 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, const void* buffer, in ParseMetadata()
330 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, int fd) { in ParseMetadata()
[all …]
Dutility.h49 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number);
53 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number);
Dwriter.cpp33 std::string SerializeGeometry(const LpMetadataGeometry& input) { in SerializeGeometry()
34 LpMetadataGeometry geometry = input; in SerializeGeometry()
43 static bool CompareGeometry(const LpMetadataGeometry& g1, const LpMetadataGeometry& g2) { in CompareGeometry()
87 const LpMetadataGeometry& geometry = metadata.geometry; in ValidateAndSerializeMetadata()
338 const LpMetadataGeometry& geometry = metadata.geometry; in UpdatePartitionTable()
339 LpMetadataGeometry old_geometry; in UpdatePartitionTable()
Dwriter.h28 std::string SerializeGeometry(const LpMetadataGeometry& input);
Dutility.cpp77 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number) { in GetPrimaryMetadataOffset()
84 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number) { in GetBackupMetadataOffset()
Dutility_test.cpp41 LpMetadataGeometry geometry = {LP_METADATA_GEOMETRY_MAGIC, in TEST()
Dimages.h61 const LpMetadataGeometry& geometry_;
Dimages.cpp46 LpMetadataGeometry geometry; in ReadFromImageFile()
59 LpMetadataGeometry geometry; in ReadFromImageBlob()
Dio_test.cpp305 LpMetadataGeometry geometry; in TEST()
309 LpMetadataGeometry bad_geometry = geometry; in TEST()
616 LpMetadataGeometry geometry; in TEST()
Dbuilder_test.cpp331 const LpMetadataGeometry& geometry = exported->geometry; in TEST_F()
/system/core/fs_mgr/liblp/include/liblp/
Dmetadata_format.h93 typedef struct LpMetadataGeometry { struct
121 } __attribute__((packed)) LpMetadataGeometry; argument
Dliblp.h38 LpMetadataGeometry geometry;
Dbuilder.h342 LpMetadataGeometry geometry_;