Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 9 of 9) sorted by relevance

/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
A Dfs_mgmt_hash_checksum_crc32.c24 ssize_t bytes_read = 0; in fs_mgmt_hash_checksum_crc32() local
37 bytes_read = fs_read(file, buffer, read_size); in fs_mgmt_hash_checksum_crc32()
39 if (bytes_read < 0) { in fs_mgmt_hash_checksum_crc32()
42 } else if (bytes_read > 0) { in fs_mgmt_hash_checksum_crc32()
43 crc32 = crc32_ieee_update(crc32, buffer, bytes_read); in fs_mgmt_hash_checksum_crc32()
44 *out_len += bytes_read; in fs_mgmt_hash_checksum_crc32()
46 } while (bytes_read > 0 && *out_len < len); in fs_mgmt_hash_checksum_crc32()
A Dfs_mgmt_hash_checksum_sha256.c40 ssize_t bytes_read = 0; in fs_mgmt_hash_checksum_sha256() local
60 bytes_read = fs_read(file, buffer, read_size); in fs_mgmt_hash_checksum_sha256()
62 if (bytes_read < 0) { in fs_mgmt_hash_checksum_sha256()
65 } else if (bytes_read > 0) { in fs_mgmt_hash_checksum_sha256()
66 if (hash_update(&hash_ctx, buffer, bytes_read) != SUCCESS_VALUE) { in fs_mgmt_hash_checksum_sha256()
70 *out_len += bytes_read; in fs_mgmt_hash_checksum_sha256()
72 } while (bytes_read > 0 && *out_len < len); in fs_mgmt_hash_checksum_sha256()
A Dfs_mgmt.c239 ssize_t bytes_read = 0; in fs_mgmt_file_download() local
350 bytes_read = fs_read(&fs_mgmt_ctxt.file, file_data, MCUMGR_GRP_FS_DL_CHUNK_SIZE); in fs_mgmt_file_download()
352 if (bytes_read < 0) { in fs_mgmt_file_download()
359 fs_mgmt_ctxt.off += bytes_read; in fs_mgmt_file_download()
364 zcbor_bstr_encode_ptr(zse, file_data, bytes_read) && in fs_mgmt_file_download()
/subsys/bluetooth/services/
A Ddis.c203 if (*bytes_read == len) { in read_udi_subval()
213 if (*index >= offset && *bytes_read < len) { in read_udi_subval()
214 buf[*bytes_read] = str[i]; in read_udi_subval()
216 (*bytes_read)++; in read_udi_subval()
226 uint16_t bytes_read = 0; in read_udi() local
235 bytes_read = 1U; in read_udi()
239 &bytes_read, &index, len, offset); in read_udi()
241 &bytes_read, &index, len, offset); in read_udi()
243 &bytes_read, &index, len, offset); in read_udi()
245 buf_i, &bytes_read, &index, len, offset); in read_udi()
[all …]
/subsys/settings/src/
A Dsettings_its.c83 size_t bytes_read; in load_entries() local
97 status = psa_its_get(uid, 0, to_read, data_ptr, &bytes_read); in load_entries()
102 data_ptr += bytes_read; in load_entries()
103 remaining -= bytes_read; in load_entries()
/subsys/usb/device/class/
A Dmsc.c766 uint32_t bytes_read = 0U; in mass_storage_bulk_out() local
772 &bytes_read); in mass_storage_bulk_out()
778 CBWDecode(bo_buf, bytes_read); in mass_storage_bulk_out()
787 memoryWrite(bo_buf, bytes_read); in mass_storage_bulk_out()
791 memoryVerify(bo_buf, bytes_read); in mass_storage_bulk_out()
/subsys/net/lib/sockets/
A Dsocketpair.c615 size_t bytes_read; in spair_read() local
724 bytes_read = ring_buf_get(&spair->recv_q, (void *)buffer, count); in spair_read()
734 res = bytes_read; in spair_read()
/subsys/tracing/test/
A Dtracing_test.h390 sys_trace_k_pipe_get_enter(pipe, data, bytes_to_read, bytes_read, min_xfer, timeout)
392 sys_trace_k_pipe_get_blocking(pipe, data, bytes_to_read, bytes_read, min_xfer, timeout)
394 sys_trace_k_pipe_get_exit(pipe, data, bytes_to_read, bytes_read, min_xfer, timeout, ret)
680 size_t *bytes_read, size_t min_xfer, k_timeout_t timeout);
682 size_t *bytes_read, size_t min_xfer, k_timeout_t timeout);
684 size_t *bytes_read, size_t min_xfer, k_timeout_t timeout, int ret);
/subsys/tracing/sysview/
A DSYSVIEW_Zephyr.txt81 74 k_pipe_get pipe=%I, data=%p, bytes_to_read=%u, bytes_read=%u, min_xfer=%u, Time…

Completed in 25 milliseconds