Home
last modified time | relevance | path

Searched refs:mqAttr (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_m/kal/posix/src/
Dmqueue.c372 int OsMqGetAttr(mqd_t personal, struct mq_attr *mqAttr) in OsMqGetAttr() argument
377 if (mqAttr == NULL) { in OsMqGetAttr()
391 mqAttr->mq_maxmsg = mqueueCB->mqcb->queueLen; in OsMqGetAttr()
392 mqAttr->mq_msgsize = mqueueCB->mqcb->queueSize - sizeof(UINT32); in OsMqGetAttr()
393 mqAttr->mq_curmsgs = mqueueCB->mqcb->readWriteableCnt[OS_QUEUE_READ]; in OsMqGetAttr()
394 mqAttr->mq_flags = privateMqPersonal->mq_flags; in OsMqGetAttr()
/kernel/liteos_a/compat/posix/src/
Dmqueue.c602 int OsMqGetAttr(mqd_t personal, struct mq_attr *mqAttr) in OsMqGetAttr() argument
614 if (mqAttr == NULL) { in OsMqGetAttr()
627 mqAttr->mq_maxmsg = mqueueCB->mqcb->queueLen; in OsMqGetAttr()
628 mqAttr->mq_msgsize = mqueueCB->mqcb->queueSize - sizeof(UINT32); in OsMqGetAttr()
629 mqAttr->mq_curmsgs = mqueueCB->mqcb->readWriteableCnt[OS_QUEUE_READ]; in OsMqGetAttr()
630 mqAttr->mq_flags = privateMqPersonal->mq_flags; in OsMqGetAttr()