Searched refs:nr_table_entries (Results 1 – 5 of 5) sorted by relevance
41 unsigned int nr_table_entries) in reqsk_queue_alloc() argument46 nr_table_entries = min_t(u32, nr_table_entries, sysctl_max_syn_backlog); in reqsk_queue_alloc()47 nr_table_entries = max_t(u32, nr_table_entries, 8); in reqsk_queue_alloc()48 nr_table_entries = roundup_pow_of_two(nr_table_entries + 1); in reqsk_queue_alloc()49 lopt_size += nr_table_entries * sizeof(struct request_sock *); in reqsk_queue_alloc()63 lopt->nr_table_entries = nr_table_entries; in reqsk_queue_alloc()64 lopt->max_qlen_log = ilog2(nr_table_entries); in reqsk_queue_alloc()100 for (i = 0; i < lopt->nr_table_entries; i++) { in reqsk_queue_destroy()
492 lopt->nr_table_entries)]; in inet_csk_search_req()518 lopt->hash_rnd, lopt->nr_table_entries); in inet_csk_reqsk_queue_hash_add()609 budget = 2 * (lopt->nr_table_entries / (timeout / interval)); in inet_csk_reqsk_queue_prune()646 i = (i + 1) & (lopt->nr_table_entries - 1); in inet_csk_reqsk_queue_prune()746 int inet_csk_listen_start(struct sock *sk, const int nr_table_entries) in inet_csk_listen_start() argument750 int rc = reqsk_queue_alloc(&icsk->icsk_accept_queue, nr_table_entries); in inet_csk_listen_start()
898 for (j = s_j; j < lopt->nr_table_entries; j++) { in inet_diag_dump_reqs()
1903 if (++st->sbucket >= icsk->icsk_accept_queue.listen_opt->nr_table_entries) in listening_get_next()
131 lopt->nr_table_entries)]; in inet6_csk_search_req()159 lopt->hash_rnd, lopt->nr_table_entries); in inet6_csk_reqsk_queue_hash_add()