Searched refs:sk_refcnt (Results 1 – 25 of 34) sorted by relevance
12
| /Linux-v5.4/net/ipv4/ |
| D | udp_diag.c | 55 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in udp_dump_one() 206 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in __udp_diag_destroy()
|
| D | inet_hashtables.c | 328 if (!refcount_dec_and_test(&sk->sk_refcnt)) in sock_gen_put() 369 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt))) in __inet_lookup_established()
|
| D | ping.c | 288 pr_debug("isk->refcnt = %d\n", refcount_read(&sk->sk_refcnt)); in ping_close() 1118 refcount_read(&sp->sk_refcnt), sp, in ping_v4_format_sock()
|
| D | udp.c | 509 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in udp4_lib_lookup() 2467 if (!sk || !refcount_inc_not_zero(&sk->sk_refcnt)) in udp_v4_early_demux() 2914 refcount_read(&sp->sk_refcnt), sp, in udp4_format_sock()
|
| /Linux-v5.4/net/ipv6/ |
| D | inet6_hashtables.c | 74 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt))) in __inet6_lookup_established() 194 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
|
| D | udp.c | 246 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in udp6_lib_lookup() 995 if (!sk || !refcount_inc_not_zero(&sk->sk_refcnt)) in udp_v6_early_demux()
|
| D | datagram.c | 1048 refcount_read(&sp->sk_refcnt), sp, in __ip6_dgram_sock_seq_show()
|
| /Linux-v5.4/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() 974 if (refcount_read(&sk->sk_refcnt) != 1) { in llc_sk_free() 976 sk, __func__, refcount_read(&sk->sk_refcnt)); in llc_sk_free()
|
| D | llc_sap.c | 325 if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt))) in llc_lookup_dgram()
|
| /Linux-v5.4/net/ipv4/netfilter/ |
| D | nf_tproxy_ipv4.c | 102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v4()
|
| /Linux-v5.4/net/ipv6/netfilter/ |
| D | nf_tproxy_ipv6.c | 102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v6()
|
| /Linux-v5.4/include/net/ |
| D | sock.h | 332 #define sk_refcnt __sk_common.skc_refcnt macro 649 refcount_inc(&sk->sk_refcnt); in sock_hold() 657 refcount_dec(&sk->sk_refcnt); in __sock_put() 666 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_del_node_init() 688 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_nulls_del_node_init_rcu() 1203 if (refcount_read(&sk->sk_refcnt) != 1) in sk_refcnt_debug_release() 1205 sk->sk_prot->name, sk, refcount_read(&sk->sk_refcnt)); in sk_refcnt_debug_release() 1729 if (refcount_dec_and_test(&sk->sk_refcnt)) in sock_put()
|
| D | request_sock.h | 89 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) { in reqsk_alloc()
|
| D | inet_hashtables.h | 363 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
|
| /Linux-v5.4/net/rds/ |
| D | bind.c | 82 !refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt))) in rds_find_bound()
|
| /Linux-v5.4/net/core/ |
| D | bpf_sk_storage.c | 858 refcount_inc_not_zero(&sk->sk_refcnt)) { in BPF_CALL_4() 873 if (refcount_inc_not_zero(&sk->sk_refcnt)) { in BPF_CALL_2()
|
| D | sock.c | 1880 refcount_set(&newsk->sk_refcnt, 2); in sk_clone_lock() 2032 if (refcount_inc_not_zero(&sk->sk_refcnt)) { in skb_orphan_partial() 2930 refcount_set(&sk->sk_refcnt, 1); in sock_init_data()
|
| /Linux-v5.4/net/l2tp/ |
| D | l2tp_debugfs.c | 165 tunnel->sock ? refcount_read(&tunnel->sock->sk_refcnt) : 0, in l2tp_dfs_seq_tunnel_show()
|
| /Linux-v5.4/net/atm/ |
| D | proc.c | 202 refcount_read(&sk->sk_refcnt)); in vcc_info()
|
| /Linux-v5.4/net/bluetooth/ |
| D | af_bluetooth.c | 654 refcount_read(&sk->sk_refcnt), in bt_seq_show()
|
| /Linux-v5.4/net/phonet/ |
| D | socket.c | 603 refcount_read(&sk->sk_refcnt), sk, in pn_sock_seq_show()
|
| /Linux-v5.4/net/netlink/ |
| D | af_netlink.c | 600 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in netlink_remove() 720 if (!refcount_dec_and_test(&sk->sk_refcnt)) in deferred_put_nlk_sk() 2635 refcount_read(&s->sk_refcnt), in netlink_seq_show()
|
| /Linux-v5.4/net/sched/ |
| D | em_meta.c | 339 dst->value = refcount_read(&skb->sk->sk_refcnt); in META_COLLECTOR()
|
| /Linux-v5.4/net/rxrpc/ |
| D | af_rxrpc.c | 866 _enter("%p{%d,%d}", sk, sk->sk_state, refcount_read(&sk->sk_refcnt)); in rxrpc_release_sock()
|
| /Linux-v5.4/net/bluetooth/rfcomm/ |
| D | sock.c | 200 BT_DBG("sk %p state %d refcnt %d", sk, sk->sk_state, refcount_read(&sk->sk_refcnt)); in rfcomm_sock_kill()
|
12