Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dhashmap.c41 map->cap_bits = 0; in hashmap__init()
67 map->cap = map->cap_bits = map->sz = 0; in hashmap__clear()
103 new_cap_bits = map->cap_bits + 1; in hashmap_grow()
118 map->cap_bits = new_cap_bits; in hashmap_grow()
162 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert()
186 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert()
206 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__find()
221 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__delete()
Dhashmap.h42 size_t cap_bits; member
52 .cap_bits = 0, \
164 map->cap_bits); \
172 map->cap_bits); \