Lines Matching refs:hinfo
522 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_check_established() local
533 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet_check_established()
534 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet_check_established()
861 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk); in inet_bhash2_addr_any_hashbucket() local
872 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhash2_addr_any_hashbucket()
890 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk); in __inet_bhash2_update_saddr() local
912 new_tb2 = kmem_cache_alloc(hinfo->bind2_bucket_cachep, GFP_ATOMIC); in __inet_bhash2_update_saddr()
927 bhash = inet_bhashfn(net, port, hinfo->bhash_size); in __inet_bhash2_update_saddr()
928 head = &hinfo->bhash[bhash]; in __inet_bhash2_update_saddr()
929 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port); in __inet_bhash2_update_saddr()
938 inet_bind2_bucket_destroy(hinfo->bind2_bucket_cachep, inet_csk(sk)->icsk_bind2_hash); in __inet_bhash2_update_saddr()
946 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port); in __inet_bhash2_update_saddr()
961 kmem_cache_free(hinfo->bind2_bucket_cachep, new_tb2); in __inet_bhash2_update_saddr()
997 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_hash_connect() local
1043 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
1044 hinfo->bhash_size)]; in __inet_hash_connect()
1063 tb = inet_bind_bucket_create(hinfo->bind_bucket_cachep, in __inet_hash_connect()
1088 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port); in __inet_hash_connect()
1093 tb2 = inet_bind2_bucket_create(hinfo->bind2_bucket_cachep, net, in __inet_hash_connect()
1115 inet_twsk_bind_unhash(tw, hinfo); in __inet_hash_connect()
1128 inet_bind_bucket_destroy(hinfo->bind_bucket_cachep, tb); in __inet_hash_connect()