Searched refs:byte_offset (Results 1 – 2 of 2) sorted by relevance
335 uint32_t byte_offset; in z_impl_k_msgq_peek_at() local342 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()
77 size_t byte_offset = (pool->buf_count - uninit_count) * struct_size; in pool_get_uninit() local80 buf = (struct net_buf *)(((uint8_t *)pool->__bufs) + byte_offset); in pool_get_uninit()