Searched refs:hash_table_sizes (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dinput.c1277 peer_hashes = calloc(hash_table_sizes[0],
1286 ph_pp = peer_hashes + (from % hash_table_sizes[ph_index]);
1298 if (ph_num_peers >= hash_table_sizes[ph_index] * 5 &&
1299 hash_table_sizes[ph_index + 1] != 0 &&
1300 (ph_pp = calloc(hash_table_sizes[ph_index + 1],
1303 for (i = hash_table_sizes[ph_index] - 1; i >= 0; i--) {
1307 hash_table_sizes[ph_index + 1]);
1315 ph_pp += from % hash_table_sizes[ph_index];
1351 for (i = hash_table_sizes[ph_index] - 1; i >= 0; i--) {
H A Dif.c55 * start with a size of hash_table_sizes[0], and increase as needed.
57 size_t hash_table_sizes[] = { 67, 131, 257, 521, 1031, 2053, 4099, 0 }; variable
244 size_t initial_size = hash_table_sizes[0];
272 if ((new_size = hash_table_sizes[htbl->htbl_size_index + 1]) == 0)
H A Ddefs.h613 extern size_t hash_table_sizes[]; /* list of primes for hash tables */

Completed in 68 milliseconds