Searched refs:lopt (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/net/core/ |
D | request_sock.c | 44 struct listen_sock *lopt = NULL; in reqsk_queue_alloc() local 52 lopt = kzalloc(lopt_size, GFP_KERNEL | in reqsk_queue_alloc() 55 if (!lopt) in reqsk_queue_alloc() 56 lopt = vzalloc(lopt_size); in reqsk_queue_alloc() 57 if (!lopt) in reqsk_queue_alloc() 60 get_random_bytes(&lopt->hash_rnd, sizeof(lopt->hash_rnd)); 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() 67 queue->listen_opt = lopt; in reqsk_queue_alloc() 82 struct listen_sock *lopt; in reqsk_queue_yank_listen_sk() local [all …]
|
/linux-4.1.27/include/net/ |
D | request_sock.h | 248 struct listen_sock *lopt = queue->listen_opt; in reqsk_queue_removed() local 251 atomic_inc(&lopt->young_dec); in reqsk_queue_removed() 252 atomic_inc(&lopt->qlen_dec); in reqsk_queue_removed() 257 struct listen_sock *lopt = queue->listen_opt; in reqsk_queue_added() local 259 lopt->young_inc++; in reqsk_queue_added() 260 lopt->qlen_inc++; in reqsk_queue_added() 263 static inline int listen_sock_qlen(const struct listen_sock *lopt) in listen_sock_qlen() argument 265 return lopt->qlen_inc - atomic_read(&lopt->qlen_dec); in listen_sock_qlen() 268 static inline int listen_sock_young(const struct listen_sock *lopt) in listen_sock_young() argument 270 return lopt->young_inc - atomic_read(&lopt->young_dec); in listen_sock_young() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | inet_connection_sock.c | 493 struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt; in inet_csk_search_req() local 495 u32 hash = inet_synq_hash(raddr, rport, lopt->hash_rnd, in inet_csk_search_req() 496 lopt->nr_table_entries); in inet_csk_search_req() 499 for (req = lopt->syn_table[hash]; req != NULL; req = req->dl_next) { in inet_csk_search_req() 521 struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt; in inet_csk_reqsk_queue_hash_add() local 524 lopt->hash_rnd, lopt->nr_table_entries); in inet_csk_reqsk_queue_hash_add() 572 struct listen_sock *lopt; in reqsk_queue_unlink() local 576 lopt = queue->listen_opt; in reqsk_queue_unlink() 577 if (lopt) { in reqsk_queue_unlink() 578 for (prev = &lopt->syn_table[req->rsk_hash]; *prev != NULL; in reqsk_queue_unlink() [all …]
|
D | inet_diag.c | 738 struct listen_sock *lopt; in inet_diag_dump_reqs() local 751 lopt = icsk->icsk_accept_queue.listen_opt; in inet_diag_dump_reqs() 752 if (!lopt || !listen_sock_qlen(lopt)) in inet_diag_dump_reqs() 760 for (j = s_j; j < lopt->nr_table_entries; j++) { in inet_diag_dump_reqs() 761 struct request_sock *req, *head = lopt->syn_table[j]; in inet_diag_dump_reqs()
|
D | tcp_input.c | 6067 struct listen_sock *lopt; in tcp_syn_flood_action() local 6078 lopt = inet_csk(sk)->icsk_accept_queue.listen_opt; in tcp_syn_flood_action() 6079 if (!lopt->synflood_warned && sysctl_tcp_syncookies != 2) { in tcp_syn_flood_action() 6080 lopt->synflood_warned = 1; in tcp_syn_flood_action()
|
/linux-4.1.27/net/ipv6/ |
D | inet6_connection_sock.c | 124 struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt; in inet6_csk_search_req() local 126 u32 hash = inet6_synq_hash(raddr, rport, lopt->hash_rnd, in inet6_csk_search_req() 127 lopt->nr_table_entries); in inet6_csk_search_req() 130 for (req = lopt->syn_table[hash]; req != NULL; req = req->dl_next) { in inet6_csk_search_req() 154 struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt; in inet6_csk_reqsk_queue_hash_add() local 157 lopt->hash_rnd, lopt->nr_table_entries); in inet6_csk_reqsk_queue_hash_add()
|
/linux-4.1.27/tools/perf/util/ |
D | parse-options.h | 219 void set_option_flag(struct option *opts, int sopt, const char *lopt, int flag);
|