Searched refs:HASH_BITS (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | hashtable.h | 23 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) macro 44 * This has to be a macro since HASH_BITS() will not work on pointers since 56 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))]) 65 hlist_add_head_rcu(node, &hashtable[hash_min(key, HASH_BITS(hashtable))]) 91 * This has to be a macro since HASH_BITS() will not work on pointers since 161 hlist_for_each_entry(obj, &name[hash_min(key, HASH_BITS(name))], member) 173 hlist_for_each_entry_rcu(obj, &name[hash_min(key, HASH_BITS(name))],\ 189 &name[hash_min(key, HASH_BITS(name))], member) 202 &name[hash_min(key, HASH_BITS(name))], member)
|
/linux-4.1.27/lib/zlib_deflate/ |
H A D | deflate.c | 586 /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16. longest_match() 618 * are equal and that HASH_BITS >= 8. Compare 2 bytes at a time at longest_match() 653 * the hash keys are equal and that HASH_BITS >= 8. longest_match()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 2838 #define HASH_BITS 6 /* #bits in hash */ macro 2886 /* only upper 6 bits (HASH_BITS) are used netdev_for_each_mc_addr() 2889 hash = (crc >> (32 - HASH_BITS)) & 0x3f; netdev_for_each_mc_addr()
|
/linux-4.1.27/kernel/time/ |
H A D | posix-timers.c | 152 return hash_32(hash32_ptr(sig) ^ nr, HASH_BITS(posix_timers_hashtable)); hash()
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
H A D | de4x5.h | 864 #define HASH_BITS 0x01ff /* 9 LS bits */ macro
|
H A D | de4x5.c | 1966 hashcode = crc & HASH_BITS; /* hashcode is 9 LSb of CRC */ netdev_for_each_mc_addr()
|
Completed in 299 milliseconds