Searched refs:HASH_BITS (Results 1 - 5 of 5) sorted by relevance

/linux-master/include/linux/
H A Dhashtable.h28 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) macro
49 * This has to be a macro since HASH_BITS() will not work on pointers since
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))])
96 * This has to be a macro since HASH_BITS() will not work on pointers since
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-master/tools/include/linux/
H A Dhashtable.h25 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) macro
46 * This has to be a macro since HASH_BITS() will not work on pointers since
58 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
84 * This has to be a macro since HASH_BITS() will not work on pointers since
133 hlist_for_each_entry(obj, &name[hash_min(key, HASH_BITS(name))], member)
146 &name[hash_min(key, HASH_BITS(name))], member)
/linux-master/io_uring/
H A Dnapi.c53 hash_list = &ctx->napi_ht[hash_min(napi_id, HASH_BITS(ctx->napi_ht))];
/linux-master/net/rxrpc/
H A Dproc.c320 unsigned int shift = 32 - HASH_BITS(rxnet->peer_hash);
355 unsigned int shift = 32 - HASH_BITS(rxnet->peer_hash);
/linux-master/kernel/time/
H A Dposix-timers.c72 return hash_32(hash32_ptr(sig) ^ nr, HASH_BITS(posix_timers_hashtable));

Completed in 242 milliseconds