Home
last modified time | relevance | path

Searched refs:BlockDeviceInfo (Results 1 – 13 of 13) sorted by relevance

/system/core/fs_mgr/liblp/include/liblp/
Dpartition_opener.h28 struct BlockDeviceInfo { struct
29 BlockDeviceInfo() : size(0), alignment(0), alignment_offset(0), logical_block_size(0) {} in BlockDeviceInfo() argument
30 BlockDeviceInfo(const std::string& partition_name, uint64_t size, uint32_t alignment, in BlockDeviceInfo() function
64 virtual bool GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const = 0; argument
73 virtual bool GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const override;
Dbuilder.h147 static std::unique_ptr<MetadataBuilder> New(const std::vector<BlockDeviceInfo>& block_devices,
183 static std::unique_ptr<MetadataBuilder> New(const BlockDeviceInfo& device_info, in New()
194 BlockDeviceInfo device_info(LP_METADATA_DEFAULT_PARTITION_NAME, blockdev_size, 0, 0, in New()
278 bool GetBlockDeviceInfo(const std::string& partition_name, BlockDeviceInfo* info) const;
279 bool UpdateBlockDeviceInfo(const std::string& partition_name, const BlockDeviceInfo& info);
295 bool Init(const std::vector<BlockDeviceInfo>& block_devices, const std::string& super_partition,
302 bool UpdateBlockDeviceInfo(size_t index, const BlockDeviceInfo& info);
353 bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device_info);
/system/core/fs_mgr/liblp/
Dtest_partition_opener.h31 const std::map<std::string, BlockDeviceInfo>& partition_info = {});
34 bool GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const override;
38 std::map<std::string, BlockDeviceInfo> partition_info_;
Dtest_partition_opener.cpp28 const std::map<std::string, BlockDeviceInfo>& partition_info) in TestPartitionOpener()
40 bool TestPartitionOpener::GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const { in GetInfo()
Dpartition_opener.cpp46 bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device_info) { in GetBlockDeviceInfo()
91 bool PartitionOpener::GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const { in GetInfo()
Dbuilder_test.cpp152 BlockDeviceInfo device_info("super", 1024 * 1024, 768 * 1024, 0, 4096); in TEST_F()
199 BlockDeviceInfo device_info("super", 512 * 1024 * 1024, 768 * 1024, 753664, 4096); in TEST_F()
419 BlockDeviceInfo device_info("super", kDiskSize, 0, 0, 4096); in TEST_F()
447 BlockDeviceInfo device_info; in TEST_F()
462 BlockDeviceInfo device_info("super", 1024 * 1024, 4096, 1024, 4096); in TEST_F()
466 BlockDeviceInfo new_info; in TEST_F()
505 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 513); in TEST_F()
511 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 4096); in TEST_F()
523 BlockDeviceInfo device_info("super", 10240, 0, 0, 4096); in TEST_F()
529 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 4096); in TEST_F()
[all …]
Dbuilder.cpp131 const std::vector<BlockDeviceInfo>& block_devices, const std::string& super_partition, in New()
149 BlockDeviceInfo device_info; in New()
271 static bool VerifyDeviceProperties(const BlockDeviceInfo& device_info) { in VerifyDeviceProperties()
305 bool MetadataBuilder::Init(const std::vector<BlockDeviceInfo>& block_devices, in Init()
868 BlockDeviceInfo* info) const { in GetBlockDeviceInfo()
883 const BlockDeviceInfo& device_info) { in UpdateBlockDeviceInfo()
892 bool MetadataBuilder::UpdateBlockDeviceInfo(size_t index, const BlockDeviceInfo& device_info) { in UpdateBlockDeviceInfo()
Dio_test.cpp43 static const BlockDeviceInfo kSuperInfo{"super", kDiskSize, 0, 0, 4096};
593 BlockDeviceInfo device_info("super", kDiskSize, 0, 0, 512); in TEST()
Dwriter.cpp130 BlockDeviceInfo info; in ValidateAndSerializeMetadata()
/system/extras/partition_tools/
Dlpmake.cc110 std::vector<BlockDeviceInfo> block_devices; in main()
198 BlockDeviceInfo info; in main()
Dlpdump.cc143 BlockDeviceInfo info; in MergeMetadata()
/system/gsid/
Dgsi_service.cpp1098 BlockDeviceInfo data_device_info; in CreateMetadata()
1104 std::vector<BlockDeviceInfo> block_devices = {data_device_info}; in CreateMetadata()
/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp700 BlockDeviceInfo info; in fs_mgr_overlayfs_create_scratch()