Searched refs:fastopenq (Results 1 – 9 of 9) sorted by relevance
175 struct fastopen_queue *fastopenq; in reqsk_fastopen_remove() local177 fastopenq = inet_csk(lsk)->icsk_accept_queue.fastopenq; in reqsk_fastopen_remove()180 spin_lock_bh(&fastopenq->lock); in reqsk_fastopen_remove()181 fastopenq->qlen--; in reqsk_fastopen_remove()190 spin_unlock_bh(&fastopenq->lock); in reqsk_fastopen_remove()202 if (fastopenq->rskq_rst_head == NULL) in reqsk_fastopen_remove()203 fastopenq->rskq_rst_head = req; in reqsk_fastopen_remove()205 fastopenq->rskq_rst_tail->dl_next = req; in reqsk_fastopen_remove()208 fastopenq->rskq_rst_tail = req; in reqsk_fastopen_remove()209 fastopenq->qlen++; in reqsk_fastopen_remove()[all …]
145 spin_lock(&queue->fastopenq->lock); in tcp_fastopen_create_child()146 queue->fastopenq->qlen++; in tcp_fastopen_create_child()147 spin_unlock(&queue->fastopenq->lock); in tcp_fastopen_create_child()226 struct fastopen_queue *fastopenq; in tcp_fastopen_queue_check() local238 fastopenq = inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_queue_check()239 if (!fastopenq || fastopenq->max_qlen == 0) in tcp_fastopen_queue_check()242 if (fastopenq->qlen >= fastopenq->max_qlen) { in tcp_fastopen_queue_check()244 spin_lock(&fastopenq->lock); in tcp_fastopen_queue_check()245 req1 = fastopenq->rskq_rst_head; in tcp_fastopen_queue_check()247 spin_unlock(&fastopenq->lock); in tcp_fastopen_queue_check()[all …]
330 queue->fastopenq) { in inet_csk_accept()331 spin_lock_bh(&queue->fastopenq->lock); in inet_csk_accept()342 spin_unlock_bh(&queue->fastopenq->lock); in inet_csk_accept()881 if (queue->fastopenq) { in inet_csk_listen_stop()883 spin_lock_bh(&queue->fastopenq->lock); in inet_csk_listen_stop()884 acc_req = queue->fastopenq->rskq_rst_head; in inet_csk_listen_stop()885 queue->fastopenq->rskq_rst_head = NULL; in inet_csk_listen_stop()886 spin_unlock_bh(&queue->fastopenq->lock); in inet_csk_listen_stop()
2194 struct fastopen_queue *fastopenq = icsk->icsk_accept_queue.fastopenq; in get_tcp4_sock() local2242 (fastopenq ? fastopenq->max_qlen : 0) : in get_tcp4_sock()
2235 kfree(inet_csk(sk)->icsk_accept_queue.fastopenq); in tcp_sock_destruct()2819 if (icsk->icsk_accept_queue.fastopenq) in do_tcp_getsockopt()2820 val = icsk->icsk_accept_queue.fastopenq->max_qlen; in do_tcp_getsockopt()
220 !inet_csk(sk)->icsk_accept_queue.fastopenq) { in inet_listen()
384 if (queue->fastopenq == NULL) { in fastopen_init_queue()385 queue->fastopenq = kzalloc( in fastopen_init_queue()388 if (queue->fastopenq == NULL) in fastopen_init_queue()392 spin_lock_init(&queue->fastopenq->lock); in fastopen_init_queue()394 queue->fastopenq->max_qlen = backlog; in fastopen_init_queue()
182 struct fastopen_queue *fastopenq; /* This is non-NULL iff TFO has been member
1687 struct fastopen_queue *fastopenq = icsk->icsk_accept_queue.fastopenq; in get_tcp6_sock() local1731 (fastopenq ? fastopenq->max_qlen : 0) : in get_tcp6_sock()