Home
last modified time | relevance | path

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

/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp240 num_slots_ = boot_ctrl.nb_slot; in Init()
245 return num_slots_; in GetNumberSlots()
265 if (slot >= kMaxNumSlots || slot >= num_slots_) { in SetActiveBootSlot()
276 for (unsigned int i = 0; i < num_slots_; ++i) { in SetActiveBootSlot()
299 if (slot >= kMaxNumSlots || slot >= num_slots_) { in SetSlotAsUnbootable()
315 if (slot >= kMaxNumSlots || slot >= num_slots_) { in IsSlotBootable()
327 if (slot >= kMaxNumSlots || slot >= num_slots_) { in IsSlotMarkedSuccessful()
339 return slot < kMaxNumSlots && slot < num_slots_; in IsValidSlot()
355 if (slot >= kMaxNumSlots || slot >= num_slots_) { in GetSuffix()
/hardware/interfaces/boot/1.1/default/boot_control/include/libboot_control/
Dlibboot_control.h59 unsigned int num_slots_ = 0; variable