Symbol: sk_refcnt
drivers/infiniband/sw/rxe/rxe_net.c
638
if (refcount_read(&sk->sk_refcnt) > SK_REF_FOR_TUNNEL) {
drivers/net/ppp/pppoe.c
235
if (po && !refcount_inc_not_zero(&po->sk.sk_refcnt))
include/linux/can/skb.h
64
if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) {
include/net/inet_hashtables.h
440
if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt))
include/net/sock.h
1877
if (refcount_inc_not_zero(&sk->sk_refcnt)) {
include/net/sock.h
2019
if (refcount_dec_and_test(&sk->sk_refcnt))
include/net/sock.h
2485
if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) {
include/net/sock.h
839
refcount_inc(&sk->sk_refcnt);
include/net/sock.h
847
refcount_dec(&sk->sk_refcnt);
net/atm/proc.c
179
refcount_read(&sk->sk_refcnt));
net/bluetooth/af_bluetooth.c
861
refcount_read(&sk->sk_refcnt),
net/bluetooth/rfcomm/sock.c
207
BT_DBG("sk %p state %d refcnt %d", sk, sk->sk_state, refcount_read(&sk->sk_refcnt));
net/core/bpf_sk_storage.c
247
refcount_inc_not_zero(&sk->sk_refcnt)) {
net/core/bpf_sk_storage.c
268
if (refcount_inc_not_zero(&sk->sk_refcnt)) {
net/core/filter.c
7830
unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
net/core/skbuff.c
5556
if (!sk || !refcount_inc_not_zero(&sk->sk_refcnt))
net/core/skbuff.c
5639
if (likely(refcount_inc_not_zero(&sk->sk_refcnt))) {
net/core/skbuff.c
5789
if (likely(refcount_inc_not_zero(&sk->sk_refcnt))) {
net/core/sock.c
2595
refcount_set(&newsk->sk_refcnt, 2);
net/core/sock.c
3810
refcount_set(&sk->sk_refcnt, 1);
net/core/sock_map.c
1221
if (sk_is_refcounted(sk) && !refcount_inc_not_zero(&sk->sk_refcnt))
net/core/sock_map.c
395
if (sk_is_refcounted(sk) && !refcount_inc_not_zero(&sk->sk_refcnt))
net/core/sock_reuseport.c
668
if (IS_ERR_OR_NULL(nsk) || unlikely(!refcount_inc_not_zero(&nsk->sk_refcnt))) {
net/ipv4/inet_connection_sock.c
860
if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) {
net/ipv4/inet_hashtables.c
512
if (!refcount_dec_and_test(&sk->sk_refcnt))
net/ipv4/inet_hashtables.c
553
if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
net/ipv4/inet_timewait_sock.c
331
if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
net/ipv4/netfilter/nf_tproxy_ipv4.c
102
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/ping.c
1105
refcount_read(&sp->sk_refcnt), sp,
net/ipv4/ping.c
283
pr_debug("isk->refcnt = %d\n", refcount_read(&sk->sk_refcnt));
net/ipv4/raw.c
1055
refcount_read(&sp->sk_refcnt), sp, sk_drops_read(sp));
net/ipv4/raw_diag.c
77
if (refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/tcp_diag.c
523
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/tcp_ipv4.c
175
if (unlikely(!refcount_inc_not_zero(&sktw->sk_refcnt)))
net/ipv4/tcp_ipv4.c
2824
refcount_read(&sk->sk_refcnt), sk,
net/ipv4/udp.c
3271
refcount_read(&sp->sk_refcnt), sp,
net/ipv4/udp.c
769
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/udp_diag.c
188
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/udp_diag.c
54
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv6/datagram.c
1118
refcount_read(&sp->sk_refcnt), sp,
net/ipv6/inet6_hashtables.c
108
if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
net/ipv6/inet6_hashtables.c
294
if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv6/netfilter/nf_tproxy_ipv6.c
102
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv6/tcp_ipv6.c
2189
refcount_read(&sp->sk_refcnt), sp,
net/ipv6/udp.c
442
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/key/af_key.c
3810
refcount_read(&s->sk_refcnt),
net/l2tp/l2tp_debugfs.c
164
tunnel->sock ? refcount_read(&tunnel->sock->sk_refcnt) : 0,
net/llc/llc_conn.c
490
if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
net/llc/llc_conn.c
553
if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
net/llc/llc_conn.c
982
if (refcount_read(&sk->sk_refcnt) != 1) {
net/llc/llc_conn.c
984
sk, __func__, refcount_read(&sk->sk_refcnt));
net/llc/llc_sap.c
325
if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
net/mptcp/mptcp_diag.c
119
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/mptcp/token.c
263
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/mptcp/token.c
324
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/mptcp/token_test.c
128
refcount_set(&sk->sk_refcnt, 0);
net/mptcp/token_test.c
59
refcount_set(&((struct sock *)msk)->sk_refcnt, 1);
net/mptcp/token_test.c
88
KUNIT_EXPECT_EQ(test, 2, (int)refcount_read(&sk->sk_refcnt));
net/netfilter/nf_queue.c
116
if (state->sk && !refcount_inc_not_zero(&state->sk->sk_refcnt))
net/netfilter/nf_queue.c
202
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/netlink/af_netlink.c
2717
refcount_read(&s->sk_refcnt),
net/netlink/af_netlink.c
712
if (!refcount_dec_and_test(&sk->sk_refcnt))
net/packet/af_packet.c
4735
refcount_read(&s->sk_refcnt),
net/phonet/socket.c
595
refcount_read(&sk->sk_refcnt), sk,
net/rds/bind.c
82
!refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt)))
net/rxrpc/af_rxrpc.c
931
_enter("%p{%d,%d}", sk, sk->sk_state, refcount_read(&sk->sk_refcnt));
net/sched/em_meta.c
342
dst->value = refcount_read(&skb->sk->sk_refcnt);
net/smc/af_smc.c
136
if (!smc || !refcount_inc_not_zero(&smc->sk.sk_refcnt)) {
net/unix/af_unix.c
3560
refcount_read(&s->sk_refcnt),
tools/testing/selftests/bpf/progs/bpf_iter_netlink.c
47
nlk->cb_running, s->sk_refcnt.refs.counter);
tools/testing/selftests/bpf/progs/bpf_iter_tcp4.c
133
sp->sk_refcnt.refs.counter);
tools/testing/selftests/bpf/progs/bpf_iter_tcp6.c
137
sp->sk_refcnt.refs.counter);
tools/testing/selftests/bpf/progs/bpf_iter_udp4.c
66
inet->sk.sk_refcnt.refs.counter, udp_sk,
tools/testing/selftests/bpf/progs/bpf_iter_udp6.c
74
inet->sk.sk_refcnt.refs.counter, udp_sk,
tools/testing/selftests/bpf/progs/bpf_iter_unix.c
49
sk->sk_refcnt.refs.counter,