Searched refs:sk_refcnt (Results 1 - 25 of 51) sorted by relevance
123
/linux-master/net/mptcp/ |
H A D | token_test.c | 59 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 D | token.c | 263 if (!refcount_inc_not_zero(&sk->sk_refcnt)) 322 if (!refcount_inc_not_zero(&sk->sk_refcnt))
|
H A D | mptcp_diag.c | 121 if (!refcount_inc_not_zero(&sk->sk_refcnt))
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_netlink.c | 47 nlk->cb_running, s->sk_refcnt.refs.counter);
|
H A D | bpf_iter_unix.c | 42 sk->sk_refcnt.refs.counter,
|
H A D | bpf_iter_udp6.c | 74 inet->sk.sk_refcnt.refs.counter, udp_sk,
|
H A D | bpf_iter_udp4.c | 66 inet->sk.sk_refcnt.refs.counter, udp_sk,
|
H A D | bpf_tracing_net.h | 104 #define sk_refcnt __sk_common.skc_refcnt macro
|
H A D | bpf_iter_tcp6.c | 137 sp->sk_refcnt.refs.counter);
|
H A D | bpf_iter_tcp4.c | 133 sp->sk_refcnt.refs.counter);
|
/linux-master/include/linux/can/ |
H A D | skb.h | 80 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) {
|
/linux-master/net/netfilter/ |
H A D | nf_queue.c | 101 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 D | nf_tproxy_ipv4.c | 101 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
|
/linux-master/net/ipv6/netfilter/ |
H A D | nf_tproxy_ipv6.c | 103 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
|
/linux-master/net/ipv4/ |
H A D | udp_diag.c | 54 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) 205 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
|
H A D | raw_diag.c | 77 if (refcount_inc_not_zero(&sk->sk_refcnt))
|
H A D | inet_timewait_sock.c | 290 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
|
/linux-master/net/ipv6/ |
H A D | inet6_hashtables.c | 73 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 D | bind.c | 82 !refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt)))
|
/linux-master/net/llc/ |
H A D | llc_conn.c | 496 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 D | llc_sap.c | 331 if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
|
/linux-master/include/net/ |
H A D | request_sock.h | 140 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 D | sock.h | 193 * 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 D | l2tp_debugfs.c | 165 tunnel->sock ? refcount_read(&tunnel->sock->sk_refcnt) : 0,
|
/linux-master/net/atm/ |
H A D | proc.c | 201 refcount_read(&sk->sk_refcnt));
|
Completed in 326 milliseconds
123