Searched refs:LpMetadataBlockDevice (Results 1 – 10 of 10) sorted by relevance
43 std::vector<LpMetadataBlockDevice> block_devices;93 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device);97 const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMetadata& metadata);
287 typedef struct LpMetadataBlockDevice { struct326 } __attribute__((packed)) LpMetadataBlockDevice; typedef
300 uint64_t AlignSector(const LpMetadataBlockDevice& device, uint64_t sector) const;346 std::vector<LpMetadataBlockDevice> block_devices_;
96 const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMetadata& metadata) { in GetMetadataSuperBlockDevice()151 bool UpdateBlockDevicePartitionName(LpMetadataBlockDevice* device, const std::string& name) { in UpdateBlockDevicePartitionName()
90 bool UpdateBlockDevicePartitionName(LpMetadataBlockDevice* device, const std::string& name);
230 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()
61 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()
301 LpMetadataBlockDevice device = {}; in ParseMetadata()308 const LpMetadataBlockDevice* super_device = GetMetadataSuperBlockDevice(*metadata.get()); in ParseMetadata()458 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device) { in GetBlockDevicePartitionName()
374 sizeof(LpMetadataBlockDevice); in TEST()
55 const LpMetadataBlockDevice& block_device, in GetPhysicalPartitionDevicePath()