Lines Matching refs:slot_info
46 sizeof(bootloader_control::slot_info) /
47 sizeof(bootloader_control::slot_info[0]);
188 return (bootctrl.slot_info[slot].successful_boot && in IsSlotMarkedSuccessful()
189 bootctrl.slot_info[slot].tries_remaining); in IsSlotMarkedSuccessful()
202 bootctrl.slot_info[bootctrl_module->current_slot].successful_boot = 1; in MarkBootSuccessful()
206 bootctrl.slot_info[bootctrl_module->current_slot].tries_remaining = 1; in MarkBootSuccessful()
237 if (bootctrl.slot_info[i].priority >= kActivePriority) in SetActiveBootSlot()
238 bootctrl.slot_info[i].priority = kActivePriority - 1; in SetActiveBootSlot()
244 bootctrl.slot_info[slot].priority = kActivePriority; in SetActiveBootSlot()
245 bootctrl.slot_info[slot].tries_remaining = kActiveTries; in SetActiveBootSlot()
253 bootctrl.slot_info[slot].verity_corrupted = 0; in SetActiveBootSlot()
281 bootctrl.slot_info[slot].successful_boot = 0; in SetSlotAsUnbootable()
282 bootctrl.slot_info[slot].tries_remaining = 0; in SetSlotAsUnbootable()
306 return bootctrl.slot_info[slot].tries_remaining; in IsSlotBootable()