Lines Matching refs:slot_info
60 sizeof(bootloader_control::slot_info) / sizeof(bootloader_control::slot_info[0]);
192 boot_ctrl->slot_info[slot] = entry; in InitDefaultBootloaderControl()
262 bootctrl.slot_info[bootctrl_module->current_slot].successful_boot = 1; in BootControl_markBootSuccessful()
266 bootctrl.slot_info[bootctrl_module->current_slot].tries_remaining = 1; in BootControl_markBootSuccessful()
287 if (bootctrl.slot_info[i].priority >= kActivePriority) in BootControl_setActiveBootSlot()
288 bootctrl.slot_info[i].priority = kActivePriority - 1; in BootControl_setActiveBootSlot()
294 bootctrl.slot_info[slot].priority = kActivePriority; in BootControl_setActiveBootSlot()
295 bootctrl.slot_info[slot].tries_remaining = kActiveTries; in BootControl_setActiveBootSlot()
302 if (slot != bootctrl_module->current_slot) bootctrl.slot_info[slot].verity_corrupted = 0; in BootControl_setActiveBootSlot()
321 bootctrl.slot_info[slot].successful_boot = 0; in BootControl_setSlotAsUnbootable()
322 bootctrl.slot_info[slot].tries_remaining = 0; in BootControl_setSlotAsUnbootable()
338 return bootctrl.slot_info[slot].tries_remaining; in BootControl_isSlotBootable()
352 return bootctrl.slot_info[slot].successful_boot && bootctrl.slot_info[slot].tries_remaining; in BootControl_isSlotMarkedSuccessful()