Home
last modified time | relevance | path

Searched refs:old_buckets (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/sched/
H A Dsch_hhf.c148 struct list_head old_buckets; /* list of old buckets */ member
388 /* The logic of new_buckets vs. old_buckets is the same as in hhf_enqueue()
395 list_add_tail(&bucket->bucketchain, &q->old_buckets); in hhf_enqueue()
428 head = &q->old_buckets; in hhf_dequeue()
439 list_move_tail(&bucket->bucketchain, &q->old_buckets); in hhf_dequeue()
450 /* Force a pass through old_buckets to prevent starvation. */ in hhf_dequeue()
451 if ((head == &q->new_buckets) && !list_empty(&q->old_buckets)) in hhf_dequeue()
452 list_move_tail(&bucket->bucketchain, &q->old_buckets); in hhf_dequeue()
587 INIT_LIST_HEAD(&q->old_buckets); in hhf_init()
/kernel/linux/linux-6.6/net/sched/
H A Dsch_hhf.c148 struct list_head old_buckets; /* list of old buckets */ member
388 /* The logic of new_buckets vs. old_buckets is the same as in hhf_enqueue()
395 list_add_tail(&bucket->bucketchain, &q->old_buckets); in hhf_enqueue()
428 head = &q->old_buckets; in hhf_dequeue()
439 list_move_tail(&bucket->bucketchain, &q->old_buckets); in hhf_dequeue()
450 /* Force a pass through old_buckets to prevent starvation. */ in hhf_dequeue()
451 if ((head == &q->new_buckets) && !list_empty(&q->old_buckets)) in hhf_dequeue()
452 list_move_tail(&bucket->bucketchain, &q->old_buckets); in hhf_dequeue()
584 INIT_LIST_HEAD(&q->old_buckets); in hhf_init()

Completed in 2 milliseconds