Lines Matching refs:hinfo
548 struct inet_hashinfo *hinfo = death_row->hashinfo;
559 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash);
560 spinlock_t *lock = inet_ehash_lockp(hinfo, hash);
870 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk);
880 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)];
898 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk);
920 new_tb2 = kmem_cache_alloc(hinfo->bind2_bucket_cachep, GFP_ATOMIC);
935 bhash = inet_bhashfn(net, port, hinfo->bhash_size);
936 head = &hinfo->bhash[bhash];
937 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port);
946 inet_bind2_bucket_destroy(hinfo->bind2_bucket_cachep, inet_csk(sk)->icsk_bind2_hash);
954 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port);
969 kmem_cache_free(hinfo->bind2_bucket_cachep, new_tb2);
1005 struct inet_hashinfo *hinfo = death_row->hashinfo;
1051 head = &hinfo->bhash[inet_bhashfn(net, port,
1052 hinfo->bhash_size)];
1071 tb = inet_bind_bucket_create(hinfo->bind_bucket_cachep,
1096 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port);
1101 tb2 = inet_bind2_bucket_create(hinfo->bind2_bucket_cachep, net,
1123 inet_twsk_bind_unhash(tw, hinfo);
1135 spinlock_t *lock = inet_ehash_lockp(hinfo, sk->sk_hash);
1148 inet_twsk_bind_unhash(tw, hinfo);
1153 inet_bind_bucket_destroy(hinfo->bind_bucket_cachep, tb);