Lines Matching refs:mq
46 struct capilib_msgidqueue *mq; in mq_enqueue() local
47 if ((mq = np->msgidfree) == NULL) in mq_enqueue()
49 np->msgidfree = mq->next; in mq_enqueue()
50 mq->msgid = msgid; in mq_enqueue()
51 mq->next = NULL; in mq_enqueue()
53 np->msgidlast->next = mq; in mq_enqueue()
54 np->msgidlast = mq; in mq_enqueue()
56 np->msgidqueue = mq; in mq_enqueue()
66 struct capilib_msgidqueue *mq = *pp; in mq_dequeue() local
67 *pp = mq->next; in mq_dequeue()
68 if (mq == np->msgidlast) in mq_dequeue()
70 mq->next = np->msgidfree; in mq_dequeue()
71 np->msgidfree = mq; in mq_dequeue()