Searched refs:hash_entries (Results 1 – 1 of 1) sorted by relevance
3473 udptable->hash2 = udptable->hash + hash_entries; in udp_pernet_table_alloc()3474 udptable->mask = hash_entries - 1; in udp_pernet_table_alloc()3475 udptable->log = ilog2(hash_entries); in udp_pernet_table_alloc()3477 for (i = 0; i < hash_entries; i++) { in udp_pernet_table_alloc()3509 unsigned int hash_entries; in udp_set_table() local3517 if (!hash_entries) in udp_set_table()3521 if (hash_entries < UDP_HTABLE_SIZE_MIN_PERNET) in udp_set_table()3522 hash_entries = UDP_HTABLE_SIZE_MIN_PERNET; in udp_set_table()3524 hash_entries = roundup_pow_of_two(hash_entries); in udp_set_table()3526 udptable = udp_pernet_table_alloc(hash_entries); in udp_set_table()[all …]