Searched refs:nr_table_entries (Results 1 – 7 of 7) sorted by relevance
40 unsigned int nr_table_entries) in reqsk_queue_alloc() argument45 nr_table_entries = min_t(u32, nr_table_entries, sysctl_max_syn_backlog); in reqsk_queue_alloc()46 nr_table_entries = max_t(u32, nr_table_entries, 8); in reqsk_queue_alloc()47 nr_table_entries = roundup_pow_of_two(nr_table_entries + 1); in reqsk_queue_alloc()48 lopt_size += nr_table_entries * sizeof(struct request_sock *); in reqsk_queue_alloc()57 (1 << lopt->max_qlen_log) < nr_table_entries; in reqsk_queue_alloc()63 lopt->nr_table_entries = nr_table_entries; in reqsk_queue_alloc()84 lopt->nr_table_entries * sizeof(struct request_sock *); in __reqsk_queue_destroy()110 lopt->nr_table_entries * sizeof(struct request_sock *); in reqsk_queue_destroy()115 for (i = 0; i < lopt->nr_table_entries; i++) { in reqsk_queue_destroy()
440 lopt->nr_table_entries)]; in inet_csk_search_req()465 lopt->hash_rnd, lopt->nr_table_entries); in inet_csk_reqsk_queue_hash_add()546 budget = 2 * (lopt->nr_table_entries / (timeout / interval)); in inet_csk_reqsk_queue_prune()583 i = (i + 1) & (lopt->nr_table_entries - 1); in inet_csk_reqsk_queue_prune()678 int inet_csk_listen_start(struct sock *sk, const int nr_table_entries) in inet_csk_listen_start() argument682 int rc = reqsk_queue_alloc(&icsk->icsk_accept_queue, nr_table_entries); in inet_csk_listen_start()
789 for (j = s_j; j < lopt->nr_table_entries; j++) { in inet_diag_dump_reqs()
2046 if (++st->sbucket >= icsk->icsk_accept_queue.listen_opt->nr_table_entries) in listening_get_next()
105 u32 nr_table_entries; member135 unsigned int nr_table_entries);
331 extern int inet_csk_listen_start(struct sock *sk, const int nr_table_entries);
117 lopt->nr_table_entries)]; in inet6_csk_search_req()146 lopt->hash_rnd, lopt->nr_table_entries); in inet6_csk_reqsk_queue_hash_add()