Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

net/core/filter.c __get_filter() -> bpf_prog_alloc()

Type Parameter Key Value
PARAM_VALUE 1 gfp_extra_flags 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

net/core/filter.c bpf_prog_create() -> bpf_prog_alloc()

Type Parameter Key Value
PARAM_VALUE 1 gfp_extra_flags 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &ppp_mutex
HALF_LOCKED2 global &rtnl_mutex

net/core/filter.c bpf_prog_create_from_user() -> bpf_prog_alloc()

Type Parameter Key Value
PARAM_VALUE 1 gfp_extra_flags 0
RX_PATH
TASK_NOT_RUNNING

kernel/bpf/syscall.c bpf_prog_load() -> bpf_prog_alloc()

Type Parameter Key Value
PARAM_VALUE 1 gfp_extra_flags 1051840

lib/test_bpf.c generate_filter() -> bpf_prog_alloc()

Type Parameter Key Value
PARAM_VALUE 1 gfp_extra_flags 0

lib/test_bpf.c prepare_tail_call_tests() -> bpf_prog_alloc()

Type Parameter Key Value
PARAM_VALUE 1 gfp_extra_flags 0

kernel/bpf/trampoline.c cgroup_shim_alloc() -> bpf_prog_alloc()

Type Parameter Key Value
PARAM_VALUE 0 size 1
PARAM_VALUE 1 gfp_extra_flags 0
LOCK2 global &cgroup_mutex