Searched refs:used_msgs (Results 1 – 5 of 5) sorted by relevance
19 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()
48 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()
85 if (event->msgq->used_msgs > 0) { in is_condition_met()
4569 uint32_t used_msgs; member4596 .used_msgs = 0, \4616 uint32_t used_msgs; member4811 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()
314 mqstat->mq_curmsgs = attrs.used_msgs; in mq_getattr()