Home
last modified time | relevance | path

Searched refs:used_msgs (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/kernel/msgq/msgq_api/src/
Dtest_msgq_attrs.c19 zassert_equal(attrs.used_msgs, 0); in attrs_get()
28 zassert_equal(attrs.used_msgs, MSGQ_LEN); in attrs_get()
36 zassert_equal(attrs.used_msgs, 0); in attrs_get()
/Zephyr-latest/kernel/
Dmsg_q.c48 msgq->used_msgs = 0; in k_msgq_init()
136 if (msgq->used_msgs < msgq->max_msgs) { in z_impl_k_msgq_put()
159 msgq->used_msgs++; in z_impl_k_msgq_put()
202 attrs->used_msgs = msgq->used_msgs; in z_impl_k_msgq_get_attrs()
228 if (msgq->used_msgs > 0U) { in z_impl_k_msgq_get()
235 msgq->used_msgs--; in z_impl_k_msgq_get()
251 msgq->used_msgs++; in z_impl_k_msgq_get()
303 if (msgq->used_msgs > 0U) { in z_impl_k_msgq_peek()
340 if (msgq->used_msgs > idx) { in z_impl_k_msgq_peek_at()
392 msgq->used_msgs = 0; in z_impl_k_msgq_purge()
Dpoll.c85 if (event->msgq->used_msgs > 0) { in is_condition_met()
/Zephyr-latest/include/zephyr/
Dkernel.h4569 uint32_t used_msgs; member
4596 .used_msgs = 0, \
4616 uint32_t used_msgs; member
4811 return msgq->max_msgs - msgq->used_msgs; in z_impl_k_msgq_num_free_get()
4827 return msgq->used_msgs; in z_impl_k_msgq_num_used_get()
/Zephyr-latest/lib/posix/options/
Dmqueue.c314 mqstat->mq_curmsgs = attrs.used_msgs; in mq_getattr()