Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/lib/posix/
Dmqueue.c24 mqueue_object *mqueue; member
171 msg_queue_desc->mqueue = msg_queue; in mq_open()
200 atomic_dec(&mqd->mqueue->ref_count); in mq_close()
203 if (mqd->mqueue->name == NULL) { in mq_close()
204 remove_mq(mqd->mqueue); in mq_close()
314 k_msgq_get_attrs(&mqd->mqueue->queue, &attrs); in mq_getattr()
388 if (msg_len > mqd->mqueue->queue.msg_size) { in send_message()
393 if (k_msgq_put(&mqd->mqueue->queue, (void *)msg_ptr, timeout) != 0) { in send_message()
411 if (msg_len < mqd->mqueue->queue.msg_size) { in receive_message()
420 if (k_msgq_get(&mqd->mqueue->queue, (void *)msg_ptr, timeout) != 0) { in receive_message()
[all …]
DCMakeLists.txt23 zephyr_library_sources_ifdef(CONFIG_POSIX_MQUEUE mqueue.c)
/Zephyr-Core-2.7.6/samples/userspace/prod_consumer/src/
Dapp_a.c40 K_MSGQ_DEFINE(mqueue, SAMPLE_DRIVER_MSG_SIZE, MAX_MSGS, 4);
74 ret = k_msgq_put(&mqueue, data, K_NO_WAIT); in sample_callback()
114 ret = k_msgq_get(&mqueue, payload, K_FOREVER); in monitor_entry()
249 k_thread_access_grant(k_current_get(), &mqueue, sample_device, in app_a_entry()
/Zephyr-Core-2.7.6/doc/releases/
Drelease-notes-1.12.rst570 * :github:`7083` - [Coverity CID: 185281] Null pointer dereferences in /kernel/posix/mqueue.c
Drelease-notes-1.14.rst1913 * :github:`11133` - lib/posix/mqueue.c: WARNING: Unsigned expression compared with zero
1977 * :github:`10754` - [Coverity CID :188886]Error handling issues in /tests/posix/common/src/mqueue.c