Searched refs:slots_iter (Results 1 – 3 of 3) sorted by relevance
283 fn slots_iter(&self) -> SlotIterator { in slots_iter() method288 self.slots_iter() in get_boot_target()304 .slots_iter() in set_slot_unbootable()324 self.slots_iter() in mark_boot_attempt()332 .slots_iter() in mark_boot_attempt()353 .slots_iter() in set_active_slot()400 let actual: Vec<Slot> = sb.slots_iter().collect(); in test_slot_block_defaults()420 let actual: Vec<Slot> = sb.slots_iter().collect(); in test_slot_block_fewer_slots()432 assert_eq!(sb.slots_iter().count(), MAX_SLOTS.into()); in test_slot_block_slot_count_saturates()488 let a_slot = sb.slots_iter().next().unwrap(); in test_get_boot_target_recovery()[all …]
180 self.slots_iter() in get_boot_target()186 fn slots_iter(&self) -> SlotIterator { in slots_iter() method293 self.slots_iter() in get_index_and_slot_with_suffix()322 let actual: Vec<Slot> = sb.slots_iter().collect(); in test_slot_block_defaults()374 sb.slots_iter().next().unwrap(), in test_slot_mark_boot_attempt()408 sb.slots_iter().next().unwrap(), in test_slot_mark_boot_attempt_no_more_tries()461 assert_eq!(sb.slots_iter()484 let v: Vec<Slot> = sb.slots_iter().collect(); in test_no_bootable_slots_boot_recovery()497 let v: Vec<Slot> = sb.slots_iter().collect(); in test_set_active_slot()516 let v: Vec<Slot> = sb.slots_iter().collect(); in test_get_slot_last_set_active()[all …]
328 fn slots_iter(&self) -> SlotIterator; in slots_iter() method339 self.slots_iter().max_by_key(|slot| (slot.priority, slot.suffix.rank())).unwrap() in get_slot_last_set_active()