Searched refs:HASH_BITS (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/include/linux/ |
| D | hashtable.h | 28 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) macro 61 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))]) 70 hlist_add_head_rcu(node, &hashtable[hash_min(key, HASH_BITS(hashtable))]) 166 hlist_for_each_entry(obj, &name[hash_min(key, HASH_BITS(name))], member) 177 hlist_for_each_entry_rcu(obj, &name[hash_min(key, HASH_BITS(name))],\ 193 &name[hash_min(key, HASH_BITS(name))], member) 206 &name[hash_min(key, HASH_BITS(name))], member)
|
| /Linux-v5.4/tools/include/linux/ |
| D | hashtable.h | 25 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) macro 58 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))]) 133 hlist_for_each_entry(obj, &name[hash_min(key, HASH_BITS(name))], member) 146 &name[hash_min(key, HASH_BITS(name))], member)
|
| /Linux-v5.4/net/rxrpc/ |
| D | proc.c | 257 unsigned int shift = 32 - HASH_BITS(rxnet->peer_hash); in rxrpc_peer_seq_start() 292 unsigned int shift = 32 - HASH_BITS(rxnet->peer_hash); in rxrpc_peer_seq_next()
|
| /Linux-v5.4/kernel/time/ |
| D | posix-timers.c | 114 return hash_32(hash32_ptr(sig) ^ nr, HASH_BITS(posix_timers_hashtable)); in hash()
|