Searched refs:sk_refcnt (Results 1 - 25 of 51) sorted by relevance

123

/linux-master/net/mptcp/
H A Dtoken_test.c59 refcount_set(&((struct sock *)msk)->sk_refcnt, 1);
88 KUNIT_EXPECT_EQ(test, 2, (int)refcount_read(&sk->sk_refcnt));
128 refcount_set(&sk->sk_refcnt, 0);
H A Dtoken.c263 if (!refcount_inc_not_zero(&sk->sk_refcnt))
322 if (!refcount_inc_not_zero(&sk->sk_refcnt))
H A Dmptcp_diag.c121 if (!refcount_inc_not_zero(&sk->sk_refcnt))
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_netlink.c47 nlk->cb_running, s->sk_refcnt.refs.counter);
H A Dbpf_iter_unix.c42 sk->sk_refcnt.refs.counter,
H A Dbpf_iter_udp6.c74 inet->sk.sk_refcnt.refs.counter, udp_sk,
H A Dbpf_iter_udp4.c66 inet->sk.sk_refcnt.refs.counter, udp_sk,
H A Dbpf_tracing_net.h104 #define sk_refcnt __sk_common.skc_refcnt macro
H A Dbpf_iter_tcp6.c137 sp->sk_refcnt.refs.counter);
H A Dbpf_iter_tcp4.c133 sp->sk_refcnt.refs.counter);
/linux-master/include/linux/can/
H A Dskb.h80 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) {
/linux-master/net/netfilter/
H A Dnf_queue.c101 if (state->sk && !refcount_inc_not_zero(&state->sk->sk_refcnt))
185 if (!refcount_inc_not_zero(&sk->sk_refcnt))
/linux-master/net/ipv4/netfilter/
H A Dnf_tproxy_ipv4.c101 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
/linux-master/net/ipv6/netfilter/
H A Dnf_tproxy_ipv6.c103 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
/linux-master/net/ipv4/
H A Dudp_diag.c54 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
205 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
H A Draw_diag.c77 if (refcount_inc_not_zero(&sk->sk_refcnt))
H A Dinet_timewait_sock.c290 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
/linux-master/net/ipv6/
H A Dinet6_hashtables.c73 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
256 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt))
/linux-master/net/rds/
H A Dbind.c82 !refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt)))
/linux-master/net/llc/
H A Dllc_conn.c496 if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
559 if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
989 if (refcount_read(&sk->sk_refcnt) != 1) {
991 sk, __func__, refcount_read(&sk->sk_refcnt));
H A Dllc_sap.c331 if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
/linux-master/include/net/
H A Drequest_sock.h140 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) {
193 * accessed even after a listener is closed, until its sk_refcnt drops
195 * listen_opt around until sk_refcnt drops to 0. But there is some other
H A Dsock.h193 * offset(struct sock, sk_refcnt) == 128 on 64bit arches
349 #define sk_refcnt __sk_common.skc_refcnt macro
774 refcount_inc(&sk->sk_refcnt);
782 refcount_dec(&sk->sk_refcnt);
791 WARN_ON(refcount_read(&sk->sk_refcnt) == 1);
813 WARN_ON(refcount_read(&sk->sk_refcnt) == 1);
1949 if (refcount_dec_and_test(&sk->sk_refcnt))
2400 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) {
/linux-master/net/l2tp/
H A Dl2tp_debugfs.c165 tunnel->sock ? refcount_read(&tunnel->sock->sk_refcnt) : 0,
/linux-master/net/atm/
H A Dproc.c201 refcount_read(&sk->sk_refcnt));

Completed in 326 milliseconds

123