Lines Matching refs:hash
71 * The bindhash mutex for snum's hash chain must be held here.
190 u32 hash;
194 hash = ipv6_portaddr_hash(sock_net(sk),
199 hash = ipv4_portaddr_hash(sock_net(sk),
202 return inet_lhash2_bucket(h, hash);
414 unsigned int hash = inet_ehashfn(net, daddr, hnum, saddr, sport);
415 unsigned int slot = hash & hashinfo->ehash_mask;
420 if (sk->sk_hash != hash)
461 unsigned int hash = inet_ehashfn(net, daddr, lport,
463 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash);
464 spinlock_t *lock = inet_ehash_lockp(hinfo, hash);
472 if (sk2->sk_hash != hash)
486 * in hash table socket with a funny identity.
490 sk->sk_hash = hash;
503 /* Silly. Should hash-dance instead... */
856 * Bind a port for a connect operation and hash it.
944 /* no more locks than number of hash buckets */