Home
last modified time | relevance | path

Searched refs:end_sector (Results 1 – 4 of 4) sorted by relevance

/system/core/fs_mgr/liblp/
Dbuilder.cpp43 << ", end sectors: " << linear_extent->end_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()
831 if (!AlignSector(block_device, extent->end_sector(), &next_aligned_sector)) { in ExtendFinalExtent()
832 LERROR << "Integer overflow aligning sector " << extent->end_sector(); in ExtendFinalExtent()
835 if (extent->end_sector() == next_aligned_sector) { in ExtendFinalExtent()
839 uint64_t num_sectors = std::min(next_aligned_sector - extent->end_sector(), sectors_needed); in ExtendFinalExtent()
841 extent->end_sector()); in ExtendFinalExtent()
[all …]
Dutility_test.cpp101 l.end_sector() == r.end_sector(); in operator ==()
Dbuilder_test.cpp1052 EXPECT_EQ(e1->end_sector(), 1544); in TEST_F()
1054 EXPECT_EQ(e2->end_sector(), 4197368); in TEST_F()
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h85 uint64_t end_sector() const { return physical_sector_ + num_sectors_; } in end_sector() function