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()
272 for (unsigned int i = 0; i < num_slots_; ++i) { in GetActiveBootSlot()
283 if (slot >= kMaxNumSlots || slot >= num_slots_) { in SetActiveBootSlot()
294 for (unsigned int i = 0; i < num_slots_; ++i) { 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()
373 if (slot >= kMaxNumSlots || slot >= num_slots_) { in GetSuffix()
/hardware/interfaces/boot/1.1/default/boot_control/include/libboot_control/
Dlibboot_control.h60 unsigned int num_slots_ = 0; variable