Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/cgroup.c cgroup_bpf_link_attach() -> cgroup_bpf_attach()

Type Parameter Key Value
PARAM_VALUE 0 cgrp 4096-ptr_max
PARAM_VALUE 0 cgrp->root 4096-ptr_max
PARAM_VALUE 1 prog 0
PARAM_VALUE 2 replace_prog 0
PARAM_VALUE 3 link 4096-ptr_max
PARAM_VALUE 3 link->cgroup 4096-ptr_max
PARAM_VALUE 3 link->cgroup->root 4096-ptr_max
PARAM_VALUE 3 link->link.attach_type 0-43,45-u32max
PARAM_VALUE 3 link->link.id 0
PARAM_VALUE 3 link->link.ops 3898327010616107008
PARAM_VALUE 3 link->link.ops->dealloc 0,4096-ptr_max
PARAM_VALUE 3 link->link.ops->dealloc_deferred 0,1759708710073585664,5585267827817062400,6383829618595254272,7043826165124968448,7435821247301136384
PARAM_VALUE 3 link->link.ops->detach 0,4096-ptr_max
PARAM_VALUE 3 link->link.ops->fill_link_info 0,4096-ptr_max
PARAM_VALUE 3 link->link.ops->poll 0,8364268165973803008
PARAM_VALUE 3 link->link.ops->release 0,4096-ptr_max
PARAM_VALUE 3 link->link.ops->show_fdinfo 0,4096-ptr_max
PARAM_VALUE 3 link->link.ops->update_map 0,3748582149185703936
PARAM_VALUE 3 link->link.ops->update_prog 0,4096-ptr_max
PARAM_VALUE 3 link->link.prog 4096-ptr_max
PARAM_VALUE 3 link->link.refcnt.counter 1
PARAM_VALUE 3 link->link.sleepable 0
PARAM_VALUE 3 link->link.type 3
PARAM_VALUE 4 type 0-43,45-u32max
PARAM_VALUE 5 flags 2-16384
BUF_SIZE 3 link 136
DATA_SOURCE 0 cgrp r cgroup_get_from_fd
DATA_SOURCE 3 link r _kzalloc_noprof
BIT_INFO 5 flags 0x2,0x207a

kernel/bpf/cgroup.c cgroup_bpf_prog_attach() -> cgroup_bpf_attach()

Type Parameter Key Value
PARAM_VALUE 0 cgrp 4096-ptr_max
PARAM_VALUE 0 cgrp->root 4096-ptr_max
PARAM_VALUE 1 prog 4096-ptr_max
PARAM_VALUE 1 prog->type 6,8-9,13-16,18,20,22-23,25-26,28-30
PARAM_VALUE 2 replace_prog 0,4096-ptr_max
PARAM_VALUE 3 link 0
PARAM_VALUE 4 type 0-3,6,8-15,18-22,27,29-32,34,43,49-53
PARAM_VALUE 5 flags 0-16382
PARAM_VALUE 6 id_or_fd 0
PARAM_VALUE 7 revision 0
BUF_SIZE 1 prog s32min-(-2),1-s32max
BUF_SIZE 1 prog s32min-(-2),1-s32max
BUF_SIZE 2 replace_prog s32min-(-2),0-s32max
BUF_SIZE 2 replace_prog s32min-(-2),0-s32max
CAPPED_DATA 1 prog->type 1
CAPPED_DATA 4 type 1
DATA_SOURCE 0 cgrp r cgroup_get_from_fd
DATA_SOURCE 1 prog $2
BIT_INFO 5 flags 0x0,0x207f