Searched refs:total_bytes_read (Results 1 – 2 of 2) sorted by relevance
55 size_t total_bytes_read = 0; in sfs_flash_read() local61 while (total_bytes_read < size) { in sfs_flash_read()64 size_t bytes_to_read = size - total_bytes_read; in sfs_flash_read()75 &buff[total_bytes_read], in sfs_flash_read()81 total_bytes_read += bytes_read; in sfs_flash_read()86 if ((status == PSA_SUCCESS) && (total_bytes_read != size)) in sfs_flash_read()
432 size_t total_bytes_read = 0; in verify_image() local434 int status = volume_read(volume, (uintptr_t)header_buf, header_len, &total_bytes_read); in verify_image()436 CHECK_TRUE(total_bytes_read == header_len); in verify_image()449 while (total_bytes_read < image_size) { in verify_image()452 size_t bytes_remaining = image_size - total_bytes_read; in verify_image()463 total_bytes_read += bytes_read; in verify_image()466 UNSIGNED_LONGS_EQUAL(image_size, total_bytes_read); in verify_image()
Completed in 6 milliseconds