Home
last modified time | relevance | path

Searched refs:HASH_BITS (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/include/linux/
Dhashtable.h28 #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-6.6.21/tools/include/linux/
Dhashtable.h25 #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-6.6.21/net/rxrpc/
Dproc.c246 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()
/linux-6.6.21/kernel/time/
Dposix-timers.c72 return hash_32(hash32_ptr(sig) ^ nr, HASH_BITS(posix_timers_hashtable)); in hash()