Searched refs:alloc_func (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/lib/hash/ |
D | hash_map_sc.c | 86 new_buckets = (sys_dlist_t *)map->alloc_func(map->data->buckets, in sys_hashmap_sc_rehash() 200 map->alloc_func(map->data->buckets, 0); in sys_hashmap_sc_clear() 216 map->alloc_func(entry, 0); in sys_hashmap_sc_clear() 242 entry = map->alloc_func(NULL, sizeof(*entry)); in sys_hashmap_sc_insert() 275 map->alloc_func(entry, 0); in sys_hashmap_sc_remove()
|
D | hash_map_oa_lp.c | 136 new_buckets = (struct oalp_entry *)map->alloc_func(NULL, new_n_buckets * sizeof(*entry)); in sys_hashmap_oa_lp_rehash() 161 map->alloc_func(old_buckets, 0); in sys_hashmap_oa_lp_rehash() 225 map->alloc_func(data->buckets, 0); in sys_hashmap_oa_lp_clear()
|
/Zephyr-latest/include/zephyr/sys/ |
D | hash_map.h | 56 .alloc_func = (_alloc_func), \ 84 .alloc_func = (_alloc_func), \ 135 sys_hashmap_allocator_t alloc_func; member
|