Searched refs:sk_refcnt (Results 1 – 22 of 22) sorted by relevance
/linux-2.6.39/net/ipv6/ |
D | inet6_hashtables.c | 91 if (unlikely(!atomic_inc_not_zero(&sk->sk_refcnt))) in __inet6_lookup_established() 107 if (unlikely(!atomic_inc_not_zero(&sk->sk_refcnt))) { in __inet6_lookup_established() 183 if (unlikely(!atomic_inc_not_zero(&result->sk_refcnt))) in inet6_lookup_listener()
|
D | udp.c | 230 if (unlikely(!atomic_inc_not_zero_hint(&result->sk_refcnt, 2))) in udp6_lib_lookup2() 297 if (unlikely(!atomic_inc_not_zero_hint(&result->sk_refcnt, 2))) in __udp6_lib_lookup() 1406 atomic_read(&sp->sk_refcnt), sp, in udp6_sock_seq_show()
|
D | raw.c | 1255 atomic_read(&sp->sk_refcnt), sp, atomic_read(&sp->sk_drops)); in raw6_sock_seq_show()
|
D | tcp_ipv6.c | 2105 atomic_read(&sp->sk_refcnt), sp, in get_tcp6_sock()
|
/linux-2.6.39/include/net/ |
D | sock.h | 246 #define sk_refcnt __sk_common.skc_refcnt macro 436 atomic_inc(&sk->sk_refcnt); in sock_hold() 444 atomic_dec(&sk->sk_refcnt); in __sock_put() 453 WARN_ON(atomic_read(&sk->sk_refcnt) == 1); in sk_del_node_init() 475 WARN_ON(atomic_read(&sk->sk_refcnt) == 1); in sk_nulls_del_node_init_rcu() 845 if (atomic_read(&sk->sk_refcnt) != 1) in sk_refcnt_debug_release() 847 sk->sk_prot->name, sk, atomic_read(&sk->sk_refcnt)); in sk_refcnt_debug_release() 1239 if (atomic_dec_and_test(&sk->sk_refcnt)) in sock_put()
|
/linux-2.6.39/net/llc/ |
D | llc_conn.c | 510 if (unlikely(!atomic_inc_not_zero(&rc->sk_refcnt))) in __llc_lookup_established() 569 if (unlikely(!atomic_inc_not_zero(&rc->sk_refcnt))) in __llc_lookup_listener() 973 if (atomic_read(&sk->sk_refcnt) != 1) { in llc_sk_free() 975 sk, __func__, atomic_read(&sk->sk_refcnt)); in llc_sk_free()
|
D | llc_sap.c | 333 if (unlikely(!atomic_inc_not_zero(&rc->sk_refcnt))) in llc_lookup_dgram()
|
/linux-2.6.39/net/ipv4/ |
D | inet_hashtables.c | 206 if (unlikely(!atomic_inc_not_zero(&result->sk_refcnt))) in __inet_lookup_listener() 241 if (unlikely(!atomic_inc_not_zero(&sk->sk_refcnt))) in __inet_lookup_established() 264 if (unlikely(!atomic_inc_not_zero(&sk->sk_refcnt))) { in __inet_lookup_established()
|
D | udp.c | 433 if (unlikely(!atomic_inc_not_zero_hint(&result->sk_refcnt, 2))) in udp4_lib_lookup2() 503 if (unlikely(!atomic_inc_not_zero_hint(&result->sk_refcnt, 2))) in __udp4_lib_lookup() 2090 atomic_read(&sp->sk_refcnt), sp, in udp4_format_sock()
|
D | raw.c | 981 atomic_read(&sp->sk_refcnt), sp, atomic_read(&sp->sk_drops)); in raw_sock_seq_show()
|
D | tcp_ipv4.c | 2376 atomic_read(&sk->sk_refcnt), in get_openreq4() 2427 atomic_read(&sk->sk_refcnt), sk, in get_tcp4_sock()
|
/linux-2.6.39/net/l2tp/ |
D | l2tp_debugfs.c | 136 tunnel->sock ? atomic_read(&tunnel->sock->sk_refcnt) : 0, in l2tp_dfs_seq_tunnel_show()
|
/linux-2.6.39/net/atm/ |
D | proc.c | 214 atomic_read(&sk->sk_refcnt)); in vcc_info()
|
/linux-2.6.39/net/rxrpc/ |
D | af_rxrpc.c | 685 _enter("%p{%d,%d}", sk, sk->sk_state, atomic_read(&sk->sk_refcnt)); in rxrpc_release_sock()
|
/linux-2.6.39/net/phonet/ |
D | socket.c | 616 atomic_read(&sk->sk_refcnt), sk, in pn_sock_seq_show()
|
/linux-2.6.39/net/sched/ |
D | em_meta.c | 326 dst->value = atomic_read(&skb->sk->sk_refcnt); in META_COLLECTOR()
|
/linux-2.6.39/net/bluetooth/rfcomm/ |
D | sock.c | 214 BT_DBG("sk %p state %d refcnt %d", sk, sk->sk_state, atomic_read(&sk->sk_refcnt)); in rfcomm_sock_kill()
|
/linux-2.6.39/net/core/ |
D | sock.c | 1272 atomic_set(&newsk->sk_refcnt, 2); in sk_clone() 2025 atomic_set(&sk->sk_refcnt, 1); in sock_init_data()
|
/linux-2.6.39/net/netlink/ |
D | af_netlink.c | 2002 atomic_read(&s->sk_refcnt), in netlink_seq_show()
|
/linux-2.6.39/net/unix/ |
D | af_unix.c | 2259 atomic_read(&s->sk_refcnt), in unix_seq_show()
|
/linux-2.6.39/net/packet/ |
D | af_packet.c | 2711 atomic_read(&s->sk_refcnt), in packet_seq_show()
|
/linux-2.6.39/net/key/ |
D | af_key.c | 3661 atomic_read(&s->sk_refcnt), in pfkey_seq_show()
|