Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

net/ipv4/tcp_ipv4.c skb_steal_sock() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte
HALF_LOCKED2 rcu_read

net/ipv6/udp.c skb_steal_sock() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte

net/ipv6/udp.c udp_v6_early_demux() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_state 1
CAPPED_DATA 0 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 sk r __udp6_lib_demux_lookup
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/core/filter.c ____bpf_sk_assign() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 1-u64max
DATA_SOURCE 0 sk $1

net/core/filter.c ____bpf_sk_lookup_assign() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 1-u64max
DATA_SOURCE 0 sk $1

net/core/filter.c ____bpf_sk_release() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 1-u64max
DATA_SOURCE 0 sk $0

net/core/filter.c ____sk_select_reuseport() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
BUF_SIZE 0 sk s32min-(-1),1-s32max
BUF_SIZE 0 sk s32min-(-1),1-s32max

net/ipv4/udp.c skb_steal_sock() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte
HALF_LOCKED2 rcu_read

net/ipv4/udp.c udp_v4_early_demux() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/core/sock.c sock_pfree() -> sk_is_refcounted()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte
HALF_LOCKED2 &commonring->lock
HALF_LOCKED2 &dlc->lock
HALF_LOCKED2 &fq->q.lock
HALF_LOCKED2 &priv->driver_lock
HALF_LOCKED2 &qp->q.lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 global &rfcomm_dev_lock
HALF_LOCKED2 global &rfcomm_ioctl_mutex
HALF_LOCKED2 global &rfcomm_mutex
HALF_LOCKED2 rcu_read

net/core/sock_map.c sock_hash_lookup() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 1-u64max
DATA_SOURCE 0 sk r __sock_hash_lookup_elem
HALF_LOCKED2 rcu_read

net/core/sock_map.c sock_map_lookup() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 1-u64max
DATA_SOURCE 0 sk r __sock_map_lookup_elem
HALF_LOCKED2 rcu_read

net/netfilter/nf_queue.c __nf_queue() -> sk_is_refcounted()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte
HALF_LOCKED2 rcu_read

net/ipv6/tcp_ipv6.c skb_steal_sock() -> sk_is_refcounted()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte