Searched refs:cap_bits (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/tools/lib/bpf/ |
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)] \
|
/Linux-v6.6/tools/perf/util/ |
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 | sharded_mutex.h | 17 unsigned int cap_bits; member 26 return &sm->mutexes[hash_bits(hash, sm->cap_bits)]; in sharded_mutex__get_mutex()
|
D | sharded_mutex.c | 20 result->cap_bits = bits; in sharded_mutex__new() 29 for (size_t i = 0; i < ((size_t)1 << sm->cap_bits); i++) in sharded_mutex__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)] \
|
/Linux-v6.6/drivers/hv/ |
D | hv_balloon.c | 131 } cap_bits; member 1830 cap_msg.caps.cap_bits.balloon = ballooning_enabled(); in balloon_connect_vsp() 1831 cap_msg.caps.cap_bits.hot_add = hot_add_enabled(); in balloon_connect_vsp() 1837 cap_msg.caps.cap_bits.hot_add_alignment = 7; in balloon_connect_vsp()
|