Lines Matching refs:slot_number
410 unsigned int slot_number) { in avb_ab_mark_slot_active() argument
415 avb_assert(slot_number < 2); in avb_ab_mark_slot_active()
423 ab_data.slots[slot_number].priority = AVB_AB_MAX_PRIORITY; in avb_ab_mark_slot_active()
424 ab_data.slots[slot_number].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in avb_ab_mark_slot_active()
425 ab_data.slots[slot_number].successful_boot = 0; in avb_ab_mark_slot_active()
428 other_slot_number = 1 - slot_number; in avb_ab_mark_slot_active()
443 unsigned int slot_number) { in avb_ab_mark_slot_unbootable() argument
447 avb_assert(slot_number < 2); in avb_ab_mark_slot_unbootable()
454 slot_set_unbootable(&ab_data.slots[slot_number]); in avb_ab_mark_slot_unbootable()
466 unsigned int slot_number) { in avb_ab_mark_slot_successful() argument
470 avb_assert(slot_number < 2); in avb_ab_mark_slot_successful()
477 if (!slot_is_bootable(&ab_data.slots[slot_number])) { in avb_ab_mark_slot_successful()
483 ab_data.slots[slot_number].tries_remaining = 0; in avb_ab_mark_slot_successful()
484 ab_data.slots[slot_number].successful_boot = 1; in avb_ab_mark_slot_successful()