Lines Matching refs:image_index
397 boot_swap_type_multi(int image_index) in boot_swap_type_multi() argument
406 BOOT_HOOK_REGULAR, image_index, &primary_slot); in boot_swap_type_multi()
409 rc = boot_read_swap_state_by_id(FLASH_AREA_IMAGE_PRIMARY(image_index), in boot_swap_type_multi()
416 rc = boot_read_swap_state_by_id(FLASH_AREA_IMAGE_SECONDARY(image_index), in boot_swap_type_multi()
420 "is unreachable. Treat it as empty", image_index); in boot_swap_type_multi()
443 BOOT_LOG_INF("Image index: %d, Swap type: %s", image_index, in boot_swap_type_multi()
457 BOOT_LOG_INF("Image index: %d, Swap type: none", image_index); in boot_swap_type_multi()
656 boot_set_pending_multi(int image_index, int permanent) in boot_set_pending_multi() argument
661 rc = flash_area_open(FLASH_AREA_IMAGE_SECONDARY(image_index), &fap); in boot_set_pending_multi()
701 boot_set_confirmed_multi(int image_index) in boot_set_confirmed_multi() argument
706 rc = flash_area_open(FLASH_AREA_IMAGE_PRIMARY(image_index), &fap); in boot_set_confirmed_multi()