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()270 unsigned int max_priority = bootctrl.slot_info[current_slot_].priority; in GetActiveBootSlot()273 if (bootctrl.slot_info[i].priority > max_priority) { in GetActiveBootSlot()274 max_priority = bootctrl.slot_info[i].priority; in GetActiveBootSlot()296 if (bootctrl.slot_info[i].priority >= kActivePriority) in SetActiveBootSlot()297 bootctrl.slot_info[i].priority = kActivePriority - 1; in SetActiveBootSlot()303 bootctrl.slot_info[slot].priority = kActivePriority; in SetActiveBootSlot()[all …]
98 struct slot_metadata slot_info[4]; member