Home
last modified time | relevance | path

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

/dragonfly/sys/kern/
H A Dsys_mqueue.c348 if (mqattr->mq_curmsgs) in mqfilter_read()
365 if (mqattr->mq_curmsgs < mqattr->mq_maxmsg) in mqfilter_write()
477 attr.mq_curmsgs = 0; in sys_mq_open()
653 while (mqattr->mq_curmsgs == 0) { in mq_receive1()
701 mqattr->mq_curmsgs--; in mq_receive1()
838 while (mqattr->mq_curmsgs >= mqattr->mq_maxmsg) { in mq_send1()
858 KKASSERT(mq->mq_attrib.mq_curmsgs < mq->mq_attrib.mq_maxmsg); in mq_send1()
875 if (mqattr->mq_curmsgs == 0 && mq->mq_notify_proc && in mq_send1()
889 mqattr->mq_curmsgs++; in mq_send1()
/dragonfly/sys/sys/
H A Dmqueue.h44 long mq_curmsgs; /* Count of the queued messages */ member