Home
last modified time | relevance | path

Searched refs:nr_table_entries (Results 1 – 5 of 5) sorted by relevance

/net/core/
Drequest_sock.c41 unsigned int nr_table_entries) in reqsk_queue_alloc() argument
46 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()
/net/ipv4/
Dinet_connection_sock.c492 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() argument
750 int rc = reqsk_queue_alloc(&icsk->icsk_accept_queue, nr_table_entries); in inet_csk_listen_start()
Dinet_diag.c898 for (j = s_j; j < lopt->nr_table_entries; j++) { in inet_diag_dump_reqs()
Dtcp_ipv4.c1903 if (++st->sbucket >= icsk->icsk_accept_queue.listen_opt->nr_table_entries) in listening_get_next()
/net/ipv6/
Dinet6_connection_sock.c131 lopt->nr_table_entries)]; in inet6_csk_search_req()
159 lopt->hash_rnd, lopt->nr_table_entries); in inet6_csk_reqsk_queue_hash_add()