Lines Matching refs:hash
214 unsigned int hash = inet_lhashfn(net, hnum); in __inet_lookup_listener() local
215 struct inet_listen_hashbucket *ilb = &hashinfo->listening_hash[hash]; in __inet_lookup_listener()
246 if (get_nulls_value(node) != hash + LISTENING_NULLS_BASE) in __inet_lookup_listener()
296 unsigned int hash = inet_ehashfn(net, daddr, hnum, saddr, sport); in __inet_lookup_established() local
297 unsigned int slot = hash & hashinfo->ehash_mask; in __inet_lookup_established()
303 if (sk->sk_hash != hash) in __inet_lookup_established()
345 unsigned int hash = inet_ehashfn(net, daddr, lport, in __inet_check_established() local
347 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet_check_established()
348 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()