Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dbuilder.cpp779 uint64_t midpoint = first_sector + (last_sector - first_sector) / 2; in PrioritizeSecondHalfOfSuper() local
784 if (!AlignSector(super, midpoint, &midpoint)) { in PrioritizeSecondHalfOfSuper()
785 LERROR << "Unexpected integer overflow aligning midpoint " << midpoint; in PrioritizeSecondHalfOfSuper()
795 if (region.device_index != 0 || region.end <= midpoint) { in PrioritizeSecondHalfOfSuper()
799 if (region.start < midpoint && region.end > midpoint) { in PrioritizeSecondHalfOfSuper()
801 first_half.emplace_back(region.device_index, region.start, midpoint); in PrioritizeSecondHalfOfSuper()
802 second_half.emplace_back(region.device_index, midpoint, region.end); in PrioritizeSecondHalfOfSuper()