Lines Matching refs:img_sz
64 uint32_t img_sz; in boot_verify_ram_load_address() local
85 img_sz = state->slot_usage[BOOT_CURR_IMG(state)].img_sz; in boot_verify_ram_load_address()
91 if (!boot_u32_safe_add(&img_end_addr, img_dst, img_sz)) { in boot_verify_ram_load_address()
210 uint32_t img_dst, uint32_t img_sz) in boot_copy_image_to_sram() argument
228 rc = flash_area_read(fap_src, 0, (void *)(IMAGE_RAM_BASE + img_dst), img_sz); in boot_copy_image_to_sram()
287 end_a = start_a + state->slot_usage[image_id_to_check].img_sz; in boot_check_ram_load_overlapping()
298 end_b = start_b + state->slot_usage[i].img_sz; in boot_check_ram_load_overlapping()
323 uint32_t img_sz; in boot_load_image_to_sram() local
333 rc = boot_read_image_size(state, active_slot, &img_sz); in boot_load_image_to_sram()
339 state->slot_usage[BOOT_CURR_IMG(state)].img_sz = 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()
382 state->slot_usage[BOOT_CURR_IMG(state)].img_sz = 0; in boot_load_image_to_sram()
405 0, state->slot_usage[BOOT_CURR_IMG(state)].img_sz); in boot_remove_image_from_sram()
408 state->slot_usage[BOOT_CURR_IMG(state)].img_sz = 0; in boot_remove_image_from_sram()