Lines Matching refs:tcp_hashinfo
107 struct inet_hashinfo tcp_hashinfo;
108 EXPORT_SYMBOL(tcp_hashinfo);
361 sk = inet_lookup(net, &tcp_hashinfo, iph->daddr, th->dest,
1500 nsk = inet_lookup_established(sock_net(sk), &tcp_hashinfo, iph->saddr,
1663 sk = __inet_lookup_skb(&tcp_hashinfo, skb, th->source, th->dest);
1745 &tcp_hashinfo,
2004 ilb = &tcp_hashinfo.listening_hash[st->bucket];
2010 ilb = &tcp_hashinfo.listening_hash[st->bucket];
2065 ilb = &tcp_hashinfo.listening_hash[st->bucket];
2093 return hlist_nulls_empty(&tcp_hashinfo.ehash[st->bucket].chain) &&
2094 hlist_nulls_empty(&tcp_hashinfo.ehash[st->bucket].twchain);
2108 for (; st->bucket <= tcp_hashinfo.ehash_mask; ++st->bucket) {
2112 spinlock_t *lock = inet_ehash_lockp(&tcp_hashinfo, st->bucket);
2119 sk_nulls_for_each(sk, node, &tcp_hashinfo.ehash[st->bucket].chain) {
2129 &tcp_hashinfo.ehash[st->bucket].twchain) {
2166 spin_unlock_bh(inet_ehash_lockp(&tcp_hashinfo, st->bucket));
2171 while (++st->bucket <= tcp_hashinfo.ehash_mask &&
2174 if (st->bucket > tcp_hashinfo.ehash_mask)
2177 spin_lock_bh(inet_ehash_lockp(&tcp_hashinfo, st->bucket));
2178 sk = sk_nulls_head(&tcp_hashinfo.ehash[st->bucket].chain);
2188 tw = tw_head(&tcp_hashinfo.ehash[st->bucket].twchain);
2250 if (st->bucket > tcp_hashinfo.ehash_mask)
2328 spin_unlock_bh(&tcp_hashinfo.listening_hash[st->bucket].lock);
2333 spin_unlock_bh(inet_ehash_lockp(&tcp_hashinfo, st->bucket));
2634 .h.hashinfo = &tcp_hashinfo,
2657 inet_twsk_purge(&tcp_hashinfo, &tcp_death_row, AF_INET);
2668 inet_hashinfo_init(&tcp_hashinfo);