Lines Matching defs:hash
29 #include <net/netns/hash.h>
107 * We must use different 'nulls' end-of-chain value for all hash buckets :
137 * TCP hash as well as the others for fast bind/connect.
167 inet_lhash2_bucket(struct inet_hashinfo *h, u32 hash)
169 return &h->lhash2[hash & h->lhash2_mask];
174 unsigned int hash)
176 return &hashinfo->ehash[hash & hashinfo->ehash_mask];
181 unsigned int hash)
183 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask];
307 /* Sockets in TCP_CLOSE state are _always_ taken out of the hash, so we need