Lines Matching refs:mq
664 struct msgidqueue *mq; in mq_enqueue() local
666 if ((mq = np->msgidfree) == 0) { in mq_enqueue()
670 np->msgidfree = mq->next; in mq_enqueue()
671 mq->msgid = msgid; in mq_enqueue()
672 mq->next = 0; in mq_enqueue()
674 np->msgidlast->next = mq; in mq_enqueue()
675 np->msgidlast = mq; in mq_enqueue()
677 np->msgidqueue = mq; in mq_enqueue()
689 struct msgidqueue *mq = *pp; in mq_dequeue() local
690 *pp = mq->next; in mq_dequeue()
691 if (mq == np->msgidlast) in mq_dequeue()
693 mq->next = np->msgidfree; in mq_dequeue()
694 np->msgidfree = mq; in mq_dequeue()