Home
last modified time | relevance | path

Searched refs:new_buckets (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/tools/lib/bpf/
Dhashmap.c90 struct hashmap_entry **new_buckets; in hashmap_grow() local
101 new_buckets = calloc(new_cap, sizeof(new_buckets[0])); in hashmap_grow()
102 if (!new_buckets) in hashmap_grow()
107 hashmap_add_entry(&new_buckets[h], cur); in hashmap_grow()
113 map->buckets = new_buckets; in hashmap_grow()
/Linux-v5.4/net/sched/
Dsch_hhf.c147 struct list_head new_buckets; /* list of new buckets */ member
398 list_add_tail(&bucket->bucketchain, &q->new_buckets); in hhf_enqueue()
426 head = &q->new_buckets; in hhf_dequeue()
451 if ((head == &q->new_buckets) && !list_empty(&q->old_buckets)) in hhf_dequeue()
586 INIT_LIST_HEAD(&q->new_buckets); in hhf_init()