Lines Matching refs:active_slot
290 if (state->slot_usage[i].active_slot == NO_ACTIVE_SLOT in boot_check_ram_load_overlapping()
320 uint32_t active_slot; in boot_load_image_to_sram() local
326 active_slot = state->slot_usage[BOOT_CURR_IMG(state)].active_slot; in boot_load_image_to_sram()
327 hdr = boot_img_hdr(state, active_slot); in boot_load_image_to_sram()
333 rc = boot_read_image_size(state, active_slot, &img_sz); in boot_load_image_to_sram()
358 rc = boot_decrypt_and_copy_image_to_sram(state, active_slot, hdr, img_sz, img_dst); in boot_load_image_to_sram()
360 rc = boot_copy_image_to_sram(state, active_slot, img_dst, img_sz); in boot_load_image_to_sram()
366 rc = boot_copy_image_to_sram(state, active_slot, img_dst, img_sz); in boot_load_image_to_sram()
445 int active_slot; in boot_load_image_from_flash_to_sram() local
450 active_slot = state->slot_usage[BOOT_CURR_IMG(state)].active_slot; in boot_load_image_from_flash_to_sram()
451 BOOT_IMG(state, active_slot).hdr = *hdr; in boot_load_image_from_flash_to_sram()