Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/bpf/
Dhashmap.c41 map->cap_bits = 0; in hashmap__init()
60 map->cap = map->cap_bits = map->sz = 0; in hashmap__clear()
96 new_cap_bits = map->cap_bits + 1; in hashmap_grow()
111 map->cap_bits = new_cap_bits; in hashmap_grow()
155 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert()
179 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert()
199 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__find()
214 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); \
/Linux-v5.4/drivers/hv/
Dhv_balloon.c124 } cap_bits; member
1626 cap_msg.caps.cap_bits.balloon = 1; in balloon_connect_vsp()
1627 cap_msg.caps.cap_bits.hot_add = 1; in balloon_connect_vsp()
1633 cap_msg.caps.cap_bits.hot_add_alignment = 7; in balloon_connect_vsp()