/system/core/fs_mgr/liblp/include/liblp/ |
D | partition_opener.h | 28 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;
|
D | builder.h | 147 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/ |
D | test_partition_opener.h | 31 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_;
|
D | test_partition_opener.cpp | 28 const std::map<std::string, BlockDeviceInfo>& partition_info) in TestPartitionOpener() 40 bool TestPartitionOpener::GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const { in GetInfo()
|
D | partition_opener.cpp | 46 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()
|
D | builder_test.cpp | 152 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 …]
|
D | builder.cpp | 131 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()
|
D | io_test.cpp | 43 static const BlockDeviceInfo kSuperInfo{"super", kDiskSize, 0, 0, 4096}; 593 BlockDeviceInfo device_info("super", kDiskSize, 0, 0, 512); in TEST()
|
D | writer.cpp | 130 BlockDeviceInfo info; in ValidateAndSerializeMetadata()
|
/system/extras/partition_tools/ |
D | lpmake.cc | 110 std::vector<BlockDeviceInfo> block_devices; in main() 198 BlockDeviceInfo info; in main()
|
D | lpdump.cc | 143 BlockDeviceInfo info; in MergeMetadata()
|
/system/gsid/ |
D | gsi_service.cpp | 1098 BlockDeviceInfo data_device_info; in CreateMetadata() 1104 std::vector<BlockDeviceInfo> block_devices = {data_device_info}; in CreateMetadata()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 700 BlockDeviceInfo info; in fs_mgr_overlayfs_create_scratch()
|