Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bpf/bpf_dummy_struct_ops.c bpf_struct_ops_test_run() -> bpf_struct_ops_prepare_trampoline()

Type Parameter Key Value
PARAM_VALUE 0 tnodes 4096-ptr_max
PARAM_VALUE 1 node 4096-ptr_max
PARAM_VALUE 1 node->cookie 0
PARAM_VALUE 1 node->link 4096-ptr_max
PARAM_VALUE 2 model 4096-ptr_max
PARAM_VALUE 3 stub_func 2352389532447203328
PARAM_VALUE 4 _image 7388174971816677376
PARAM_VALUE 4 *_image 0
PARAM_VALUE 4 *(*_image) 0
PARAM_VALUE 5 _image_off 4732070667021299712
PARAM_VALUE 5 *_image_off 0
PARAM_VALUE 6 allow_alloc 1
BUF_SIZE 0 tnodes 936
BUF_SIZE 0 tnodes 936
BUF_SIZE 3 stub_func 8
DATA_SOURCE 0 tnodes r _kzalloc_noprof

kernel/bpf/bpf_struct_ops.c bpf_struct_ops_map_update_elem() -> bpf_struct_ops_prepare_trampoline()

Type Parameter Key Value
PARAM_VALUE 0 tnodes 4096-ptr_max
PARAM_VALUE 1 node 4096-ptr_max
PARAM_VALUE 1 node->cookie 0
PARAM_VALUE 1 node->link 4096-ptr_max
PARAM_VALUE 2 model 4096-ptr_max
PARAM_VALUE 4 _image 7017496470470930432
PARAM_VALUE 4 *_image 0
PARAM_VALUE 4 *(*_image) 0
PARAM_VALUE 5 _image_off 8264248737584824320
PARAM_VALUE 5 *_image_off 0
BUF_SIZE 0 tnodes 936
BUF_SIZE 0 tnodes 936
DATA_SOURCE 0 tnodes r _kzalloc_noprof
LOCK2 &st_map->lock
TYPE_LOCK (struct bpf_struct_ops_map)->lock