Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dbuilder.cpp62 if (prev_extent->end_sector() == new_extent->physical_sector() && in AddExtent()
696 uint64_t next_aligned_sector = AlignSector(block_device, extent->end_sector()); in ExtendFinalExtent()
697 if (extent->end_sector() == next_aligned_sector) { in ExtendFinalExtent()
701 uint64_t num_sectors = std::min(next_aligned_sector - extent->end_sector(), sectors_needed); in ExtendFinalExtent()
703 extent->end_sector()); in ExtendFinalExtent()
707 << new_extent->end_sector() << " was allocated or marked allocatable."; in ExtendFinalExtent()
732 linear->OwnsSector(candidate.end_sector() - 1)) { in IsAnyRegionAllocated()
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h66 uint64_t end_sector() const { return physical_sector_ + num_sectors_; } in end_sector() function
70 return sector >= physical_sector_ && sector < end_sector(); in OwnsSector()