Searched refs:fastopenq (Results 1 – 13 of 13) sorted by relevance
39 queue->fastopenq.rskq_rst_head = NULL; in reqsk_queue_alloc()41 queue->fastopenq.qlen = 0; in reqsk_queue_alloc()95 struct fastopen_queue *fastopenq; in reqsk_fastopen_remove() local97 fastopenq = &inet_csk(lsk)->icsk_accept_queue.fastopenq; in reqsk_fastopen_remove()100 spin_lock_bh(&fastopenq->lock); in reqsk_fastopen_remove()101 fastopenq->qlen--; in reqsk_fastopen_remove()110 spin_unlock_bh(&fastopenq->lock); in reqsk_fastopen_remove()123 fastopenq->rskq_rst_head = req; in reqsk_fastopen_remove()128 fastopenq->rskq_rst_tail = req; in reqsk_fastopen_remove()129 fastopenq->qlen++; in reqsk_fastopen_remove()[all …]
252 spin_lock(&queue->fastopenq.lock); in tcp_fastopen_create_child()253 queue->fastopenq.qlen++; in tcp_fastopen_create_child()297 struct fastopen_queue *fastopenq; in tcp_fastopen_queue_check() local309 fastopenq = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_queue_check()310 if (fastopenq->max_qlen == 0) in tcp_fastopen_queue_check()313 if (fastopenq->qlen >= fastopenq->max_qlen) { in tcp_fastopen_queue_check()315 spin_lock(&fastopenq->lock); in tcp_fastopen_queue_check()316 req1 = fastopenq->rskq_rst_head; in tcp_fastopen_queue_check()320 spin_unlock(&fastopenq->lock); in tcp_fastopen_queue_check()324 fastopenq->qlen--; in tcp_fastopen_queue_check()[all …]
506 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_accept()517 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_accept()1225 if (queue->fastopenq.rskq_rst_head) { in inet_csk_listen_stop()1227 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()1228 req = queue->fastopenq.rskq_rst_head; in inet_csk_listen_stop()1229 queue->fastopenq.rskq_rst_head = NULL; in inet_csk_listen_stop()1230 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()
2611 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp4_sock() local2662 fastopenq->max_qlen : in get_tcp4_sock()
222 !inet_csk(sk)->icsk_accept_queue.fastopenq.max_qlen) { in inet_listen()
4096 val = icsk->icsk_accept_queue.fastopenq.max_qlen; in do_tcp_getsockopt()
78 const struct fastopen_queue *fastopenq; in dump_tcp_sock() local91 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp_sock()140 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
78 const struct fastopen_queue *fastopenq; in dump_tcp6_sock() local91 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp6_sock()144 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp6_sock()
183 struct fastopen_queue fastopenq; /* Check max_qlen != 0 to determine member
1740 ctx = rcu_dereference(inet_csk(sk)->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_ctx()
476 queue->fastopenq.max_qlen = min_t(unsigned int, backlog, somaxconn); in fastopen_queue_tune()
2021 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp6_sock() local2079 fastopenq->max_qlen : in get_tcp6_sock()
950 fastopenq->max_qlen, the TCP stack will reject the fast open request953 TcpExtTCPFastOpenPassiveFail. The fastopenq->max_qlen is set by the
Completed in 40 milliseconds