Home
last modified time | relevance | path

Searched refs:physical_sector (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h59 LinearExtent(uint64_t num_sectors, uint32_t device_index, uint64_t physical_sector) in LinearExtent() argument
60 : Extent(num_sectors), device_index_(device_index), physical_sector_(physical_sector) {} in LinearExtent()
65 uint64_t physical_sector() const { return physical_sector_; } in physical_sector() function
233 uint64_t num_sectors, uint64_t physical_sector);
/system/core/fs_mgr/liblp/
Dbuilder_test.cpp78 EXPECT_EQ(extent->physical_sector(), 32); in TEST_F()
107 EXPECT_EQ(extent->physical_sector(), 32); in TEST_F()
283 EXPECT_EQ(system1->physical_sector(), 32); in TEST_F()
285 EXPECT_EQ(system2->physical_sector(), 224); in TEST_F()
287 EXPECT_EQ(vendor1->physical_sector(), 160); in TEST_F()
288 EXPECT_EQ(system1->physical_sector() + system1->num_sectors(), vendor1->physical_sector()); in TEST_F()
289 EXPECT_EQ(vendor1->physical_sector() + vendor1->num_sectors(), system2->physical_sector()); in TEST_F()
359 EXPECT_EQ(extent.target_data, original_extent->physical_sector()); in TEST_F()
397 EXPECT_EQ(system1->physical_sector(), 32); in TEST_F()
399 EXPECT_EQ(system2->physical_sector(), 224); in TEST_F()
Dbuilder.cpp62 if (prev_extent->end_sector() == new_extent->physical_sector() && in AddExtent()
68 prev_extent->device_index(), prev_extent->physical_sector()); in AddExtent()
530 extents.emplace_back(linear->device_index(), linear->physical_sector(), in GetFreeRegions()
531 linear->physical_sector() + extent->num_sectors()); in GetFreeRegions()
706 LERROR << "Misaligned region " << new_extent->physical_sector() << ".." in ExtendFinalExtent()
731 if (linear->OwnsSector(candidate.physical_sector()) || in IsAnyRegionAllocated()
1068 uint64_t num_sectors, uint64_t physical_sector) { in AddLinearExtent() argument
1075 auto extent = std::make_unique<LinearExtent>(num_sectors, device_index, physical_sector); in AddLinearExtent()
Dwriter.cpp154 uint64_t physical_sector = extent.target_data; in ValidateAndSerializeMetadata() local
155 if (physical_sector < super_device->first_logical_sector || in ValidateAndSerializeMetadata()
156 physical_sector + extent.num_sectors > last_sector) { in ValidateAndSerializeMetadata()
/system/core/fs_mgr/libdm/include/libdm/
Ddm_target.h95 uint64_t physical_sector) in DmTargetLinear() argument
96 : DmTarget(start, length), block_device_(block_device), physical_sector_(physical_sector) {} in DmTargetLinear()
/system/core/fs_mgr/tools/
Ddmctl.cpp101 uint64_t physical_sector; in Next() local
102 if (!android::base::ParseUint(NextArg(), &physical_sector)) { in Next()
107 physical_sector); in Next()
/system/gsid/
Dgsi_service.cpp1181 uint64_t physical_sector = extent.fe_physical / LP_SECTOR_SIZE; in AddPartitionFiemap() local
1182 if (!builder->AddLinearExtent(partition, block_device, num_sectors, physical_sector)) { in AddPartitionFiemap()