Searched refs:first_logical_sector (Results 1 – 7 of 7) sorted by relevance
/system/core/fs_mgr/liblp/ |
D | writer.cpp | 110 if (total_reserved > super_device->first_logical_sector * LP_SECTOR_SIZE) { in ValidateAndSerializeMetadata() 125 if ((block_device.first_logical_sector + 1) * LP_SECTOR_SIZE > block_device.size) { in ValidateAndSerializeMetadata() 127 << block_device.first_logical_sector << " for size " << block_device.size; in ValidateAndSerializeMetadata() 155 if (physical_sector < super_device->first_logical_sector || in ValidateAndSerializeMetadata() 172 if (start + size >= super_device->first_logical_sector * LP_SECTOR_SIZE) { in ValidateMetadataRegion()
|
D | builder.cpp | 359 out.first_logical_sector = free_area_start / LP_SECTOR_SIZE; in Init() 362 uint64_t minimum_size = out.first_logical_sector * LP_SECTOR_SIZE + logical_block_size; in Init() 399 super.first_logical_sector = free_area_start / LP_SECTOR_SIZE; in Init() 402 uint64_t minimum_disk_size = (super.first_logical_sector * LP_SECTOR_SIZE) + logical_block_size; in Init() 541 uint64_t first_sector = block_device.first_logical_sector; in GetFreeRegions() 651 uint64_t first_sector = super.first_logical_sector; in PrioritizeSecondHalfOfSuper() 829 total_size += block_device.size - (block_device.first_logical_sector * LP_SECTOR_SIZE); in AllocatableSpace() 978 return first.first_logical_sector == second.first_logical_sector && first.size == second.size && in CompareBlockDevices()
|
D | io_test.cpp | 201 EXPECT_EQ(exported->block_devices[0].first_logical_sector, in TEST() 202 imported->block_devices[0].first_logical_sector); in TEST() 243 for (uint64_t i = super_device->first_logical_sector; i < last_sector; i++) { in TEST() 291 imported->block_devices[0].first_logical_sector++; in TEST() 413 ASSERT_GE(lseek(fd, super_device->first_logical_sector * LP_SECTOR_SIZE, SEEK_SET), 0); in TEST()
|
D | builder_test.cpp | 159 EXPECT_EQ(super_device->first_logical_sector, 1536); in TEST_F() 169 EXPECT_EQ(super_device->first_logical_sector, 1472); in TEST_F() 185 EXPECT_EQ(super_device->first_logical_sector, 174); in TEST_F() 195 EXPECT_EQ(super_device->first_logical_sector, 160); in TEST_F() 336 EXPECT_EQ(super_device->first_logical_sector, 32); in TEST_F() 340 EXPECT_GE(super_device->first_logical_sector * LP_SECTOR_SIZE, kMetadataSpace); in TEST_F()
|
D | reader.cpp | 317 if (metadata_region > super_device->first_logical_sector * LP_SECTOR_SIZE) { in ParseMetadata()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | metadata_format.h | 292 uint64_t first_logical_sector; member
|
/system/extras/partition_tools/ |
D | lpdump.cc | 364 cout << " First sector: " << block_device.first_logical_sector << "\n"; in LpdumpMain()
|