Home
last modified time | relevance | path

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

/linux-3.4.99/net/core/
Drequest_sock.c40 unsigned int nr_table_entries) in reqsk_queue_alloc() argument
45 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()
/linux-3.4.99/net/ipv4/
Dinet_connection_sock.c440 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() argument
682 int rc = reqsk_queue_alloc(&icsk->icsk_accept_queue, nr_table_entries); in inet_csk_listen_start()
Dinet_diag.c789 for (j = s_j; j < lopt->nr_table_entries; j++) { in inet_diag_dump_reqs()
Dtcp_ipv4.c2046 if (++st->sbucket >= icsk->icsk_accept_queue.listen_opt->nr_table_entries) in listening_get_next()
/linux-3.4.99/include/net/
Drequest_sock.h105 u32 nr_table_entries; member
135 unsigned int nr_table_entries);
Dinet_connection_sock.h331 extern int inet_csk_listen_start(struct sock *sk, const int nr_table_entries);
/linux-3.4.99/net/ipv6/
Dinet6_connection_sock.c117 lopt->nr_table_entries)]; in inet6_csk_search_req()
146 lopt->hash_rnd, lopt->nr_table_entries); in inet6_csk_reqsk_queue_hash_add()