Lines Matching refs:tcp_hashinfo
3242 tcp_hashinfo.bind_bucket_cachep =
3252 tcp_hashinfo.ehash =
3260 &tcp_hashinfo.ehash_mask,
3262 for (i = 0; i <= tcp_hashinfo.ehash_mask; i++) {
3263 INIT_HLIST_NULLS_HEAD(&tcp_hashinfo.ehash[i].chain, i);
3264 INIT_HLIST_NULLS_HEAD(&tcp_hashinfo.ehash[i].twchain, i);
3266 if (inet_ehash_locks_alloc(&tcp_hashinfo))
3268 tcp_hashinfo.bhash =
3271 tcp_hashinfo.ehash_mask + 1,
3275 &tcp_hashinfo.bhash_size,
3278 tcp_hashinfo.bhash_size = 1 << tcp_hashinfo.bhash_size;
3279 for (i = 0; i < tcp_hashinfo.bhash_size; i++) {
3280 spin_lock_init(&tcp_hashinfo.bhash[i].lock);
3281 INIT_HLIST_HEAD(&tcp_hashinfo.bhash[i].chain);
3285 cnt = tcp_hashinfo.ehash_mask + 1;
3317 tcp_hashinfo.ehash_mask + 1, tcp_hashinfo.bhash_size);