Defined in 1 files as a prototype:

Defined in 5 files as a function:

Referenced in 3 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 image 1-ptr_max
PARAM_VALUE 1 size 4096
UNITS 1 size unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 image 1-u64max
PARAM_VALUE 1 size 0-4096
CAPPED_DATA 1 size 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
HALF_LOCKED2 global &direct_mutex

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

Type Parameter Key Value
PARAM_VALUE 1 size 4096
UNITS 1 size unit_byte
LOCK2 &st_map->lock
TYPE_LOCK (struct bpf_struct_ops_map)->lock