Home
last modified time | relevance | path

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

/linux-6.15/net/ipv4/
H A Dudp.c3740 udptable->hash = vmalloc_huge(hash_entries * slot_size, in udp_pernet_table_alloc()
3746 udptable->mask = hash_entries - 1; in udp_pernet_table_alloc()
3747 udptable->log = ilog2(hash_entries); in udp_pernet_table_alloc()
3749 for (i = 0; i < hash_entries; i++) { in udp_pernet_table_alloc()
3782 unsigned int hash_entries; in udp_set_table() local
3790 if (!hash_entries) in udp_set_table()
3794 if (hash_entries < UDP_HTABLE_SIZE_MIN_PERNET) in udp_set_table()
3795 hash_entries = UDP_HTABLE_SIZE_MIN_PERNET; in udp_set_table()
3797 hash_entries = roundup_pow_of_two(hash_entries); in udp_set_table()
3799 udptable = udp_pernet_table_alloc(hash_entries); in udp_set_table()
[all …]