Home
last modified time | relevance | path

Searched refs:bhash2 (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/net/dccp/
Dproto.c1203 dccp_hashinfo.bhash2 = (struct inet_bind_hashbucket *) in dccp_init()
1206 if (!dccp_hashinfo.bhash2) { in dccp_init()
1214 spin_lock_init(&dccp_hashinfo.bhash2[i].lock); in dccp_init()
1215 INIT_HLIST_HEAD(&dccp_hashinfo.bhash2[i].chain); in dccp_init()
1247 free_pages((unsigned long)dccp_hashinfo.bhash2, bhash_order); in dccp_init()
1262 dccp_hashinfo.bhash2 = NULL; in dccp_init()
1277 free_pages((unsigned long)dccp_hashinfo.bhash2, bhash_order); in dccp_fini()
/linux-6.6.21/net/ipv4/
Dinet_hashtables.c858 struct inet_bind2_bucket *bhash2 = NULL; in inet_bind2_bucket_find() local
860 inet_bind_bucket_for_each(bhash2, &head->chain) in inet_bind2_bucket_find()
861 if (inet_bind2_bucket_match(bhash2, net, port, l3mdev, sk)) in inet_bind2_bucket_find()
864 return bhash2; in inet_bind2_bucket_find()
880 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhash2_addr_any_hashbucket()
Dtcp.c4704 tcp_hashinfo.bhash2 = tcp_hashinfo.bhash + tcp_hashinfo.bhash_size; in tcp_init()
4708 spin_lock_init(&tcp_hashinfo.bhash2[i].lock); in tcp_init()
4709 INIT_HLIST_HEAD(&tcp_hashinfo.bhash2[i].chain); in tcp_init()
/linux-6.6.21/include/net/
Dinet_hashtables.h172 struct inet_bind_hashbucket *bhash2; member
278 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhashfn_portaddr()