/kernel/linux/linux-5.10/net/mptcp/ |
D | token_test.c | 58 refcount_set(&((struct sock *)msk)->sk_refcnt, 1); in build_msk() 80 KUNIT_EXPECT_EQ(test, 2, (int)refcount_read(&sk->sk_refcnt)); in mptcp_token_test_msk_basic() 120 refcount_set(&sk->sk_refcnt, 0); in mptcp_token_test_destroyed()
|
D | token.c | 260 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_get_sock() 319 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_iter_next()
|
/kernel/linux/linux-5.10/include/linux/can/ |
D | skb.h | 57 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_netlink.c | 48 nlk->cb_running, s->sk_refcnt.refs.counter); in dump_netlink()
|
D | bpf_tracing_net.h | 37 #define sk_refcnt __sk_common.skc_refcnt macro
|
D | bpf_iter_udp4.c | 67 inet->sk.sk_refcnt.refs.counter, udp_sk, in dump_udp4()
|
D | bpf_iter_udp6.c | 75 inet->sk.sk_refcnt.refs.counter, udp_sk, in dump_udp6()
|
D | bpf_iter_tcp4.c | 134 sp->sk_refcnt.refs.counter); in dump_tcp_sock()
|
D | bpf_iter_tcp6.c | 138 sp->sk_refcnt.refs.counter); in dump_tcp6_sock()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_queue.c | 107 if (state->sk && !refcount_inc_not_zero(&state->sk->sk_refcnt)) in nf_queue_entry_get_refs() 196 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in __nf_queue()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | udp_diag.c | 54 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in udp_dump_one() 207 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in __udp_diag_destroy()
|
D | inet_hashtables.c | 383 if (!refcount_dec_and_test(&sk->sk_refcnt)) in sock_gen_put() 423 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt))) in __inet_lookup_established()
|
/kernel/linux/linux-5.10/net/llc/ |
D | llc_conn.c | 491 if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt))) in __llc_lookup_established() 550 if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt))) in __llc_lookup_listener() 975 if (refcount_read(&sk->sk_refcnt) != 1) { in llc_sk_free() 977 sk, __func__, refcount_read(&sk->sk_refcnt)); in llc_sk_free()
|
D | llc_sap.c | 327 if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt))) in llc_lookup_dgram()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | inet6_hashtables.c | 76 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt))) in __inet6_lookup_established() 240 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
|
/kernel/linux/linux-5.10/include/net/ |
D | sock.h | 360 #define sk_refcnt __sk_common.skc_refcnt macro 727 refcount_inc(&sk->sk_refcnt); in sock_hold() 735 refcount_dec(&sk->sk_refcnt); in __sock_put() 744 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_del_node_init() 766 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_nulls_del_node_init_rcu() 1292 if (refcount_read(&sk->sk_refcnt) != 1) in sk_refcnt_debug_release() 1294 sk->sk_prot->name, sk, refcount_read(&sk->sk_refcnt)); in sk_refcnt_debug_release() 1822 if (refcount_dec_and_test(&sk->sk_refcnt)) in sock_put() 2250 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in skb_set_owner_sk_safe()
|
D | request_sock.h | 96 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) { in reqsk_alloc()
|
D | inet_hashtables.h | 360 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_tproxy_ipv4.c | 102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v4()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
D | nf_tproxy_ipv6.c | 102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v6()
|
/kernel/linux/linux-5.10/net/rds/ |
D | bind.c | 82 !refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt))) in rds_find_bound()
|
/kernel/linux/linux-5.10/net/core/ |
D | bpf_sk_storage.c | 273 refcount_inc_not_zero(&sk->sk_refcnt)) { in BPF_CALL_4() 293 if (refcount_inc_not_zero(&sk->sk_refcnt)) { in BPF_CALL_2()
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_debugfs.c | 167 tunnel->sock ? refcount_read(&tunnel->sock->sk_refcnt) : 0, in l2tp_dfs_seq_tunnel_show()
|
/kernel/linux/linux-5.10/net/atm/ |
D | proc.c | 201 refcount_read(&sk->sk_refcnt)); in vcc_info()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | ninet_hashtables.c | 327 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt))) { in __ninet_lookup_established()
|