/kernel/linux/linux-5.10/net/core/ |
H A D | request_sock.c | 36 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() 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; in reqsk_fastopen_remove() local 94 fastopenq = &inet_csk(lsk)->icsk_accept_queue.fastopenq; in reqsk_fastopen_remove() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | request_sock.c | 36 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() 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; in reqsk_fastopen_remove() local 94 fastopenq = &inet_csk(lsk)->icsk_accept_queue.fastopenq; in reqsk_fastopen_remove() [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_fastopen.c | 49 inet_csk(sk)->icsk_accept_queue.fastopenq.ctx, 1); in tcp_fastopen_destroy_cipher() 94 q = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_reset_cipher() 119 ctx = rcu_dereference(icsk->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_cipher() 269 spin_lock(&queue->fastopenq.lock); in tcp_fastopen_create_child() 270 queue->fastopenq.qlen++; in tcp_fastopen_create_child() 271 spin_unlock(&queue->fastopenq.lock); in tcp_fastopen_create_child() 314 struct fastopen_queue *fastopenq; in tcp_fastopen_queue_check() local 327 fastopenq = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_queue_check() 328 max_qlen = READ_ONCE(fastopenq in tcp_fastopen_queue_check() [all...] |
H A D | inet_connection_sock.c | 503 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_accept() 514 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_accept() 1085 if (queue->fastopenq.rskq_rst_head) { in inet_csk_listen_stop() 1087 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop() 1088 req = queue->fastopenq.rskq_rst_head; in inet_csk_listen_stop() 1089 queue->fastopenq.rskq_rst_head = NULL; in inet_csk_listen_stop() 1090 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()
|
H A D | tcp_ipv4.c | 2592 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp4_sock() local 2643 fastopenq->max_qlen : in get_tcp4_sock()
|
H A D | af_inet.c | 229 !inet_csk(sk)->icsk_accept_queue.fastopenq.max_qlen) { in inet_listen()
|
H A D | tcp.c | 3963 val = READ_ONCE(icsk->icsk_accept_queue.fastopenq.max_qlen); in do_tcp_getsockopt()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_fastopen.c | 43 inet_csk(sk)->icsk_accept_queue.fastopenq.ctx, 1); in tcp_fastopen_destroy_cipher() 82 q = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_reset_cipher() 102 ctx = rcu_dereference(icsk->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_cipher() 252 spin_lock(&queue->fastopenq.lock); in tcp_fastopen_create_child() 253 queue->fastopenq.qlen++; in tcp_fastopen_create_child() 254 spin_unlock(&queue->fastopenq.lock); in tcp_fastopen_create_child() 298 struct fastopen_queue *fastopenq; in tcp_fastopen_queue_check() local 311 fastopenq = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_queue_check() 312 max_qlen = READ_ONCE(fastopenq in tcp_fastopen_queue_check() [all...] |
H A D | inet_connection_sock.c | 692 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_accept() 703 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_accept() 924 /* We need not acquire fastopenq->lock in inet_reqsk_clone() 1430 if (queue->fastopenq.rskq_rst_head) { in inet_csk_listen_stop() 1432 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop() 1433 req = queue->fastopenq.rskq_rst_head; in inet_csk_listen_stop() 1434 queue->fastopenq.rskq_rst_head = NULL; in inet_csk_listen_stop() 1435 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()
|
H A D | tcp_ipv4.c | 2661 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp4_sock() local 2712 fastopenq->max_qlen : in get_tcp4_sock()
|
H A D | af_inet.c | 212 !inet_csk(sk)->icsk_accept_queue.fastopenq.max_qlen) { in __inet_listen_sk()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_tcp4.c | 79 const struct fastopen_queue *fastopenq; in dump_tcp_sock() local 92 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp_sock() 141 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
|
H A D | bpf_iter_tcp6.c | 79 const struct fastopen_queue *fastopenq; in dump_tcp6_sock() local 92 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp6_sock() 145 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp6_sock()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_tcp4.c | 78 const struct fastopen_queue *fastopenq; in dump_tcp_sock() local 91 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp_sock() 140 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
|
H A D | bpf_iter_tcp6.c | 78 const struct fastopen_queue *fastopenq; in dump_tcp6_sock() local 91 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp6_sock() 144 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp6_sock()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | request_sock.h | 183 struct fastopen_queue fastopenq; /* Check max_qlen != 0 to determine member
|
H A D | inet_connection_sock.h | 405 spin_lock_init(&icsk->icsk_accept_queue.fastopenq.lock); in inet_init_csk_locks()
|
H A D | tcp.h | 1741 ctx = rcu_dereference(inet_csk(sk)->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_ctx()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | request_sock.h | 185 struct fastopen_queue fastopenq; /* Check max_qlen != 0 to determine member
|
H A D | inet_connection_sock.h | 355 spin_lock_init(&icsk->icsk_accept_queue.fastopenq.lock); in inet_init_csk_locks()
|
H A D | tcp.h | 1841 ctx = rcu_dereference(inet_csk(sk)->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_ctx()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | tcp.h | 479 WRITE_ONCE(queue->fastopenq.max_qlen, min_t(unsigned int, backlog, somaxconn)); in fastopen_queue_tune()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | tcp.h | 518 WRITE_ONCE(queue->fastopenq.max_qlen, min_t(unsigned int, backlog, somaxconn)); in fastopen_queue_tune()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | tcp_ipv6.c | 1987 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp6_sock() local 2045 fastopenq->max_qlen : in get_tcp6_sock()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | tcp_ipv6.c | 2001 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp6_sock() local 2059 fastopenq->max_qlen : in get_tcp6_sock()
|