Searched refs:fastopenq (Results 1 - 13 of 13) sorted by relevance

/linux-master/net/core/
H A Drequest_sock.c36 queue->fastopenq.rskq_rst_head = NULL;
37 queue->fastopenq.rskq_rst_tail = NULL;
38 queue->fastopenq.qlen = 0;
62 * accepted or not, and the check is protected by the fastopenq->lock
69 * lock per listener "icsk->icsk_accept_queue.fastopenq->lock" is created.
72 * The lock also protects other fields such as fastopenq->qlen, which is
86 * fastopenq->lock in this function.
92 struct fastopen_queue *fastopenq; local
94 fastopenq = &inet_csk(lsk)->icsk_accept_queue.fastopenq;
[all...]
/linux-master/net/ipv4/
H A Dtcp_fastopen.c43 inet_csk(sk)->icsk_accept_queue.fastopenq.ctx, 1);
82 q = &inet_csk(sk)->icsk_accept_queue.fastopenq;
102 ctx = rcu_dereference(icsk->icsk_accept_queue.fastopenq.ctx);
252 spin_lock(&queue->fastopenq.lock);
253 queue->fastopenq.qlen++;
254 spin_unlock(&queue->fastopenq.lock);
298 struct fastopen_queue *fastopenq; local
311 fastopenq = &inet_csk(sk)->icsk_accept_queue.fastopenq;
312 max_qlen = READ_ONCE(fastopenq
[all...]
H A Dinet_connection_sock.c699 spin_lock_bh(&queue->fastopenq.lock);
710 spin_unlock_bh(&queue->fastopenq.lock);
946 /* We need not acquire fastopenq->lock
1452 if (queue->fastopenq.rskq_rst_head) {
1454 spin_lock_bh(&queue->fastopenq.lock);
1455 req = queue->fastopenq.rskq_rst_head;
1456 queue->fastopenq.rskq_rst_head = NULL;
1457 spin_unlock_bh(&queue->fastopenq.lock);
H A Dtcp_ipv4.c2865 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; local
2916 fastopenq->max_qlen :
H A Daf_inet.c213 !inet_csk(sk)->icsk_accept_queue.fastopenq.max_qlen) {
H A Dtcp.c4198 val = READ_ONCE(icsk->icsk_accept_queue.fastopenq.max_qlen);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp6.c78 const struct fastopen_queue *fastopenq; local
91 fastopenq = &icsk->icsk_accept_queue.fastopenq;
144 state == TCP_LISTEN ? fastopenq->max_qlen
H A Dbpf_iter_tcp4.c78 const struct fastopen_queue *fastopenq; local
91 fastopenq = &icsk->icsk_accept_queue.fastopenq;
140 state == TCP_LISTEN ? fastopenq->max_qlen
/linux-master/include/net/
H A Drequest_sock.h229 struct fastopen_queue fastopenq; /* Check max_qlen != 0 to determine member in struct:request_sock_queue
H A Dinet_connection_sock.h366 spin_lock_init(&icsk->icsk_accept_queue.fastopenq.lock);
H A Dtcp.h1954 ctx = rcu_dereference(inet_csk(sk)->icsk_accept_queue.fastopenq.ctx);
/linux-master/include/linux/
H A Dtcp.h572 WRITE_ONCE(queue->fastopenq.max_qlen, min_t(unsigned int, backlog, somaxconn));
/linux-master/net/ipv6/
H A Dtcp_ipv6.c2179 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; local
2237 fastopenq->max_qlen :

Completed in 210 milliseconds