Searched refs:physical_sector (Results 1 – 10 of 10) sorted by relevance
/system/core/fs_mgr/liblp/ |
D | builder.cpp | 42 os << "type: Linear, physical sectors: " << linear_extent->physical_sector() in operator <<() 75 return physical_sector() < other.end_sector() && other.physical_sector() < end_sector(); in OverlapsWith() 82 return physical_sector() < interval.end && interval.start < end_sector(); in OverlapsWith() 86 return Interval(device_index(), physical_sector(), end_sector()); in AsInterval() 107 if (prev_extent->end_sector() == new_extent->physical_sector() && in AddExtent() 113 prev_extent->device_index(), prev_extent->physical_sector()); in AddExtent() 626 extents.emplace_back(linear->device_index(), linear->physical_sector(), in GetFreeRegions() 627 linear->physical_sector() + extent->num_sectors()); in GetFreeRegions() 839 LERROR << "Misaligned region " << new_extent->physical_sector() << ".." in ExtendFinalExtent() 1238 uint64_t num_sectors, uint64_t physical_sector) { in AddLinearExtent() argument [all …]
|
D | builder_test.cpp | 81 EXPECT_EQ(extent->physical_sector(), 32); in TEST_F() 110 EXPECT_EQ(extent->physical_sector(), 32); in TEST_F() 294 EXPECT_EQ(system1->physical_sector(), 32); in TEST_F() 296 EXPECT_EQ(system2->physical_sector(), 224); in TEST_F() 298 EXPECT_EQ(vendor1->physical_sector(), 160); in TEST_F() 299 EXPECT_EQ(system1->physical_sector() + system1->num_sectors(), vendor1->physical_sector()); in TEST_F() 300 EXPECT_EQ(vendor1->physical_sector() + vendor1->num_sectors(), system2->physical_sector()); in TEST_F() 371 EXPECT_EQ(extent.target_data, original_extent->physical_sector()); in TEST_F() 409 EXPECT_EQ(system1->physical_sector(), 32); in TEST_F() 411 EXPECT_EQ(system2->physical_sector(), 224); in TEST_F() [all …]
|
D | utility_test.cpp | 100 return l.device_index() == r.device_index() && l.physical_sector() == r.physical_sector() && in operator ==()
|
D | writer.cpp | 161 uint64_t physical_sector = extent.target_data; in ValidateAndSerializeMetadata() local 162 if (physical_sector < super_device->first_logical_sector || in ValidateAndSerializeMetadata() 163 physical_sector + extent.num_sectors > last_sector) { in ValidateAndSerializeMetadata()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 75 LinearExtent(uint64_t num_sectors, uint32_t device_index, uint64_t physical_sector) in LinearExtent() argument 76 : Extent(num_sectors), device_index_(device_index), physical_sector_(physical_sector) {} in LinearExtent() 84 uint64_t physical_sector() const { return physical_sector_; } in physical_sector() function 302 uint64_t num_sectors, uint64_t physical_sector);
|
/system/core/fs_mgr/libfiemap/ |
D | metadata.cpp | 156 uint64_t physical_sector = extent.fe_physical / LP_SECTOR_SIZE; in FillPartitionExtents() local 157 if (!builder->AddLinearExtent(partition, block_device, num_sectors, physical_sector)) { in FillPartitionExtents()
|
D | image_manager.cpp | 749 return os << "<begin:" << e->physical_sector() << ", end:" << e->end_sector() in operator <<() 761 return linear_a->physical_sector() == linear_b->physical_sector() && in CompareExtent()
|
/system/core/fs_mgr/liblp/fuzzer/ |
D | README.md | 27 18. physicalSector (parameter name: "physical_sector") 103 9. physicalSector (parameter name: "physical_sector")
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm_target.h | 107 uint64_t physical_sector) in DmTargetLinear() argument 108 : DmTarget(start, length), block_device_(block_device), physical_sector_(physical_sector) {} in DmTargetLinear()
|
/system/core/fs_mgr/tools/ |
D | dmctl.cpp | 103 uint64_t physical_sector; in Next() local 104 if (!android::base::ParseUint(NextArg(), &physical_sector)) { in Next() 109 physical_sector); in Next()
|