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

/net/core/
H A Drequest_sock.c134 * accepted or not, and the check is protected by the fastopenq->lock
141 * lock per listener "icsk->icsk_accept_queue.fastopenq->lock" is created.
144 * The lock also protects other fields such as fastopenq->qlen, which is
161 * fastopenq->lock in this function.
167 struct fastopen_queue *fastopenq = local
168 inet_csk(lsk)->icsk_accept_queue.fastopenq;
171 spin_lock_bh(&fastopenq->lock);
172 fastopenq->qlen--;
181 spin_unlock_bh(&fastopenq->lock);
194 if (fastopenq
[all...]
/net/ipv4/
H A Dtcp_fastopen.c146 spin_lock(&queue->fastopenq->lock);
147 queue->fastopenq->qlen++;
148 spin_unlock(&queue->fastopenq->lock);
212 struct fastopen_queue *fastopenq; local
224 fastopenq = inet_csk(sk)->icsk_accept_queue.fastopenq;
225 if (fastopenq == NULL || fastopenq->max_qlen == 0)
228 if (fastopenq->qlen >= fastopenq
[all...]
H A Dinet_connection_sock.c326 if (sk->sk_protocol == IPPROTO_TCP && queue->fastopenq != NULL) {
327 spin_lock_bh(&queue->fastopenq->lock);
338 spin_unlock_bh(&queue->fastopenq->lock);
842 if (queue->fastopenq != NULL) {
844 spin_lock_bh(&queue->fastopenq->lock);
845 acc_req = queue->fastopenq->rskq_rst_head;
846 queue->fastopenq->rskq_rst_head = NULL;
847 spin_unlock_bh(&queue->fastopenq->lock);
H A Dtcp_ipv4.c2233 struct fastopen_queue *fastopenq = icsk->icsk_accept_queue.fastopenq; local
2281 (fastopenq ? fastopenq->max_qlen : 0) :
H A Dtcp.c2291 kfree(inet_csk(sk)->icsk_accept_queue.fastopenq);
2840 if (icsk->icsk_accept_queue.fastopenq != NULL)
2841 val = icsk->icsk_accept_queue.fastopenq->max_qlen;
H A Daf_inet.c228 * Also fastopenq may already been allocated because this
233 inet_csk(sk)->icsk_accept_queue.fastopenq == NULL) {
/net/ipv6/
H A Dtcp_ipv6.c1715 struct fastopen_queue *fastopenq = icsk->icsk_accept_queue.fastopenq; local
1759 (fastopenq ? fastopenq->max_qlen : 0) :

Completed in 150 milliseconds