Home
last modified time | relevance | path

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

/Zephyr-latest/lib/hash/
Dhash_map_oa_lp.c120 struct oalp_entry *new_buckets; in sys_hashmap_oa_lp_rehash() local
136 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()
Dhash_map_sc.c76 sys_dlist_t *new_buckets; in sys_hashmap_sc_rehash() local
86 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()