Lines Matching refs:hash
213 unsigned int hash = inet_lhashfn(net, hnum); in __inet_lookup_listener() local
214 struct inet_listen_hashbucket *ilb = &hashinfo->listening_hash[hash]; in __inet_lookup_listener()
245 if (get_nulls_value(node) != hash + LISTENING_NULLS_BASE) in __inet_lookup_listener()
295 unsigned int hash = inet_ehashfn(net, daddr, hnum, saddr, sport); in __inet_lookup_established() local
296 unsigned int slot = hash & hashinfo->ehash_mask; in __inet_lookup_established()
302 if (sk->sk_hash != hash) in __inet_lookup_established()
344 unsigned int hash = inet_ehashfn(net, daddr, lport, in __inet_check_established() local
346 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet_check_established()
347 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet_check_established()
356 if (sk2->sk_hash != hash) in __inet_check_established()
375 sk->sk_hash = hash; in __inet_check_established()