Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dhashmap.h40 struct hashmap_entry **buckets; member
50 .buckets = NULL, \
140 for (cur = map->buckets[bkt]; cur; cur = cur->next)
152 for (cur = map->buckets[bkt]; \
165 map->buckets ? map->buckets[bkt] : NULL; }); \
173 cur = map->buckets ? map->buckets[bkt] : NULL; }); \
Dhashmap.c39 map->buckets = NULL; in hashmap__init()
59 free(map->buckets); in hashmap__clear()
112 free(map->buckets); in hashmap_grow()
113 map->buckets = new_buckets; in hashmap_grow()
125 if (!map->buckets) in hashmap_find_entry()
128 for (prev_ptr = &map->buckets[hash], cur = *prev_ptr; in hashmap_find_entry()
188 hashmap_add_entry(&map->buckets[h], entry); in hashmap__insert()