Home
last modified time | relevance | path

Searched refs:sk_reuseport_cb (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/net/core/
Dsock_reuseport.c25 if (!rcu_access_pointer(sk->sk_reuseport_cb)) in reuseport_has_conns_set()
29 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_has_conns_set()
65 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_alloc()
94 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_alloc()
127 rcu_assign_pointer(reuse->socks[i]->sk_reuseport_cb, in reuseport_grow()
160 if (!rcu_access_pointer(sk2->sk_reuseport_cb)) { in reuseport_add_sock()
168 reuse = rcu_dereference_protected(sk2->sk_reuseport_cb, in reuseport_add_sock()
170 old_reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_add_sock()
189 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_add_sock()
205 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_detach_sock()
[all …]
Dsock.c1821 if (rcu_access_pointer(sk->sk_reuseport_cb)) { in sk_destruct()
1955 RCU_INIT_POINTER(newsk->sk_reuseport_cb, NULL); in sk_clone_lock()
Dfilter.c9971 reuse = rcu_dereference(selected_sk->sk_reuseport_cb); in BPF_CALL_4()
/kernel/linux/linux-5.10/include/net/
Dsock_reuseport.h47 reuse = rcu_dereference(sk->sk_reuseport_cb); in reuseport_has_conns()
Dtcp.h492 reuse = rcu_dereference(sk->sk_reuseport_cb); in tcp_synq_overflow()
516 reuse = rcu_dereference(sk->sk_reuseport_cb); in tcp_synq_no_recent_overflow()
Dsock.h525 struct sock_reuseport __rcu *sk_reuseport_cb; member
/kernel/linux/linux-5.10/kernel/bpf/
Dreuseport_array.c289 rcu_access_pointer(nsk->sk_reuseport_cb), in bpf_fd_reuseport_array_update_elem()
304 reuse = rcu_dereference_protected(nsk->sk_reuseport_cb, in bpf_fd_reuseport_array_update_elem()
/kernel/linux/linux-5.10/net/ipv4/
Dinet_connection_sock.c164 !rcu_access_pointer(sk->sk_reuseport_cb) && in inet_csk_bind_conflict()
171 rcu_access_pointer(sk->sk_reuseport_cb) || in inet_csk_bind_conflict()
280 if (rcu_access_pointer(sk->sk_reuseport_cb)) in sk_reuseport_match()
Dudp.c149 !rcu_access_pointer(sk->sk_reuseport_cb) && in udp_lib_lport_inuse()
186 !rcu_access_pointer(sk->sk_reuseport_cb) && in udp_lib_lport_inuse2()
1962 if (rcu_access_pointer(sk->sk_reuseport_cb)) in udp_lib_unhash()
1993 rcu_access_pointer(sk->sk_reuseport_cb)) { in udp_lib_rehash()
1998 if (rcu_access_pointer(sk->sk_reuseport_cb)) in udp_lib_rehash()
Dinet_hashtables.c690 if (rcu_access_pointer(sk->sk_reuseport_cb)) in __inet_unhash()
/kernel/linux/linux-5.10/net/sctp/
Dinput.c799 if (rcu_access_pointer(sk->sk_reuseport_cb)) in __sctp_unhash_endpoint()