Searched refs:sk_refcnt (Results 1 – 25 of 50) sorted by relevance
12
/linux-6.3-rc2/net/mptcp/ |
A D | token_test.c | 58 refcount_set(&((struct sock *)msk)->sk_refcnt, 1); in build_msk() 83 KUNIT_EXPECT_EQ(test, 2, (int)refcount_read(&sk->sk_refcnt)); in mptcp_token_test_msk_basic() 123 refcount_set(&sk->sk_refcnt, 0); in mptcp_token_test_destroyed()
|
A D | token.c | 263 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_get_sock() 322 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_iter_next()
|
A D | mptcp_diag.c | 122 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_diag_dump_listeners()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | bpf_iter_netlink.c | 47 nlk->cb_running, s->sk_refcnt.refs.counter); in dump_netlink()
|
A D | bpf_iter_unix.c | 42 sk->sk_refcnt.refs.counter, in dump_unix()
|
A D | bpf_iter_udp4.c | 66 inet->sk.sk_refcnt.refs.counter, udp_sk, in dump_udp4()
|
A D | bpf_iter_udp6.c | 74 inet->sk.sk_refcnt.refs.counter, udp_sk, in dump_udp6()
|
A D | bpf_tracing_net.h | 85 #define sk_refcnt __sk_common.skc_refcnt macro
|
A D | bpf_iter_tcp4.c | 133 sp->sk_refcnt.refs.counter); in dump_tcp_sock()
|
A D | bpf_iter_tcp6.c | 137 sp->sk_refcnt.refs.counter); in dump_tcp6_sock()
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_queue.c | 103 if (state->sk && !refcount_inc_not_zero(&state->sk->sk_refcnt)) in nf_queue_entry_get_refs() 187 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in __nf_queue()
|
/linux-6.3-rc2/net/ipv4/ |
A D | udp_diag.c | 54 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in udp_dump_one() 205 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in __udp_diag_destroy()
|
A D | raw_diag.c | 78 if (refcount_inc_not_zero(&sk->sk_refcnt)) in raw_sock_get()
|
/linux-6.3-rc2/net/llc/ |
A 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() 977 if (refcount_read(&sk->sk_refcnt) != 1) { in llc_sk_free() 979 sk, __func__, refcount_read(&sk->sk_refcnt)); in llc_sk_free()
|
A D | llc_sap.c | 327 if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt))) in llc_lookup_dgram()
|
/linux-6.3-rc2/net/ipv6/ |
A D | inet6_hashtables.c | 74 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt))) in __inet6_lookup_established() 237 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
|
/linux-6.3-rc2/include/linux/can/ |
A D | skb.h | 80 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
|
/linux-6.3-rc2/net/ipv4/netfilter/ |
A D | nf_tproxy_ipv4.c | 101 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v4()
|
/linux-6.3-rc2/net/ipv6/netfilter/ |
A D | nf_tproxy_ipv6.c | 103 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v6()
|
/linux-6.3-rc2/include/net/ |
A D | request_sock.h | 97 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) { in reqsk_alloc()
|
A D | sock.h | 364 #define sk_refcnt __sk_common.skc_refcnt macro 775 refcount_inc(&sk->sk_refcnt); in sock_hold() 783 refcount_dec(&sk->sk_refcnt); in __sock_put() 792 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_del_node_init() 814 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_nulls_del_node_init_rcu() 1967 if (refcount_dec_and_test(&sk->sk_refcnt)) in sock_put() 2405 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in skb_set_owner_sk_safe()
|
/linux-6.3-rc2/net/rds/ |
A D | bind.c | 82 !refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt))) in rds_find_bound()
|
/linux-6.3-rc2/net/l2tp/ |
A D | l2tp_debugfs.c | 165 tunnel->sock ? refcount_read(&tunnel->sock->sk_refcnt) : 0, in l2tp_dfs_seq_tunnel_show()
|
/linux-6.3-rc2/net/core/ |
A D | bpf_sk_storage.c | 249 refcount_inc_not_zero(&sk->sk_refcnt)) { in BPF_CALL_5() 270 if (refcount_inc_not_zero(&sk->sk_refcnt)) { in BPF_CALL_2()
|
/linux-6.3-rc2/net/atm/ |
A D | proc.c | 201 refcount_read(&sk->sk_refcnt)); in vcc_info()
|
Completed in 30 milliseconds
12