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