Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h43 std::vector<LpMetadataBlockDevice> block_devices;
103 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device);
107 const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMetadata& metadata);
Dmetadata_format.h329 typedef struct LpMetadataBlockDevice { struct
368 } __attribute__((packed)) LpMetadataBlockDevice; argument
Dbuilder.h385 bool AlignSector(const LpMetadataBlockDevice& device, uint64_t sector, uint64_t* out) const;
423 std::vector<LpMetadataBlockDevice> block_devices_;
/system/core/fs_mgr/liblp/
Dutility.h93 bool UpdateBlockDevicePartitionName(LpMetadataBlockDevice* device, const std::string& name);
Dbuilder.cpp313 header_.block_devices.entry_size = sizeof(LpMetadataBlockDevice); in MetadataBuilder()
431 LpMetadataBlockDevice out = {}; in Init()
478 LpMetadataBlockDevice& super = block_devices_[0]; in Init()
991 bool MetadataBuilder::AlignSector(const LpMetadataBlockDevice& block_device, uint64_t sector, in AlignSector()
1050 LpMetadataBlockDevice& block_device = block_devices_[index]; in UpdateBlockDeviceInfo()
1135 static bool CompareBlockDevices(const LpMetadataBlockDevice& first, in CompareBlockDevices()
1136 const LpMetadataBlockDevice& second) { in CompareBlockDevices()
1155 const LpMetadataBlockDevice& old_device = metadata.block_devices[i]; in ImportPartitions()
1156 const LpMetadataBlockDevice& new_device = block_devices_[i]; in ImportPartitions()
Dwriter.cpp62 metadata.block_devices.size() * sizeof(LpMetadataBlockDevice)); in SerializeMetadata()
106 const LpMetadataBlockDevice* super_device = GetMetadataSuperBlockDevice(metadata); in ValidateAndSerializeMetadata()
174 const LpMetadataBlockDevice* super_device = GetMetadataSuperBlockDevice(metadata); in ValidateMetadataRegion()
Dreader.cpp342 LpMetadataBlockDevice device = {}; in ParseMetadata()
349 const LpMetadataBlockDevice* super_device = GetMetadataSuperBlockDevice(*metadata.get()); in ParseMetadata()
499 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device) { in GetBlockDevicePartitionName()
Dutility.cpp102 const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMetadata& metadata) { in GetMetadataSuperBlockDevice()
175 bool UpdateBlockDevicePartitionName(LpMetadataBlockDevice* device, const std::string& name) { in UpdateBlockDevicePartitionName()
Dio_test.cpp377 sizeof(LpMetadataBlockDevice); in TEST_F()
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp56 const LpMetadataBlockDevice& block_device, in GetPhysicalPartitionDevicePath()