Searched refs:new_buckets (Results 1 – 4 of 4) sorted by relevance
382 struct links_entry *le, **new_buckets; in linkchk() local402 new_buckets = calloc(new_size, sizeof(struct links_entry *)); in linkchk()405 if (new_buckets == NULL && free_list != NULL) { in linkchk()411 new_buckets = calloc(new_size, sizeof(new_buckets[0])); in linkchk()414 if (new_buckets == NULL) { in linkchk()427 if (new_buckets[hash] != NULL) in linkchk()428 new_buckets[hash]->previous = in linkchk()430 le->next = new_buckets[hash]; in linkchk()432 new_buckets[hash] = le; in linkchk()436 buckets = new_buckets; in linkchk()
400 struct links_entry *le, **new_buckets; in grow_hash() local408 new_buckets = calloc(new_size, sizeof(struct links_entry *)); in grow_hash()410 if (new_buckets == NULL) in grow_hash()422 if (new_buckets[bucket] != NULL) in grow_hash()423 new_buckets[bucket]->previous = le; in grow_hash()424 le->next = new_buckets[bucket]; in grow_hash()426 new_buckets[bucket] = le; in grow_hash()430 res->buckets = new_buckets; in grow_hash()
268 ht_elt **new_buckets; in HT_expand() local272 new_buckets = xmalloc(n2 * sizeof *new_buckets); in HT_expand()274 new_buckets[u] = NULL; in HT_expand()287 e->next = new_buckets[v]; in HT_expand()288 new_buckets[v] = e; in HT_expand()292 ht->buckets = new_buckets; in HT_expand()
1737 int new_buckets = 0; in config_sched() local1764 new_buckets = a.sch->buckets; in config_sched()1895 a.sch->buckets = new_buckets; in config_sched()