Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/bpf/
Dhashmap.c47 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()
Dhashmap.h59 size_t cap_bits; member
69 .cap_bits = 0, \
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)] \
/kernel/linux/linux-5.10/tools/perf/util/
Dhashmap.c47 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()
Dhashmap.h59 size_t cap_bits; member
69 .cap_bits = 0, \
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)] \
/kernel/linux/linux-5.10/drivers/hv/
Dhv_balloon.c127 } cap_bits; member
1632 cap_msg.caps.cap_bits.balloon = 1; in balloon_connect_vsp()
1633 cap_msg.caps.cap_bits.hot_add = 1; in balloon_connect_vsp()
1639 cap_msg.caps.cap_bits.hot_add_alignment = 7; in balloon_connect_vsp()