Searched refs:slot_index_to_boot (Results 1 – 4 of 4) sorted by relevance
206 size_t slot_index_to_boot; in spl_get_current_slot() local217 slot_index_to_boot = 1; in spl_get_current_slot()219 slot_index_to_boot = 0; in spl_get_current_slot()221 slot_index_to_boot = 0; in spl_get_current_slot()223 slot_index_to_boot = 1; in spl_get_current_slot()237 if (slot_index_to_boot == 0) in spl_get_current_slot()239 else if (slot_index_to_boot == 1) in spl_get_current_slot()242 if (last_slot_index != slot_index_to_boot) { in spl_get_current_slot()243 last_slot_index = slot_index_to_boot; in spl_get_current_slot()246 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 …]
767 size_t slot_index_to_boot = 0; in android_slot_verify() local817 slot_index_to_boot = 0; in android_slot_verify()819 slot_index_to_boot = 1; in android_slot_verify()821 slot_index_to_boot = 0; in android_slot_verify()941 slot_set_unbootable(&ab_data.slots[slot_index_to_boot]); in android_slot_verify()