Home
last modified time | relevance | path

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

/net/core/
Drequest_sock.c36 queue->fastopenq.rskq_rst_head = NULL; in reqsk_queue_alloc()
37 queue->fastopenq.rskq_rst_tail = NULL; in reqsk_queue_alloc()
38 queue->fastopenq.qlen = 0; in reqsk_queue_alloc()
92 struct fastopen_queue *fastopenq; in reqsk_fastopen_remove() local
94 fastopenq = &inet_csk(lsk)->icsk_accept_queue.fastopenq; in reqsk_fastopen_remove()
97 spin_lock_bh(&fastopenq->lock); in reqsk_fastopen_remove()
98 fastopenq->qlen--; in reqsk_fastopen_remove()
107 spin_unlock_bh(&fastopenq->lock); in reqsk_fastopen_remove()
119 if (fastopenq->rskq_rst_head == NULL) in reqsk_fastopen_remove()
120 fastopenq->rskq_rst_head = req; in reqsk_fastopen_remove()
[all …]
/net/ipv4/
Dtcp_fastopen.c49 inet_csk(sk)->icsk_accept_queue.fastopenq.ctx, 1); in tcp_fastopen_destroy_cipher()
88 q = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_reset_cipher()
108 ctx = rcu_dereference(icsk->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_cipher()
258 spin_lock(&queue->fastopenq.lock); in tcp_fastopen_create_child()
259 queue->fastopenq.qlen++; in tcp_fastopen_create_child()
260 spin_unlock(&queue->fastopenq.lock); in tcp_fastopen_create_child()
303 struct fastopen_queue *fastopenq; in tcp_fastopen_queue_check() local
316 fastopenq = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_queue_check()
317 max_qlen = READ_ONCE(fastopenq->max_qlen); in tcp_fastopen_queue_check()
321 if (fastopenq->qlen >= max_qlen) { in tcp_fastopen_queue_check()
[all …]
Dinet_connection_sock.c510 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_accept()
521 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_accept()
1249 if (queue->fastopenq.rskq_rst_head) { in inet_csk_listen_stop()
1251 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()
1252 req = queue->fastopenq.rskq_rst_head; in inet_csk_listen_stop()
1253 queue->fastopenq.rskq_rst_head = NULL; in inet_csk_listen_stop()
1254 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()
Dtcp_ipv4.c2628 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp4_sock() local
2679 fastopenq->max_qlen : in get_tcp4_sock()
Daf_inet.c226 !inet_csk(sk)->icsk_accept_queue.fastopenq.max_qlen) { in inet_listen()
Dtcp.c4143 val = READ_ONCE(icsk->icsk_accept_queue.fastopenq.max_qlen); in do_tcp_getsockopt()
/net/ipv6/
Dtcp_ipv6.c2018 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp6_sock() local
2076 fastopenq->max_qlen : in get_tcp6_sock()