Searched refs:toread (Results 1 – 1 of 1) sorted by relevance
394 const uint32_t toread = (size < COREDUMP_CACHE_SIZE) ? size : COREDUMP_CACHE_SIZE; in esp_core_dump_image_check() local397 err = esp_partition_read(core_part, offset, wr_data.cached_data, toread); in esp_core_dump_image_check()404 esp_core_dump_checksum_update(wr_data.checksum_ctx, wr_data.cached_data, toread); in esp_core_dump_image_check()407 offset += toread; in esp_core_dump_image_check()408 size -= toread; in esp_core_dump_image_check()