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.cpp134 uint64_t sectors_to_remove = (size_ - aligned_size) / LP_SECTOR_SIZE; in ShrinkTo() local
135 while (sectors_to_remove) { in ShrinkTo()
137 if (extent->num_sectors() > sectors_to_remove) { in ShrinkTo()
138 size_ -= sectors_to_remove * LP_SECTOR_SIZE; in ShrinkTo()
139 extent->set_num_sectors(extent->num_sectors() - sectors_to_remove); in ShrinkTo()
143 sectors_to_remove -= extent->num_sectors(); in ShrinkTo()