Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dbuilder.cpp89 uint64_t sectors_to_remove = (size_ - aligned_size) / LP_SECTOR_SIZE; in ShrinkTo() local
90 while (sectors_to_remove) { in ShrinkTo()
92 if (extent->num_sectors() > sectors_to_remove) { in ShrinkTo()
93 size_ -= sectors_to_remove * LP_SECTOR_SIZE; in ShrinkTo()
94 extent->set_num_sectors(extent->num_sectors() - sectors_to_remove); in ShrinkTo()
98 sectors_to_remove -= extent->num_sectors(); in ShrinkTo()