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()
133 unsigned int hash = inet_lhashfn(net, hnum); in inet6_lookup_listener() local
134 struct inet_listen_hashbucket *ilb = &hashinfo->listening_hash[hash]; in inet6_lookup_listener()
163 if (get_nulls_value(node) != hash + LISTENING_NULLS_BASE) in inet6_lookup_listener()
205 const unsigned int hash = inet6_ehashfn(net, daddr, lport, saddr, in __inet6_check_established() local
207 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet6_check_established()
208 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet6_check_established()
216 if (sk2->sk_hash != hash) in __inet6_check_established()
234 sk->sk_hash = hash; in __inet6_check_established()