Searched refs:ehash_entries (Results 1 – 3 of 3) sorted by relevance
1255 unsigned int ehash_entries) in inet_pernet_hashinfo_alloc() argument1264 new_hashinfo->ehash = vmalloc_huge(ehash_entries * sizeof(struct inet_ehash_bucket), in inet_pernet_hashinfo_alloc()1269 new_hashinfo->ehash_mask = ehash_entries - 1; in inet_pernet_hashinfo_alloc()1274 for (i = 0; i < ehash_entries; i++) in inet_pernet_hashinfo_alloc()
3408 unsigned int ehash_entries; local3415 ehash_entries = READ_ONCE(old_net->ipv4.sysctl_tcp_child_ehash_entries);3416 if (!ehash_entries)3419 ehash_entries = roundup_pow_of_two(ehash_entries);3420 hinfo = inet_pernet_hashinfo_alloc(&tcp_hashinfo, ehash_entries);3424 ehash_entries);3427 ehash_entries = tcp_hashinfo.ehash_mask + 1;3431 net->ipv4.tcp_death_row.sysctl_max_tw_buckets = ehash_entries / 2;3432 net->ipv4.sysctl_max_syn_backlog = max(128U, ehash_entries / 128);
222 unsigned int ehash_entries);