Home
last modified time | relevance | path

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

/openbmc/openpower-pnor-code-mgmt/ubi/
H A Ditem_updater_ubi.cpp287 versionsPQ; in freePriority() local
293 versionsPQ.push(std::make_pair( in freePriority()
299 while (!versionsPQ.empty()) in freePriority()
301 if (versionsPQ.top().first == value && in freePriority()
302 versionsPQ.top().second != versionId) in freePriority()
306 storeToFile(versionsPQ.top().second, value); in freePriority()
312 versionsPQ.pop(); in freePriority()
365 versionsPQ; in freeSpace() local
382 versionsPQ.push(std::make_pair( in freeSpace()
392 erase(versionsPQ.top().second); in freeSpace()
[all …]
/openbmc/phosphor-bmc-code-mgmt/
H A Ditem_updater.cpp872 versionsPQ; in freeSpace()
906 versionsPQ.push(std::make_pair(priority, iter.second->versionId)); in freeSpace()
912 while ((count >= ACTIVE_BMC_MAX_ALLOWED) && (!versionsPQ.empty())) in freeSpace()
914 erase(versionsPQ.top().second); in freeSpace()
915 versionsPQ.pop(); in freeSpace()