Lines Matching defs:head
114 /* get a packet at the head of the queue */
139 /* get a packet of a specific flow beginning from the head of the queue */
171 /* get all packets starting from the head of the queue */
189 struct mq_head *head = &q->mbufq;
190 struct mbuf *m = MBUFQ_LAST(head);
193 struct mbuf *n = MBUFQ_FIRST(head);
204 (qlen(q) == 1 && m == MBUFQ_FIRST(head)));
215 VERIFY(MBUFQ_EMPTY(head));
216 MBUFQ_INIT(head);
219 head->mq_last = &MBUFQ_NEXT(n);
229 struct mq_head *head = &q->mbufq;
236 VERIFY(MBUFQ_EMPTY(head));
242 m = MBUFQ_FIRST(head);
247 if ((MBUFQ_FIRST(head) = MBUFQ_NEXT(m)) == NULL)
248 (head)->mq_last = &MBUFQ_FIRST(head);
262 (head)->mq_last = &MBUFQ_NEXT(p);
283 struct mq_head *head = &q->mbufq;
286 m0 = MBUFQ_FIRST(head);
298 mtail = &MBUFQ_FIRST(head);
303 head->mq_last = mtail;