Searched refs:new_buckets (Results 1 – 2 of 2) sorted by relevance
120 struct oalp_entry *new_buckets; in sys_hashmap_oa_lp_rehash() local136 new_buckets = (struct oalp_entry *)map->alloc_func(NULL, new_n_buckets * sizeof(*entry)); in sys_hashmap_oa_lp_rehash()137 if (new_buckets == NULL && new_n_buckets != 0) { in sys_hashmap_oa_lp_rehash()141 if (new_buckets != NULL) { in sys_hashmap_oa_lp_rehash()143 memset(new_buckets, 0, new_n_buckets * sizeof(*new_buckets)); in sys_hashmap_oa_lp_rehash()147 data->buckets = new_buckets; in sys_hashmap_oa_lp_rehash()
76 sys_dlist_t *new_buckets; in sys_hashmap_sc_rehash() local86 new_buckets = (sys_dlist_t *)map->alloc_func(map->data->buckets, in sys_hashmap_sc_rehash()87 new_n_buckets * sizeof(*new_buckets)); in sys_hashmap_sc_rehash()88 if (new_buckets == NULL && new_n_buckets != 0) { in sys_hashmap_sc_rehash()96 map->data->buckets = new_buckets; in sys_hashmap_sc_rehash()