Searched refs:bhash2 (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/net/ipv4/ |
D | inet_hashtables.c | 78 INIT_HLIST_HEAD(&tb->bhash2); in inet_bind_bucket_create() 89 if (hlist_empty(&tb->bhash2)) { in inet_bind_bucket_destroy() 125 hlist_add_head(&tb2->bhash_node, &tb->bhash2); in inet_bind2_bucket_init() 852 struct inet_bind2_bucket *bhash2 = NULL; in inet_bind2_bucket_find() local 854 inet_bind_bucket_for_each(bhash2, &head->chain) in inet_bind2_bucket_find() 855 if (inet_bind2_bucket_match(bhash2, net, port, l3mdev, sk)) in inet_bind2_bucket_find() 858 return bhash2; in inet_bind2_bucket_find() 874 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhash2_addr_any_hashbucket() 1061 WARN_ON(hlist_empty(&tb->bhash2)); in __inet_hash_connect()
|
D | inet_connection_sock.c | 238 hlist_for_each_entry(__tb2, &(__tb)->bhash2, bhash_node) \ 466 if (hlist_empty(&tb->bhash2)) { in inet_csk_update_fastreuse() 558 if (!hlist_empty(&tb->bhash2)) { in inet_csk_get_port()
|
D | tcp.c | 5118 tcp_hashinfo.bhash2 = tcp_hashinfo.bhash + tcp_hashinfo.bhash_size; in tcp_init() 5122 spin_lock_init(&tcp_hashinfo.bhash2[i].lock); in tcp_init() 5123 INIT_HLIST_HEAD(&tcp_hashinfo.bhash2[i].chain); in tcp_init()
|
D | inet_diag.c | 1114 ibb = &hashinfo->bhash2[i]; in inet_diag_dump_icsk()
|
/linux-6.12.1/net/dccp/ |
D | proto.c | 1203 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.12.1/include/net/ |
D | inet_hashtables.h | 91 struct hlist_head bhash2; member 167 struct inet_bind_hashbucket *bhash2; member 273 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhashfn_portaddr()
|