Searched refs:slot_index_to_boot (Results 1 – 4 of 4) sorted by relevance
209 size_t slot_index_to_boot; in spl_get_current_slot() local241 slot_index_to_boot = 1; in spl_get_current_slot()243 slot_index_to_boot = 0; in spl_get_current_slot()245 slot_index_to_boot = 0; in spl_get_current_slot()247 slot_index_to_boot = 1; in spl_get_current_slot()261 if (slot_index_to_boot == 0) in spl_get_current_slot()263 else if (slot_index_to_boot == 1) in spl_get_current_slot()266 if (last_slot_index != slot_index_to_boot) { in spl_get_current_slot()267 last_slot_index = slot_index_to_boot; in spl_get_current_slot()270 ab_data.slots[slot_index_to_boot].successful_boot, in spl_get_current_slot()[all …]
320 size_t slot_index_to_boot; in rk_avb_ab_slot_select() local331 slot_index_to_boot = 1; in rk_avb_ab_slot_select()333 slot_index_to_boot = 0; in rk_avb_ab_slot_select()336 slot_index_to_boot = 0; in rk_avb_ab_slot_select()338 slot_index_to_boot = 1; in rk_avb_ab_slot_select()345 if (slot_index_to_boot == 0) { in rk_avb_ab_slot_select()347 } else if(slot_index_to_boot == 1) { in rk_avb_ab_slot_select()351 if (last_slot_index != slot_index_to_boot) { in rk_avb_ab_slot_select()352 last_slot_index = slot_index_to_boot; in rk_avb_ab_slot_select()355 ab_data.slots[slot_index_to_boot].successful_boot, in rk_avb_ab_slot_select()[all …]
216 size_t slot_index_to_boot, n; in avb_ab_flow() local303 slot_index_to_boot = 1; in avb_ab_flow()305 slot_index_to_boot = 0; in avb_ab_flow()308 slot_index_to_boot = 0; in avb_ab_flow()310 slot_index_to_boot = 1; in avb_ab_flow()363 avb_assert(slot_data[slot_index_to_boot] != NULL); in avb_ab_flow()364 data = slot_data[slot_index_to_boot]; in avb_ab_flow()365 slot_data[slot_index_to_boot] = NULL; in avb_ab_flow()374 if (!ab_data.slots[slot_index_to_boot].successful_boot && in avb_ab_flow()375 ab_data.slots[slot_index_to_boot].tries_remaining > 0) { in avb_ab_flow()[all …]
766 size_t slot_index_to_boot = 0; in android_slot_verify() local816 slot_index_to_boot = 0; in android_slot_verify()818 slot_index_to_boot = 1; in android_slot_verify()820 slot_index_to_boot = 0; in android_slot_verify()947 slot_set_unbootable(&ab_data.slots[slot_index_to_boot]); in android_slot_verify()