Searched refs:slot_info (Results 1 – 4 of 4) sorted by relevance
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()[all …]
168 struct slot_metadata slot_info[4]; member
46 sizeof(bootloader_control::slot_info) / sizeof(bootloader_control::slot_info[0]);177 boot_ctrl->slot_info[slot] = entry; in InitDefaultBootloaderControl()256 bootctrl.slot_info[current_slot_].successful_boot = 1; in MarkBootSuccessful()260 bootctrl.slot_info[current_slot_].tries_remaining = 1; in MarkBootSuccessful()278 if (bootctrl.slot_info[i].priority >= kActivePriority) in SetActiveBootSlot()279 bootctrl.slot_info[i].priority = kActivePriority - 1; in SetActiveBootSlot()285 bootctrl.slot_info[slot].priority = kActivePriority; in SetActiveBootSlot()286 bootctrl.slot_info[slot].tries_remaining = kActiveTries; in SetActiveBootSlot()293 if (slot != current_slot_) bootctrl.slot_info[slot].verity_corrupted = 0; in SetActiveBootSlot()309 bootctrl.slot_info[slot].successful_boot = 0; in SetSlotAsUnbootable()[all …]
98 struct slot_metadata slot_info[4]; member