Searched refs:last_existing_slot (Results 1 – 1 of 1) sorted by relevance
149 int last_existing_slot = -1; in InitDefaultBootloaderControl() local156 last_existing_slot = slot; in InitDefaultBootloaderControl()166 if ((last_existing_slot != -1 && last_existing_slot + 1 == first_missing_slot) || in InitDefaultBootloaderControl()167 (first_missing_slot == -1 && last_existing_slot + 1 == kMaxNumSlots)) { in InitDefaultBootloaderControl()168 boot_ctrl->nb_slot = last_existing_slot + 1; in InitDefaultBootloaderControl()169 LOG(INFO) << "Found a system with " << last_existing_slot + 1 << " slots."; in InitDefaultBootloaderControl()