Lines Matching refs:head
121 struct sk_buff *head;
181 struct list_head *head,
187 if (list_empty(head))
190 list_for_each_entry_safe(flow, next, head, flowchain) {
197 if (list_is_last(&flow->flowchain, head))
212 static struct hh_flow_state *alloc_new_hh(struct list_head *head,
218 if (!list_empty(head)) {
220 list_for_each_entry(flow, head, flowchain) {
239 list_add_tail(&flow->flowchain, head);
328 /* Removes one skb from head of bucket. */
331 struct sk_buff *skb = bucket->head;
333 bucket->head = skb->next;
341 if (bucket->head == NULL)
342 bucket->head = skb;
356 if (!bucket->head)
359 if (bucket->head) {
423 struct list_head *head;
426 head = &q->new_buckets;
427 if (list_empty(head)) {
428 head = &q->old_buckets;
429 if (list_empty(head))
432 bucket = list_first_entry(head, struct wdrr_bucket, bucketchain);
443 if (bucket->head) {
451 if ((head == &q->new_buckets) && !list_empty(&q->old_buckets))
486 struct list_head *head = &q->hh_flows[i];
488 if (list_empty(head))
490 list_for_each_entry_safe(flow, next, head, flowchain) {