Searched refs:hash_bits (Results 1 – 4 of 4) sorted by relevance
/tools/lib/bpf/ |
D | hashmap.c | 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), 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 | 15 static inline size_t hash_bits(size_t h, int bits) in hash_bits() function 181 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 189 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
/tools/perf/util/ |
D | hashmap.c | 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), 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 | 15 static inline size_t hash_bits(size_t h, int bits) in hash_bits() function 181 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 189 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|