Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dbuilder.cpp42 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()
631 extents.emplace_back(linear->device_index(), linear->physical_sector(), in GetFreeRegions()
632 linear->physical_sector() + extent->num_sectors()); in GetFreeRegions()
844 LERROR << "Misaligned region " << new_extent->physical_sector() << ".." in ExtendFinalExtent()
1234 uint64_t num_sectors, uint64_t physical_sector) { in AddLinearExtent() argument
[all …]
Dbuilder_test.cpp79 EXPECT_EQ(extent->physical_sector(), 32); in TEST_F()
108 EXPECT_EQ(extent->physical_sector(), 32); in TEST_F()
292 EXPECT_EQ(system1->physical_sector(), 32); in TEST_F()
294 EXPECT_EQ(system2->physical_sector(), 224); in TEST_F()
296 EXPECT_EQ(vendor1->physical_sector(), 160); in TEST_F()
297 EXPECT_EQ(system1->physical_sector() + system1->num_sectors(), vendor1->physical_sector()); in TEST_F()
298 EXPECT_EQ(vendor1->physical_sector() + vendor1->num_sectors(), system2->physical_sector()); in TEST_F()
369 EXPECT_EQ(extent.target_data, original_extent->physical_sector()); in TEST_F()
407 EXPECT_EQ(system1->physical_sector(), 32); in TEST_F()
409 EXPECT_EQ(system2->physical_sector(), 224); in TEST_F()
[all …]
Dutility_test.cpp100 return l.device_index() == r.device_index() && l.physical_sector() == r.physical_sector() && in operator ==()
Dwriter.cpp161 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/
Dbuilder.h75 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/
Dmetadata.cpp153 uint64_t physical_sector = extent.fe_physical / LP_SECTOR_SIZE; in FillPartitionExtents() local
154 if (!builder->AddLinearExtent(partition, block_device, num_sectors, physical_sector)) { in FillPartitionExtents()
/system/core/fs_mgr/libdm/include/libdm/
Ddm_target.h107 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/
Ddmctl.cpp97 uint64_t physical_sector; in Next() local
98 if (!android::base::ParseUint(NextArg(), &physical_sector)) { in Next()
103 physical_sector); in Next()