Lines Matching refs:hash
65 unsigned int hash = inet6_ehashfn(net, daddr, hnum, saddr, sport); in __inet6_lookup_established() local
66 unsigned int slot = hash & hashinfo->ehash_mask; in __inet6_lookup_established()
73 if (sk->sk_hash != hash) in __inet6_lookup_established()
131 unsigned int hash = inet_lhashfn(net, hnum); in inet6_lookup_listener() local
132 struct inet_listen_hashbucket *ilb = &hashinfo->listening_hash[hash]; in inet6_lookup_listener()
161 if (get_nulls_value(node) != hash + LISTENING_NULLS_BASE) in inet6_lookup_listener()
203 const unsigned int hash = inet6_ehashfn(net, daddr, lport, saddr, in __inet6_check_established() local
205 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet6_check_established()
206 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet6_check_established()
215 if (sk2->sk_hash != hash) in __inet6_check_established()
233 sk->sk_hash = hash; in __inet6_check_established()