Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

net/ipv4/inet_diag.c inet_diag_msg_attrs_fill() -> sock_cgroup_classid()

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

net/netfilter/nfnetlink_queue.c nfqnl_put_sk_classid() -> sock_cgroup_classid()

Type Parameter Key Value
PARAM_VALUE 0 skcd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

net/core/filter.c ____bpf_skb_cgroup_classid() -> sock_cgroup_classid()

Type Parameter Key Value
PARAM_VALUE 0 skcd 4096-ptr_max

net/core/filter.c task_get_classid() -> sock_cgroup_classid()

Type Parameter Key Value
PARAM_VALUE 0 skcd 4096-ptr_max

net/sched/cls_cgroup.c task_get_classid() -> sock_cgroup_classid()

Type Parameter Key Value
PARAM_VALUE 0 skcd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/netfilter/nft_meta.c nft_meta_get_eval_cgroup() -> sock_cgroup_classid()

Type Parameter Key Value
PARAM_VALUE 0 skcd 4096-ptr_max

net/netfilter/xt_cgroup.c cgroup_mt_v0() -> sock_cgroup_classid()

Type Parameter Key Value
PARAM_VALUE 0 skcd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/netfilter/xt_cgroup.c cgroup_mt_v1() -> sock_cgroup_classid()

Type Parameter Key Value
PARAM_VALUE 0 skcd 4096-ptr_max
BUF_SIZE 0 skcd 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/netfilter/xt_cgroup.c cgroup_mt_v2() -> sock_cgroup_classid()

Type Parameter Key Value
PARAM_VALUE 0 skcd 4096-ptr_max
BUF_SIZE 0 skcd 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read