Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/cgroup.c __cgroup_bpf_attach() -> prog_list_length()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 preorder_cnt 0
LOCK2 global &cgroup_mutex

kernel/bpf/cgroup.c __cgroup_bpf_query() -> prog_list_length()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 preorder_cnt 0
LOCK2 global &cgroup_mutex

kernel/bpf/cgroup.c __cgroup_bpf_query() -> prog_list_length()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 preorder_cnt 0
LOCK2 global &cgroup_mutex

kernel/bpf/cgroup.c compute_effective_progs() -> prog_list_length()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 preorder_cnt 3733045431985348608
PARAM_VALUE 1 *preorder_cnt 0-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cgroup_mutex

kernel/bpf/cgroup.c effective_prog_pos() -> prog_list_length()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 preorder_cnt 4735275817680232448
PARAM_VALUE 1 *preorder_cnt 0-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cgroup_mutex

kernel/bpf/cgroup.c hierarchy_allows_attach() -> prog_list_length()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 preorder_cnt 0
LOCK2 global &cgroup_mutex