Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/syscall.c bpf_prog_attach() -> is_cgroup_prog_type()

Type Parameter Key Value
PARAM_VALUE 0 ptype 6,8-9,13-16,18,20,22-23,25-26,29-30
PARAM_VALUE 1 atype 0
PARAM_VALUE 2 check_atype 0
DATA_SOURCE 0 ptype r attach_type_to_prog_type

kernel/bpf/syscall.c bpf_prog_attach() -> is_cgroup_prog_type()

Type Parameter Key Value
PARAM_VALUE 0 ptype 3,6,8-9,13-16,18,20,22-23,25-26,29-30
PARAM_VALUE 2 check_atype 1
DATA_SOURCE 0 ptype r attach_type_to_prog_type

kernel/bpf/syscall.c bpf_prog_detach() -> is_cgroup_prog_type()

Type Parameter Key Value
PARAM_VALUE 0 ptype 0,6,8-9,13-16,18,20,22-23,25-26,29-30
PARAM_VALUE 1 atype 0
PARAM_VALUE 2 check_atype 0
DATA_SOURCE 0 ptype r attach_type_to_prog_type