Searched refs:LpMetadataBlockDevice (Results 1 – 10 of 10) sorted by relevance
43 std::vector<LpMetadataBlockDevice> block_devices;103 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device);107 const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMetadata& metadata);
329 typedef struct LpMetadataBlockDevice { struct368 } __attribute__((packed)) LpMetadataBlockDevice; argument
385 bool AlignSector(const LpMetadataBlockDevice& device, uint64_t sector, uint64_t* out) const;423 std::vector<LpMetadataBlockDevice> block_devices_;
93 bool UpdateBlockDevicePartitionName(LpMetadataBlockDevice* device, const std::string& name);
313 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()
62 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()
342 LpMetadataBlockDevice device = {}; in ParseMetadata()349 const LpMetadataBlockDevice* super_device = GetMetadataSuperBlockDevice(*metadata.get()); in ParseMetadata()499 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device) { in GetBlockDevicePartitionName()
102 const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMetadata& metadata) { in GetMetadataSuperBlockDevice()175 bool UpdateBlockDevicePartitionName(LpMetadataBlockDevice* device, const std::string& name) { in UpdateBlockDevicePartitionName()
377 sizeof(LpMetadataBlockDevice); in TEST_F()
56 const LpMetadataBlockDevice& block_device, in GetPhysicalPartitionDevicePath()