/kernel/linux/linux-5.10/net/dccp/ |
H A D | proto.c | 1115 MODULE_PARM_DESC(thash_entries, "Number of ehash buckets"); 1169 dccp_hashinfo.ehash = (struct inet_ehash_bucket *) in dccp_init() 1171 } while (!dccp_hashinfo.ehash && --ehash_order > 0); in dccp_init() 1173 if (!dccp_hashinfo.ehash) { in dccp_init() 1179 INIT_HLIST_NULLS_HEAD(&dccp_hashinfo.ehash[i].chain, i); in dccp_init() 1237 free_pages((unsigned long)dccp_hashinfo.ehash, ehash_order); in dccp_init() 1244 dccp_hashinfo.ehash = NULL; in dccp_init() 1256 free_pages((unsigned long)dccp_hashinfo.ehash, in dccp_fini()
|
/kernel/linux/linux-6.6/net/dccp/ |
H A D | proto.c | 1112 MODULE_PARM_DESC(thash_entries, "Number of ehash buckets"); 1171 dccp_hashinfo.ehash = (struct inet_ehash_bucket *) in dccp_init() 1173 } while (!dccp_hashinfo.ehash && --ehash_order > 0); in dccp_init() 1175 if (!dccp_hashinfo.ehash) { in dccp_init() 1181 INIT_HLIST_NULLS_HEAD(&dccp_hashinfo.ehash[i].chain, i); in dccp_init() 1253 free_pages((unsigned long)dccp_hashinfo.ehash, ehash_order); in dccp_init() 1263 dccp_hashinfo.ehash = NULL; in dccp_init() 1278 free_pages((unsigned long)dccp_hashinfo.ehash, in dccp_fini()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | inet_hashtables.h | 109 * RCU grace period. A lookup in ehash table needs to handle this case. 131 struct inet_ehash_bucket *ehash; member 176 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | inet_hashtables.c | 512 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet_lookup_established() 618 /* Searches for an exsiting socket in the ehash bucket list. 656 /* Insert a socket into ehash, and eventually remove another one 1265 new_hashinfo->ehash = vmalloc_huge(ehash_entries * sizeof(struct inet_ehash_bucket), in inet_pernet_hashinfo_alloc() 1267 if (!new_hashinfo->ehash) in inet_pernet_hashinfo_alloc() 1276 INIT_HLIST_NULLS_HEAD(&new_hashinfo->ehash[i].chain, i); in inet_pernet_hashinfo_alloc() 1283 vfree(new_hashinfo->ehash); in inet_pernet_hashinfo_alloc() 1297 vfree(hashinfo->ehash); in inet_pernet_hashinfo_free()
|
H A D | inet_timewait_sock.c | 157 * - one reference for ehash chain. in inet_twsk_hashdance() 289 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in inet_twsk_purge()
|
H A D | tcp_ipv4.c | 2434 return hlist_nulls_empty(&hinfo->ehash[st->bucket].chain); in empty_bucket() 2459 sk_nulls_for_each(sk, node, &hinfo->ehash[st->bucket].chain) { in established_get_first() 3182 pr_warn("Failed to allocate TCP ehash (entries: %u) " in tcp_set_hashinfo()
|
H A D | inet_diag.c | 1085 struct inet_ehash_bucket *head = &hashinfo->ehash[i]; in inet_diag_dump_icsk()
|
H A D | tcp.c | 4678 tcp_hashinfo.ehash = in tcp_init() 4689 INIT_HLIST_NULLS_HEAD(&tcp_hashinfo.ehash[i].chain, i); in tcp_init()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | inet_hashtables.h | 138 * RCU grace period. A lookup in ehash table needs to handle this case. 156 struct inet_ehash_bucket *ehash; member 202 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | inet_timewait_sock.c | 133 * - one reference for ehash chain. in inet_twsk_hashdance() 265 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in inet_twsk_purge()
|
H A D | inet_hashtables.c | 416 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet_lookup_established() 522 /* Searches for an exsiting socket in the ehash bucket list. 560 /* Insert a socket into ehash, and eventually remove another one
|
H A D | tcp_ipv4.c | 2348 return hlist_nulls_empty(&tcp_hashinfo.ehash[st->bucket].chain); in empty_bucket() 2378 sk_nulls_for_each(sk, node, &tcp_hashinfo.ehash[st->bucket].chain) { in established_get_first()
|
H A D | inet_diag.c | 1079 struct inet_ehash_bucket *head = &hashinfo->ehash[i]; in inet_diag_dump_icsk()
|
H A D | tcp.c | 4383 tcp_hashinfo.ehash = in tcp_init() 4394 INIT_HLIST_NULLS_HEAD(&tcp_hashinfo.ehash[i].chain, i); in tcp_init()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | ninet_hashtables.c | 292 * Find transport control blocks based on address and port in the ehash table. 319 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __ninet_lookup_established() 443 /* Check whether the quad information in sock is bound by ehash. If not, 444 * the SK is inserted into the ehash and 0 is returned 471 nip_dbg("found same sk in ehash"); in __ninet_check_established() 479 nip_dbg("add tcp sock into ehash table. sport=%u", lport); in __ninet_check_established()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | inet6_hashtables.c | 67 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet6_lookup_established()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | inet6_hashtables.c | 66 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet6_lookup_established()
|