Home
last modified time | relevance | path

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

/bootable/recovery/boot_control/
Dboot_control.cpp59 constexpr unsigned int kMaxNumSlots = variable
61 constexpr const char* kSlotSuffixes[kMaxNumSlots] = { "_a", "_b", "_c", "_d" };
133 if (module->current_slot < kMaxNumSlots) { in InitDefaultBootloaderControl()
142 boot_ctrl->nb_slot = kMaxNumSlots; in InitDefaultBootloaderControl()
151 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in InitDefaultBootloaderControl()
167 (first_missing_slot == -1 && last_existing_slot + 1 == kMaxNumSlots)) { in InitDefaultBootloaderControl()
173 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in InitDefaultBootloaderControl()
201 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in SlotSuffixToIndex()
274 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in BootControl_setActiveBootSlot()
311 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in BootControl_setSlotAsUnbootable()
[all …]