Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dbuilder.cpp784 uint64_t midpoint = first_sector + (last_sector - first_sector) / 2; in PrioritizeSecondHalfOfSuper() local
789 if (!AlignSector(super, midpoint, &midpoint)) { in PrioritizeSecondHalfOfSuper()
790 LERROR << "Unexpected integer overflow aligning midpoint " << midpoint; in PrioritizeSecondHalfOfSuper()
800 if (region.device_index != 0 || region.end <= midpoint) { in PrioritizeSecondHalfOfSuper()
804 if (region.start < midpoint && region.end > midpoint) { in PrioritizeSecondHalfOfSuper()
806 first_half.emplace_back(region.device_index, region.start, midpoint); in PrioritizeSecondHalfOfSuper()
807 second_half.emplace_back(region.device_index, midpoint, region.end); in PrioritizeSecondHalfOfSuper()