Searched refs:current_slot (Results 1 – 3 of 3) sorted by relevance
42 unsigned int current_slot; member118 bootctrl_module->current_slot = SlotSuffixToIndex(suffix_prop); in BootControlInit()139 bootctrl_module->current_slot) { in BootControlInit()150 bootctrl_module->current_slot, bootctrl_module->num_slots); in BootControlInit()170 return bootctrl_module->current_slot; in GetCurrentSlot()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()211 bootctrl_module->current_slot); in MarkBootSuccessful()252 if (slot != bootctrl_module->current_slot) in SetActiveBootSlot()350 .current_slot = 0
118 unsigned int current_slot = control->GetCurrentSlot(); in InitDefaultBootloaderControl() local119 if (current_slot < kMaxNumSlots) { in InitDefaultBootloaderControl()120 strlcpy(boot_ctrl->slot_suffix, kSlotSuffixes[current_slot], sizeof(boot_ctrl->slot_suffix)); in InitDefaultBootloaderControl()173 if (current_slot == slot) { in InitDefaultBootloaderControl()385 bool SetMiscVirtualAbMergeStatus(unsigned int current_slot, in SetMiscVirtualAbMergeStatus() argument396 message.source_slot = current_slot; in SetMiscVirtualAbMergeStatus()404 bool GetMiscVirtualAbMergeStatus(unsigned int current_slot, in GetMiscVirtualAbMergeStatus() argument418 if (*status == MergeStatus::SNAPSHOTTED && current_slot == message.source_slot) { in GetMiscVirtualAbMergeStatus()
80 bool SetMiscVirtualAbMergeStatus(unsigned int current_slot,85 bool GetMiscVirtualAbMergeStatus(unsigned int current_slot,