Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->attach_flags 0-16382
PARAM_VALUE 0 attr->attach_type 0-3,6,8-15,18-22,27,29-32,34,43,49-53
PARAM_VALUE 0 attr->expected_revision 0
PARAM_VALUE 0 attr->relative_fd 0
PARAM_VALUE 1 ptype 8-9,13,15,18,23,25,29
PARAM_VALUE 2 prog 4096-ptr_max
PARAM_VALUE 2 prog->type 6,8-9,13-16,18,20,22-23,25-26,28-30
BUF_SIZE 2 prog s32min-(-2),1-s32max
BUF_SIZE 2 prog s32min-(-2),1-s32max
CAPPED_DATA 0 attr->attach_type 1
CAPPED_DATA 2 prog->type 1
DATA_SOURCE 0 attr $0
DATA_SOURCE 1 ptype r attach_type_to_prog_type
DATA_SOURCE 2 prog r bpf_prog_get_type
BIT_INFO 0 attr->attach_flags 0x0,0x207f