Home
last modified time | relevance | path

Searched refs:ehash (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/net/dccp/
Dproto.c1152 dccp_hashinfo.ehash = (struct inet_ehash_bucket *) in dccp_init()
1154 } while (!dccp_hashinfo.ehash && --ehash_order > 0); in dccp_init()
1156 if (!dccp_hashinfo.ehash) { in dccp_init()
1162 INIT_HLIST_NULLS_HEAD(&dccp_hashinfo.ehash[i].chain, i); in dccp_init()
1234 free_pages((unsigned long)dccp_hashinfo.ehash, ehash_order); in dccp_init()
1244 dccp_hashinfo.ehash = NULL; in dccp_init()
1259 free_pages((unsigned long)dccp_hashinfo.ehash, in dccp_fini()
/Linux-v6.1/net/ipv4/
Dinet_hashtables.c485 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet_lookup_established()
1229 new_hashinfo->ehash = vmalloc_huge(ehash_entries * sizeof(struct inet_ehash_bucket), in inet_pernet_hashinfo_alloc()
1231 if (!new_hashinfo->ehash) in inet_pernet_hashinfo_alloc()
1240 INIT_HLIST_NULLS_HEAD(&new_hashinfo->ehash[i].chain, i); in inet_pernet_hashinfo_alloc()
1247 vfree(new_hashinfo->ehash); in inet_pernet_hashinfo_alloc()
1261 vfree(hashinfo->ehash); in inet_pernet_hashinfo_free()
Dinet_timewait_sock.c265 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in inet_twsk_purge()
Dinet_diag.c1085 struct inet_ehash_bucket *head = &hashinfo->ehash[i]; in inet_diag_dump_icsk()
Dtcp_ipv4.c2373 return hlist_nulls_empty(&hinfo->ehash[st->bucket].chain); in empty_bucket()
2396 sk_nulls_for_each(sk, node, &hinfo->ehash[st->bucket].chain) { in established_get_first()
Dtcp.c4771 tcp_hashinfo.ehash = in tcp_init()
4782 INIT_HLIST_NULLS_HEAD(&tcp_hashinfo.ehash[i].chain, i); in tcp_init()
/Linux-v6.1/include/net/
Dinet_hashtables.h152 struct inet_ehash_bucket *ehash; member
198 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket()
/Linux-v6.1/net/ipv6/
Dinet6_hashtables.c65 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet6_lookup_established()