Searched refs:cap_bits (Results 1 - 7 of 7) sorted by relevance
/linux-master/tools/perf/util/ |
H A D | sharded_mutex.h | 16 /* mutexes array is 1<<cap_bits in size. */ 17 unsigned int cap_bits; member in struct:sharded_mutex 26 return &sm->mutexes[hash_bits(hash, sm->cap_bits)];
|
H A D | sharded_mutex.c | 20 result->cap_bits = bits; 29 for (size_t i = 0; i < ((size_t)1 << sm->cap_bits); i++)
|
H A D | hashmap.c | 47 map->cap_bits = 0; 73 map->cap = map->cap_bits = map->sz = 0; 108 new_cap_bits = map->cap_bits + 1; 123 map->cap_bits = new_cap_bits; 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 226 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits);
|
H A D | hashmap.h | 79 size_t cap_bits; member in struct:hashmap 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-master/tools/lib/bpf/ |
H A D | hashmap.c | 47 map->cap_bits = 0; 73 map->cap = map->cap_bits = map->sz = 0; 108 new_cap_bits = map->cap_bits + 1; 123 map->cap_bits = new_cap_bits; 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 226 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits);
|
H A D | hashmap.h | 79 size_t cap_bits; member in struct:hashmap 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-master/drivers/hv/ |
H A D | hv_balloon.c | 131 } cap_bits; member in union:dm_caps 1830 cap_msg.caps.cap_bits.balloon = ballooning_enabled(); 1831 cap_msg.caps.cap_bits.hot_add = hot_add_enabled(); 1837 cap_msg.caps.cap_bits.hot_add_alignment = 7;
|
Completed in 161 milliseconds