Home
last modified time | relevance | path

Searched refs:sk_refcnt (Results 1 – 22 of 22) sorted by relevance

/linux-2.6.39/net/ipv6/
Dinet6_hashtables.c91 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()
Dudp.c230 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()
Draw.c1255 atomic_read(&sp->sk_refcnt), sp, atomic_read(&sp->sk_drops)); in raw6_sock_seq_show()
Dtcp_ipv6.c2105 atomic_read(&sp->sk_refcnt), sp, in get_tcp6_sock()
/linux-2.6.39/include/net/
Dsock.h246 #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/
Dllc_conn.c510 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()
Dllc_sap.c333 if (unlikely(!atomic_inc_not_zero(&rc->sk_refcnt))) in llc_lookup_dgram()
/linux-2.6.39/net/ipv4/
Dinet_hashtables.c206 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()
Dudp.c433 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()
Draw.c981 atomic_read(&sp->sk_refcnt), sp, atomic_read(&sp->sk_drops)); in raw_sock_seq_show()
Dtcp_ipv4.c2376 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/
Dl2tp_debugfs.c136 tunnel->sock ? atomic_read(&tunnel->sock->sk_refcnt) : 0, in l2tp_dfs_seq_tunnel_show()
/linux-2.6.39/net/atm/
Dproc.c214 atomic_read(&sk->sk_refcnt)); in vcc_info()
/linux-2.6.39/net/rxrpc/
Daf_rxrpc.c685 _enter("%p{%d,%d}", sk, sk->sk_state, atomic_read(&sk->sk_refcnt)); in rxrpc_release_sock()
/linux-2.6.39/net/phonet/
Dsocket.c616 atomic_read(&sk->sk_refcnt), sk, in pn_sock_seq_show()
/linux-2.6.39/net/sched/
Dem_meta.c326 dst->value = atomic_read(&skb->sk->sk_refcnt); in META_COLLECTOR()
/linux-2.6.39/net/bluetooth/rfcomm/
Dsock.c214 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/
Dsock.c1272 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/
Daf_netlink.c2002 atomic_read(&s->sk_refcnt), in netlink_seq_show()
/linux-2.6.39/net/unix/
Daf_unix.c2259 atomic_read(&s->sk_refcnt), in unix_seq_show()
/linux-2.6.39/net/packet/
Daf_packet.c2711 atomic_read(&s->sk_refcnt), in packet_seq_show()
/linux-2.6.39/net/key/
Daf_key.c3661 atomic_read(&s->sk_refcnt), in pfkey_seq_show()