Searched refs:kMaxNumSlots (Results 1 – 3 of 3) sorted by relevance
45 constexpr unsigned int kMaxNumSlots = variable119 if (current_slot < kMaxNumSlots) { in InitDefaultBootloaderControl()127 boot_ctrl->nb_slot = 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()333 if (slot >= kMaxNumSlots || slot >= num_slots_) { in IsSlotBootable()345 if (slot >= kMaxNumSlots || slot >= num_slots_) { in IsSlotMarkedSuccessful()357 return slot < kMaxNumSlots && slot < num_slots_; in IsValidSlot()[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()
48 constexpr const uint32_t kMaxNumSlots = 2; variable49 constexpr const char* kSlotSuffixes[kMaxNumSlots] = {"_a", "_b"};150 for (size_t suffix_idx = 0; suffix_idx < kMaxNumSlots; ++suffix_idx) { in PartitionSuffixSizesToManifest()182 MetadataBuilder::New(super_size, kFakeMetadataSize, kMaxNumSlots);