Home
last modified time | relevance | path

Searched refs:MQ_PRIO_MAX (Results 1 – 19 of 19) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
DIt_posix_queue_049.cpp36 …INT32 mqueuePri[MQUEUE_PRIORITY_NUM_TEST] = {MQ_PRIO_MAX, MQ_PRIO_MAX + 1, MQ_PRIO_MAX + 5}; // 5,… in Testcase()
DIt_posix_queue_036.cpp50 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX + 1, &ts); in Testcase()
DIt_posix_queue_038.cpp47 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX); in Testcase()
DIt_posix_queue_043.cpp51 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX - 1); in Testcase()
DIt_posix_queue_177.cpp56 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX - 1, &ts); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mqueue/
DIt_posix_queue_033.c36 …INT32 mqueuePri[MQUEUE_PRIORITY_NUM_TEST] = {MQ_PRIO_MAX, MQ_PRIO_MAX + 1, MQ_PRIO_MAX + 5}; // 5,… in Testcase()
DIt_posix_queue_024.c46 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX); in Testcase()
DIt_posix_queue_023.c49 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX + 1, &ts); in Testcase()
DIt_posix_queue_028.c50 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX - 1); in Testcase()
DIt_posix_queue.h71 #define MQ_PRIO_MAX 1 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dmqueue.h9 #define MQ_PRIO_MAX 32768 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dmqueue.h22 #define MQ_PRIO_MAX 32768 macro
/kernel/linux/linux-5.10/include/uapi/linux/
Dmqueue.h24 #define MQ_PRIO_MAX 32768 macro
/kernel/liteos_m/kal/posix/src/
Dmqueue_impl.h80 #define MQ_PRIO_MAX 1 macro
Dmqueue.c544 OS_MQ_GOTO_ERROUT_IF(msgPrio > (MQ_PRIO_MAX - 1), EINVAL); in mq_timedsend()
/kernel/liteos_a/compat/posix/include/
Dmqueue.h75 #define MQ_PRIO_MAX 1 macro
/kernel/liteos_a/compat/posix/src/
Dmisc.c112 CONF_CASE_RETURN(_SC_MQ_PRIO_MAX, MQ_PRIO_MAX); in sysconf()
Dmqueue.c786 OS_MQ_GOTO_ERROUT_IF(msgPrio > (MQ_PRIO_MAX - 1), EINVAL); in mq_timedsend()
/kernel/linux/linux-5.10/ipc/
Dmqueue.c369 min_t(unsigned int, info->attr.mq_maxmsg, MQ_PRIO_MAX) * in mqueue_get_inode()
543 min_t(unsigned int, info->attr.mq_maxmsg, MQ_PRIO_MAX) * in mqueue_evict_inode()
1075 if (unlikely(msg_prio >= (unsigned long) MQ_PRIO_MAX)) in do_mq_timedsend()