Searched refs:current_slot (Results 1 – 2 of 2) sorted by relevance
871 std::string current_slot; in get_current_slot() local872 if (fb_getvar(transport, "current-slot", ¤t_slot)) { in get_current_slot()873 if (current_slot == "_a") return "a"; // Legacy support in get_current_slot()874 if (current_slot == "_b") return "b"; // Legacy support in get_current_slot()875 return current_slot; in get_current_slot()917 static std::string get_other_slot(const std::string& current_slot, int count) { in get_other_slot() argument920 char next = (current_slot[0] - 'a' + 1)%count + 'a'; in get_other_slot()924 static std::string get_other_slot(Transport* transport, const std::string& current_slot) { in get_other_slot() argument925 return get_other_slot(current_slot, get_slot_count(transport)); in get_other_slot()981 std::string current_slot; in do_for_partition() local[all …]
754 const BootControlInterface::Slot current_slot = in UpdateAttempter() local759 << BootControlInterface::SlotName(current_slot); in UpdateAttempter()761 if (current_slot == BootControlInterface::kInvalidSlot || num_slots < 2) { in UpdateAttempter()768 if (slot != current_slot && in UpdateAttempter()