Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/net/dccp/
H A 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()
/kernel/linux/linux-6.6/net/ipv4/
H A Dinet_hashtables.c853 /* The socket's bhash2 hashbucket spinlock must be held when this is called */
858 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()
917 * the bhash2 table in an inconsistent state if a new tb2 bucket in __inet_bhash2_update_saddr()
925 * so we give up and unlink sk from bhash/bhash2 not in __inet_bhash2_update_saddr()
926 * to leave inconsistency in bhash2. in __inet_bhash2_update_saddr()
1094 * add the socket to the bhash2 tabl in __inet_hash_connect()
[all...]
H A 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()
/kernel/linux/linux-6.6/include/net/
H A Dinet_hashtables.h107 /* Node in the bhash2 inet_bind_hashbucket chain */
111 /* bhash has twsk in owners, but bhash2 has twsk in
172 struct inet_bind_hashbucket *bhash2; member
278 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhashfn_portaddr()

Completed in 9 milliseconds