/kernel/liteos_a/compat/posix/include/ |
H A D | mqueue.h | 251 * @param msgPrio [IN] Priority of the message to be sent (the value of this parameter must 274 extern int mq_send(mqd_t personal, const char *msg, size_t msgLen, unsigned int msgPrio); 291 * @param msgPrio [OUT] Priority of the message to be received 311 extern ssize_t mq_receive(mqd_t personal, char *msg, size_t msgLen, unsigned int *msgPrio); 361 * @param msgPrio [IN] Priority of the message to be sent (the value of this parameter must be 0 385 unsigned int msgPrio, const struct timespec *absTimeout); 404 * @param msgPrio [OUT] Priority of the message to be received (because priority-based message 427 unsigned int *msgPrio, const struct timespec *absTimeout);
|
/kernel/liteos_m/testsuites/unittest/xts/cmsis/ |
H A D | cmsis_msg_func_test.c | 52 UINT8 msgPrio = 0; in CmsisMessageQueueGetFunc001() local 55 uwRet = osMessageQueueGet(g_cmsisMqId, ucTemp, &msgPrio, TIMEOUT_COUNT); in CmsisMessageQueueGetFunc001() 228 UINT8 msgPrio = 0; variable 230 uwRet = osMessageQueueGet(NULL, ucTemp, &msgPrio, TIMEOUT_COUNT); 243 UINT8 msgPrio = 0; variable 247 uwRet = osMessageQueueGet(g_cmsisMqId, NULL, &msgPrio, TIMEOUT_COUNT);
|
/kernel/liteos_a/syscall/ |
H A D | ipc_syscall.c | 156 int SysMqTimedSend(mqd_t personal, const char *msg, size_t msgLen, unsigned int msgPrio, in SysMqTimedSend() argument 182 ret = mq_timedsend(personal, msgIntr, msgLen, msgPrio, absTimeout ? &timeout : NULL); in SysMqTimedSend() 190 ssize_t SysMqTimedReceive(mqd_t personal, char *msg, size_t msgLen, unsigned int *msgPrio, in SysMqTimedReceive() argument 218 if (msgPrio != NULL) { in SysMqTimedReceive() 219 ret = LOS_ArchCopyToUser(msgPrio, &kMsgPrio, sizeof(unsigned int)); in SysMqTimedReceive()
|
H A D | los_syscall.h | 127 extern int SysMqSend(mqd_t personal, const char *msgPtr, size_t msgLen, unsigned int msgPrio);
128 extern int SysMqTimedSend(mqd_t personal, const char *msg, size_t msgLen, unsigned int msgPrio,
130 extern ssize_t SysMqTimedReceive(mqd_t personal, char *msg, size_t msgLen, unsigned int *msgPrio,
|
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
H A D | It_posix_queue_144.cpp | 63 UINT32 msgPrio = 1; in PthreadF02() local 72 ret = mq_receive(g_gqueue, msgrcd[i], attr.mq_msgsize, &msgPrio); in PthreadF02()
|
/kernel/liteos_m/kal/posix/src/ |
H A D | mqueue.c | 534 int mq_timedsend(mqd_t personal, const char *msg, size_t msgLen, unsigned int msgPrio, in mq_timedsend() argument 544 OS_MQ_GOTO_ERROUT_IF(msgPrio > (MQ_PRIO_MAX - 1), EINVAL); in mq_timedsend() 572 ssize_t mq_timedreceive(mqd_t personal, char *msg, size_t msgLen, unsigned int *msgPrio, in mq_timedreceive() argument 585 if (msgPrio != NULL) { in mq_timedreceive() 586 *msgPrio = 0; in mq_timedreceive()
|
/kernel/liteos_a/compat/posix/src/ |
H A D | mqueue.c | 785 int mq_timedsend(mqd_t personal, const char *msg, size_t msgLen, unsigned int msgPrio, in mq_timedsend() argument 794 OS_MQ_GOTO_ERROUT_IF(msgPrio > (MQ_PRIO_MAX - 1), EINVAL); in mq_timedsend() 827 ssize_t mq_timedreceive(mqd_t personal, char *msg, size_t msgLen, unsigned int *msgPrio, in mq_timedreceive() argument 840 if (msgPrio != NULL) { in mq_timedreceive() 841 *msgPrio = 0; in mq_timedreceive()
|