Lines Matching refs:head
71 struct sk_buff *head; /* list of skbs for this flow : first skb */ member
162 static void fq_flow_add_tail(struct fq_flow_head *head, struct fq_flow *flow) in fq_flow_add_tail() argument
164 if (head->first) in fq_flow_add_tail()
165 head->last->next = flow; in fq_flow_add_tail()
167 head->first = flow; in fq_flow_add_tail()
168 head->last = flow; in fq_flow_add_tail()
367 struct sk_buff *head = flow->head; in fq_peek() local
370 return head; in fq_peek()
372 if (!head) in fq_peek()
375 if (fq_skb_cb(skb)->time_to_send < fq_skb_cb(head)->time_to_send) in fq_peek()
377 return head; in fq_peek()
383 if (skb == flow->head) { in fq_erase_head()
384 flow->head = skb->next; in fq_erase_head()
407 struct sk_buff *head, *aux; in flow_queue_add() local
409 head = flow->head; in flow_queue_add()
410 if (!head || in flow_queue_add()
412 if (!head) in flow_queue_add()
413 flow->head = skb; in flow_queue_add()
529 struct fq_flow_head *head; in fq_dequeue() local
548 head = &q->new_flows; in fq_dequeue()
549 if (!head->first) { in fq_dequeue()
550 head = &q->old_flows; in fq_dequeue()
551 if (!head->first) { in fq_dequeue()
559 f = head->first; in fq_dequeue()
563 head->first = f->next; in fq_dequeue()
574 head->first = f->next; in fq_dequeue()
586 head->first = f->next; in fq_dequeue()
588 if ((head == &q->new_flows) && q->old_flows.first) { in fq_dequeue()
657 rtnl_kfree_skbs(flow->head, flow->tail); in fq_flow_purge()
658 flow->head = NULL; in fq_flow_purge()