Home
last modified time | relevance | path

Searched refs:ehash_entries (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/net/ipv4/
A Dinet_hashtables.c1225 unsigned int ehash_entries) in inet_pernet_hashinfo_alloc() argument
1234 new_hashinfo->ehash = vmalloc_huge(ehash_entries * sizeof(struct inet_ehash_bucket), in inet_pernet_hashinfo_alloc()
1239 new_hashinfo->ehash_mask = ehash_entries - 1; in inet_pernet_hashinfo_alloc()
1244 for (i = 0; i < ehash_entries; i++) in inet_pernet_hashinfo_alloc()
A Dtcp_ipv4.c3159 unsigned int ehash_entries; in tcp_set_hashinfo() local
3166 ehash_entries = READ_ONCE(old_net->ipv4.sysctl_tcp_child_ehash_entries); in tcp_set_hashinfo()
3167 if (!ehash_entries) in tcp_set_hashinfo()
3170 ehash_entries = roundup_pow_of_two(ehash_entries); in tcp_set_hashinfo()
3171 hinfo = inet_pernet_hashinfo_alloc(&tcp_hashinfo, ehash_entries); in tcp_set_hashinfo()
3175 ehash_entries); in tcp_set_hashinfo()
3178 ehash_entries = tcp_hashinfo.ehash_mask + 1; in tcp_set_hashinfo()
3182 net->ipv4.tcp_death_row.sysctl_max_tw_buckets = ehash_entries / 2; in tcp_set_hashinfo()
3183 net->ipv4.sysctl_max_syn_backlog = max(128U, ehash_entries / 128); in tcp_set_hashinfo()
/linux-6.3-rc2/include/net/
A Dinet_hashtables.h227 unsigned int ehash_entries);

Completed in 12 milliseconds