Lines Matching refs:head
121 struct sk_buff *head; member
197 struct list_head *head, in seek_list() argument
203 if (list_empty(head)) in seek_list()
206 list_for_each_entry_safe(flow, next, head, flowchain) { in seek_list()
213 if (list_is_last(&flow->flowchain, head)) in seek_list()
228 static struct hh_flow_state *alloc_new_hh(struct list_head *head, in alloc_new_hh() argument
234 if (!list_empty(head)) { in alloc_new_hh()
236 list_for_each_entry(flow, head, flowchain) { in alloc_new_hh()
255 list_add_tail(&flow->flowchain, head); in alloc_new_hh()
347 struct sk_buff *skb = bucket->head; in dequeue_head()
349 bucket->head = skb->next; in dequeue_head()
357 if (bucket->head == NULL) in bucket_add()
358 bucket->head = skb; in bucket_add()
372 if (!bucket->head) in hhf_drop()
375 if (bucket->head) { in hhf_drop()
437 struct list_head *head; in hhf_dequeue() local
440 head = &q->new_buckets; in hhf_dequeue()
441 if (list_empty(head)) { in hhf_dequeue()
442 head = &q->old_buckets; in hhf_dequeue()
443 if (list_empty(head)) in hhf_dequeue()
446 bucket = list_first_entry(head, struct wdrr_bucket, bucketchain); in hhf_dequeue()
457 if (bucket->head) { in hhf_dequeue()
465 if ((head == &q->new_buckets) && !list_empty(&q->old_buckets)) in hhf_dequeue()
512 struct list_head *head = &q->hh_flows[i]; in hhf_destroy() local
514 if (list_empty(head)) in hhf_destroy()
516 list_for_each_entry_safe(flow, next, head, flowchain) { in hhf_destroy()