Home
last modified time | relevance | path

Searched refs:byte_offset (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/kernel/
Dmsg_q.c335 uint32_t byte_offset; in z_impl_k_msgq_peek_at() local
342 byte_offset = idx * msgq->msg_size; in z_impl_k_msgq_peek_at()
345 if (bytes_to_end <= byte_offset) { in z_impl_k_msgq_peek_at()
347 byte_offset -= bytes_to_end; in z_impl_k_msgq_peek_at()
351 (void)memcpy(data, start_addr + byte_offset, msgq->msg_size); in z_impl_k_msgq_peek_at()
/Zephyr-Core-3.6.0/subsys/net/
Dbuf.c77 size_t byte_offset = (pool->buf_count - uninit_count) * struct_size; in pool_get_uninit() local
80 buf = (struct net_buf *)(((uint8_t *)pool->__bufs) + byte_offset); in pool_get_uninit()