Searched refs:kMaxNumSlots (Results 1 – 2 of 2) sorted by relevance
45 constexpr unsigned int kMaxNumSlots = variable47 constexpr const char* kSlotSuffixes[kMaxNumSlots] = { "_a", "_b", "_c", "_d" };119 if (current_slot < kMaxNumSlots) { in InitDefaultBootloaderControl()127 boot_ctrl->nb_slot = kMaxNumSlots; in InitDefaultBootloaderControl()136 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in InitDefaultBootloaderControl()152 (first_missing_slot == -1 && last_existing_slot + 1 == kMaxNumSlots)) { in InitDefaultBootloaderControl()158 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in InitDefaultBootloaderControl()186 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in SlotSuffixToIndex()283 if (slot >= kMaxNumSlots || slot >= num_slots_) { in SetActiveBootSlot()317 if (slot >= kMaxNumSlots || slot >= num_slots_) { in SetSlotAsUnbootable()[all …]
45 constexpr unsigned int kMaxNumSlots = variable49 constexpr const char* kSlotSuffixes[kMaxNumSlots] = { "_a", "_b", "_c", "_d" };84 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in SlotSuffixToIndex()179 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in IsSlotMarkedSuccessful()223 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in SetActiveBootSlot()270 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in SetSlotAsUnbootable()297 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in IsSlotBootable()315 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) return NULL; in GetSuffix()