Searched refs:new_buckets (Results 1 – 3 of 3) sorted by relevance
103 struct hashmap_entry **new_buckets; in hashmap_grow() local 113 new_buckets = calloc(new_cap, sizeof(new_buckets[0])); in hashmap_grow() 114 if (!new_buckets) in hashmap_grow() 119 hashmap_add_entry(&new_buckets[h], cur); in hashmap_grow() 125 map->buckets = new_buckets; in hashmap_grow()
147 struct list_head new_buckets; /* list of new buckets */ member 388 /* The logic of new_buckets vs. old_buckets is the same as in hhf_enqueue() 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() 587 INIT_LIST_HEAD(&q->new_buckets); in hhf_init()