Searched refs:cap_bits (Results 1 – 2 of 2) sorted by relevance
/third_party/libbpf/src/ |
D | hashmap.c | 47 map->cap_bits = 0; in hashmap__init() 73 map->cap = map->cap_bits = map->sz = 0; in hashmap__clear() 108 new_cap_bits = map->cap_bits + 1; in hashmap_grow() 123 map->cap_bits = new_cap_bits; in hashmap_grow() 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert() 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert() 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_find() 226 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_delete()
|
D | hashmap.h | 79 size_t cap_bits; member 194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|