Symbol: sk_refcnt
drivers/net/ppp/pppoe.c
234
if (po && !refcount_inc_not_zero(&sk_pppox(po)->sk_refcnt))
include/linux/can/skb.h
64
if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) {
include/net/inet_hashtables.h
441
if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt))
include/net/sock.h
1864
if (refcount_inc_not_zero(&sk->sk_refcnt)) {
include/net/sock.h
2006
if (refcount_dec_and_test(&sk->sk_refcnt))
include/net/sock.h
2458
if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) {
include/net/sock.h
834
refcount_inc(&sk->sk_refcnt);
include/net/sock.h
842
refcount_dec(&sk->sk_refcnt);
net/atm/proc.c
201
refcount_read(&sk->sk_refcnt));
net/bluetooth/af_bluetooth.c
822
refcount_read(&sk->sk_refcnt),
net/bluetooth/rfcomm/sock.c
197
BT_DBG("sk %p state %d refcnt %d", sk, sk->sk_state, refcount_read(&sk->sk_refcnt));
net/core/bpf_sk_storage.c
250
refcount_inc_not_zero(&sk->sk_refcnt)) {
net/core/bpf_sk_storage.c
271
if (refcount_inc_not_zero(&sk->sk_refcnt)) {
net/core/filter.c
7711
unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
net/core/skbuff.c
5546
if (!sk || !refcount_inc_not_zero(&sk->sk_refcnt))
net/core/skbuff.c
5629
if (likely(refcount_inc_not_zero(&sk->sk_refcnt))) {
net/core/skbuff.c
5779
if (likely(refcount_inc_not_zero(&sk->sk_refcnt))) {
net/core/sock.c
2582
refcount_set(&newsk->sk_refcnt, 2);
net/core/sock.c
3762
refcount_set(&sk->sk_refcnt, 1);
net/core/sock_map.c
1219
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
863
if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) {
net/ipv4/inet_hashtables.c
509
if (!refcount_dec_and_test(&sk->sk_refcnt))
net/ipv4/inet_hashtables.c
550
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
1121
refcount_read(&sp->sk_refcnt), sp,
net/ipv4/ping.c
287
pr_debug("isk->refcnt = %d\n", refcount_read(&sk->sk_refcnt));
net/ipv4/raw.c
1051
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
2900
refcount_read(&sk->sk_refcnt), sk,
net/ipv4/udp.c
3443
refcount_read(&sp->sk_refcnt), sp,
net/ipv4/udp.c
783
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/udp_diag.c
201
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
1081
refcount_read(&sp->sk_refcnt), sp,
net/ipv6/inet6_hashtables.c
259
if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv6/inet6_hashtables.c
73
if (unlikely(!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
2191
refcount_read(&sp->sk_refcnt), sp,
net/ipv6/udp.c
446
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/key/af_key.c
3793
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
496
if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
net/llc/llc_conn.c
559
if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
net/llc/llc_conn.c
989
if (refcount_read(&sk->sk_refcnt) != 1) {
net/llc/llc_conn.c
991
sk, __func__, refcount_read(&sk->sk_refcnt));
net/llc/llc_sap.c
331
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
101
if (state->sk && !refcount_inc_not_zero(&state->sk->sk_refcnt))
net/netfilter/nf_queue.c
185
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/netlink/af_netlink.c
2711
refcount_read(&s->sk_refcnt),
net/netlink/af_netlink.c
711
if (!refcount_dec_and_test(&sk->sk_refcnt))
net/packet/af_packet.c
4727
refcount_read(&s->sk_refcnt),
net/phonet/socket.c
589
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
935
_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
3544
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
42
sk->sk_refcnt.refs.counter,