Searched refs:HASH_BITS (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/linux/ |
H A 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)
|
/openbmc/linux/tools/include/linux/ |
H A 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)
|
/openbmc/linux/net/rxrpc/ |
H A D | proc.c | 246 unsigned int shift = 32 - HASH_BITS(rxnet->peer_hash); in rxrpc_peer_seq_start() 281 unsigned int shift = 32 - HASH_BITS(rxnet->peer_hash); in rxrpc_peer_seq_next()
|
/openbmc/linux/kernel/time/ |
H A D | posix-timers.c | 72 return hash_32(hash32_ptr(sig) ^ nr, HASH_BITS(posix_timers_hashtable)); in hash()
|