Defined in 1 files as a prototype:

Defined in 7 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/bpf/trampoline.c bpf_trampoline_update() -> arch_prepare_bpf_trampoline()

Type Parameter Key Value
PARAM_VALUE 0 im 4096-ptr_max
PARAM_VALUE 1 image 1-u64max
PARAM_VALUE 2 image_end 4096-ptr_max
PARAM_VALUE 3 m 4096-ptr_max
PARAM_VALUE 4 flags 1-278
PARAM_VALUE 5 tnodes 4096-ptr_max
BUF_SIZE 0 im 736
BUF_SIZE 5 tnodes 936
BUF_SIZE 5 tnodes 936
CAPPED_DATA 0 im->size 1
DATA_SOURCE 0 im r bpf_tramp_image_alloc
DATA_SOURCE 5 tnodes r bpf_trampoline_get_progs
BIT_INFO 4 flags 0x0,0xef
RX_PATH
TASK_NOT_RUNNING
UNITS 2 image_end unit_byte
HALF_LOCKED2 global &direct_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 im 0
PARAM_VALUE 1 image 1-ptr_max
PARAM_VALUE 2 image_end 4096-ptr_max
PARAM_VALUE 3 m 4096-ptr_max
PARAM_VALUE 4 flags 256,272
PARAM_VALUE 5 tnodes 4096-ptr_max
BUF_SIZE 5 tnodes 936
BUF_SIZE 5 tnodes 936
BUF_SIZE 6 func_addr (-1),8
BUF_SIZE 6 func_addr (-1),8
CAPPED_DATA 3 m->nr_args 1
DATA_SOURCE 3 m $2
DATA_SOURCE 5 tnodes $0
DATA_SOURCE 6 func_addr $3
FUZZY_MAX 4 flags 256
BIT_INFO 4 flags 0x100,0x110
UNITS 1 image unit_byte
UNITS 2 image_end unit_byte
HALF_LOCKED2 &st_map->lock