Searched refs:bytes_read (Results 1 – 4 of 4) sorted by relevance
| /trusted-services/components/media/disk/gpt_iterator/ |
| A D | gpt_iterator.c | 40 size_t bytes_read = 0; in gpt_iterator_init() local 42 status = volume_read(volume, (uintptr_t)&gpt_header, sizeof(gpt_header), &bytes_read); in gpt_iterator_init() 47 if (bytes_read != sizeof(gpt_header)) in gpt_iterator_init() 112 size_t bytes_read = 0; in gpt_iterator_current() local 119 status = volume_read(iter->volume, (uintptr_t)entry, sizeof(gpt_entry_t), &bytes_read); in gpt_iterator_current() 124 if (bytes_read != sizeof(gpt_entry_t)) in gpt_iterator_current()
|
| /trusted-services/components/media/volume/block_volume/ |
| A D | block_volume.c | 191 size_t bytes_read = 0; in block_volume_read() local 197 while ((bytes_read < length) && (this_instance->file_pos < this_instance->size)) { in block_volume_read() 205 size_t bytes_remaining = length - bytes_read; in block_volume_read() 217 (uint8_t*)(buffer + bytes_read), in block_volume_read() 223 bytes_read += actual_len; in block_volume_read() 227 *length_read = bytes_read; in block_volume_read()
|
| /trusted-services/components/service/fwu/test/fwu_dut/sim/ |
| A D | sim_fwu_dut.cpp | 451 size_t bytes_read = 0; in verify_image() local 456 status = volume_read(volume, (uintptr_t)read_buf, bytes_to_read, &bytes_read); in verify_image() 458 UNSIGNED_LONGS_EQUAL(bytes_to_read, bytes_read); in verify_image() 460 for (size_t i = 0; i < bytes_read; i++) in verify_image() 463 total_bytes_read += bytes_read; in verify_image()
|
| /trusted-services/components/service/secure_storage/backend/secure_flash_store/flash/block_store_adapter/ |
| A D | sfs_flash_block_store_adapter.c | 63 size_t bytes_read = 0; in sfs_flash_read() local 76 &bytes_read); in sfs_flash_read() 81 total_bytes_read += bytes_read; in sfs_flash_read()
|
Completed in 13 milliseconds