Home
last modified time | relevance | path

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

/linux-3.4.99/net/ipv6/
Dinet6_hashtables.c92 if (unlikely(!atomic_inc_not_zero(&sk->sk_refcnt))) in __inet6_lookup_established()
108 if (unlikely(!atomic_inc_not_zero(&sk->sk_refcnt))) { in __inet6_lookup_established()
184 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()
1416 atomic_read(&sp->sk_refcnt), sp, in udp6_sock_seq_show()
Draw.c1250 atomic_read(&sp->sk_refcnt), sp, atomic_read(&sp->sk_drops)); in raw6_sock_seq_show()
Dtcp_ipv6.c1985 atomic_read(&sp->sk_refcnt), sp, in get_tcp6_sock()
/linux-3.4.99/net/core/
Dtimestamping.c61 if (!atomic_inc_not_zero(&sk->sk_refcnt)) in skb_clone_tx_timestamp()
Dsock.c1366 atomic_set(&newsk->sk_refcnt, 2); in sk_clone_lock()
2129 atomic_set(&sk->sk_refcnt, 1); in sock_init_data()
/linux-3.4.99/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-3.4.99/include/net/
Dsock.h272 #define sk_refcnt __sk_common.skc_refcnt macro
492 atomic_inc(&sk->sk_refcnt); in sock_hold()
500 atomic_dec(&sk->sk_refcnt); in __sock_put()
509 WARN_ON(atomic_read(&sk->sk_refcnt) == 1); in sk_del_node_init()
531 WARN_ON(atomic_read(&sk->sk_refcnt) == 1); in sk_nulls_del_node_init_rcu()
961 if (atomic_read(&sk->sk_refcnt) != 1) in sk_refcnt_debug_release()
963 sk->sk_prot->name, sk, atomic_read(&sk->sk_refcnt)); in sk_refcnt_debug_release()
1555 if (atomic_dec_and_test(&sk->sk_refcnt)) in sock_put()
/linux-3.4.99/net/ipv4/
Dinet_hashtables.c207 if (unlikely(!atomic_inc_not_zero(&result->sk_refcnt))) in __inet_lookup_listener()
242 if (unlikely(!atomic_inc_not_zero(&sk->sk_refcnt))) in __inet_lookup_established()
265 if (unlikely(!atomic_inc_not_zero(&sk->sk_refcnt))) { in __inet_lookup_established()
Dping.c239 pr_debug("isk->refcnt = %d\n", sk->sk_refcnt.counter); in ping_close()
846 atomic_read(&sp->sk_refcnt), sp, in ping_format_sock()
Dudp.c435 if (unlikely(!atomic_inc_not_zero_hint(&result->sk_refcnt, 2))) in udp4_lib_lookup2()
505 if (unlikely(!atomic_inc_not_zero_hint(&result->sk_refcnt, 2))) in __udp4_lib_lookup()
2096 atomic_read(&sp->sk_refcnt), sp, in udp4_format_sock()
Draw.c991 atomic_read(&sp->sk_refcnt), sp, atomic_read(&sp->sk_drops)); in raw_sock_seq_show()
Dtcp_ipv4.c2420 atomic_read(&sk->sk_refcnt), in get_openreq4()
2471 atomic_read(&sk->sk_refcnt), sk, in get_tcp4_sock()
/linux-3.4.99/net/l2tp/
Dl2tp_debugfs.c136 tunnel->sock ? atomic_read(&tunnel->sock->sk_refcnt) : 0, in l2tp_dfs_seq_tunnel_show()
/linux-3.4.99/net/atm/
Dproc.c214 atomic_read(&sk->sk_refcnt)); in vcc_info()
/linux-3.4.99/net/rxrpc/
Daf_rxrpc.c685 _enter("%p{%d,%d}", sk, sk->sk_state, atomic_read(&sk->sk_refcnt)); in rxrpc_release_sock()
/linux-3.4.99/net/sched/
Dem_meta.c326 dst->value = atomic_read(&skb->sk->sk_refcnt); in META_COLLECTOR()
/linux-3.4.99/net/phonet/
Dsocket.c616 atomic_read(&sk->sk_refcnt), sk, in pn_sock_seq_show()
/linux-3.4.99/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-3.4.99/net/netlink/
Daf_netlink.c2038 atomic_read(&s->sk_refcnt), in netlink_seq_show()
/linux-3.4.99/net/unix/
Daf_unix.c2336 atomic_read(&s->sk_refcnt), in unix_seq_show()
/linux-3.4.99/net/packet/
Daf_packet.c3887 atomic_read(&s->sk_refcnt), in packet_seq_show()
/linux-3.4.99/net/key/
Daf_key.c3667 atomic_read(&s->sk_refcnt), in pfkey_seq_show()