Searched refs:current_slot (Results 1 – 2 of 2) sorted by relevance
49 unsigned int current_slot; member133 if (module->current_slot < kMaxNumSlots) { in InitDefaultBootloaderControl()134 strlcpy(boot_ctrl->slot_suffix, kSlotSuffixes[module->current_slot], in InitDefaultBootloaderControl()188 if (module->current_slot == slot) { in InitDefaultBootloaderControl()217 module->current_slot = SlotSuffixToIndex(suffix_prop.c_str()); in BootControl_lazyInitialization()253 return reinterpret_cast<boot_control_private_t*>(module)->current_slot; in BootControl_getCurrentSlot()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()302 if (slot != bootctrl_module->current_slot) bootctrl.slot_info[slot].verity_corrupted = 0; in BootControl_setActiveBootSlot()400 .current_slot = 0,
316 uint32_t current_slot = module->getCurrentSlot(); in update_verifier() local317 BoolResult is_successful = module->isSlotMarkedSuccessful(current_slot); in update_verifier()318 LOG(INFO) << "Booting slot " << current_slot << ": isSlotMarkedSuccessful=" in update_verifier()373 LOG(INFO) << "Marked slot " << current_slot << " as booted successfully."; in update_verifier()375 LOG(INFO) << "Deferred marking slot " << current_slot << " as booted successfully."; in update_verifier()