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;
93 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device);
97 const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMetadata& metadata);
Dmetadata_format.h287 typedef struct LpMetadataBlockDevice { struct
326 } __attribute__((packed)) LpMetadataBlockDevice; argument
Dbuilder.h300 uint64_t AlignSector(const LpMetadataBlockDevice& device, uint64_t sector) const;
346 std::vector<LpMetadataBlockDevice> block_devices_;
/system/core/fs_mgr/liblp/
Dutility.cpp96 const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMetadata& metadata) { in GetMetadataSuperBlockDevice()
151 bool UpdateBlockDevicePartitionName(LpMetadataBlockDevice* device, const std::string& name) { in UpdateBlockDevicePartitionName()
Dutility.h90 bool UpdateBlockDevicePartitionName(LpMetadataBlockDevice* device, const std::string& name);
Dbuilder.cpp230 header_.block_devices.entry_size = sizeof(LpMetadataBlockDevice); in MetadataBuilder()
339 LpMetadataBlockDevice out = {}; in Init()
381 LpMetadataBlockDevice& super = block_devices_[0]; in Init()
842 uint64_t MetadataBuilder::AlignSector(const LpMetadataBlockDevice& block_device, in AlignSector()
895 LpMetadataBlockDevice& block_device = block_devices_[index]; in UpdateBlockDeviceInfo()
974 static bool CompareBlockDevices(const LpMetadataBlockDevice& first, in CompareBlockDevices()
975 const LpMetadataBlockDevice& second) { in CompareBlockDevices()
993 const LpMetadataBlockDevice& old_device = metadata.block_devices[i]; in ImportPartitions()
994 const LpMetadataBlockDevice& new_device = block_devices_[i]; in ImportPartitions()
Dwriter.cpp61 metadata.block_devices.size() * sizeof(LpMetadataBlockDevice)); in SerializeMetadata()
104 const LpMetadataBlockDevice* super_device = GetMetadataSuperBlockDevice(metadata); in ValidateAndSerializeMetadata()
167 const LpMetadataBlockDevice* super_device = GetMetadataSuperBlockDevice(metadata); in ValidateMetadataRegion()
Dreader.cpp301 LpMetadataBlockDevice device = {}; in ParseMetadata()
308 const LpMetadataBlockDevice* super_device = GetMetadataSuperBlockDevice(*metadata.get()); in ParseMetadata()
458 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device) { in GetBlockDevicePartitionName()
Dio_test.cpp374 sizeof(LpMetadataBlockDevice); in TEST()
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp55 const LpMetadataBlockDevice& block_device, in GetPhysicalPartitionDevicePath()