Lines Matching refs:head
120 struct sk_buff *head; member
180 struct list_head *head, in seek_list() argument
186 if (list_empty(head)) in seek_list()
189 list_for_each_entry_safe(flow, next, head, flowchain) { in seek_list()
196 if (list_is_last(&flow->flowchain, head)) in seek_list()
211 static struct hh_flow_state *alloc_new_hh(struct list_head *head, in alloc_new_hh() argument
217 if (!list_empty(head)) { in alloc_new_hh()
219 list_for_each_entry(flow, head, flowchain) { in alloc_new_hh()
238 list_add_tail(&flow->flowchain, head); in alloc_new_hh()
330 struct sk_buff *skb = bucket->head; in dequeue_head()
332 bucket->head = skb->next; in dequeue_head()
340 if (bucket->head == NULL) in bucket_add()
341 bucket->head = skb; in bucket_add()
355 if (!bucket->head) in hhf_drop()
358 if (bucket->head) { in hhf_drop()
431 struct list_head *head; in hhf_dequeue() local
434 head = &q->new_buckets; in hhf_dequeue()
435 if (list_empty(head)) { in hhf_dequeue()
436 head = &q->old_buckets; in hhf_dequeue()
437 if (list_empty(head)) in hhf_dequeue()
440 bucket = list_first_entry(head, struct wdrr_bucket, bucketchain); in hhf_dequeue()
451 if (bucket->head) { in hhf_dequeue()
459 if ((head == &q->new_buckets) && !list_empty(&q->old_buckets)) in hhf_dequeue()
506 struct list_head *head = &q->hh_flows[i]; in hhf_destroy() local
508 if (list_empty(head)) in hhf_destroy()
510 list_for_each_entry_safe(flow, next, head, flowchain) { in hhf_destroy()