Searched refs:UDP_HTABLE_SIZE_MIN (Results 1 – 2 of 2) sorted by relevance
48 #define UDP_HTABLE_SIZE_MIN (CONFIG_BASE_SMALL ? 128 : 256) macro
128 #define PORTS_PER_CHAIN (MAX_UDP_PORTS / UDP_HTABLE_SIZE_MIN)2168 if (uhash_entries && uhash_entries < UDP_HTABLE_SIZE_MIN) in set_uhash_entries()2169 uhash_entries = UDP_HTABLE_SIZE_MIN; in set_uhash_entries()2190 if (CONFIG_BASE_SMALL || table->mask < UDP_HTABLE_SIZE_MIN - 1) { in udp_table_init()2191 table->hash = kmalloc(UDP_HTABLE_SIZE_MIN * in udp_table_init()2195 table->log = ilog2(UDP_HTABLE_SIZE_MIN); in udp_table_init()2196 table->mask = UDP_HTABLE_SIZE_MIN - 1; in udp_table_init()