Searched refs:current_slot (Results 1 – 2 of 2) 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
340 int32_t current_slot = 0; in getSnapshotMergeStatus() local341 getCurrentSlot(¤t_slot); in getSnapshotMergeStatus()342 if (!GetMiscVirtualAbMergeStatus(current_slot, &status)) { in getSnapshotMergeStatus()412 int32_t current_slot = 0; in markBootSuccessful() local413 getCurrentSlot(¤t_slot); in markBootSuccessful()415 auto const slot = current_slot; in markBootSuccessful()419 ret = setSlotFlag(current_slot, AB_ATTR_SUCCESSFUL); in markBootSuccessful()554 int32_t current_slot = 0; in setSnapshotMergeStatus() local555 getCurrentSlot(¤t_slot); in setSnapshotMergeStatus()556 if (!SetMiscVirtualAbMergeStatus(current_slot, ToHIDLMergeStatus(in_status))) in setSnapshotMergeStatus()