Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

kernel/bpf/net_namespace.c bpf_netns_link_release() -> bpf_prog_array_alloc()

Type Parameter Key Value
PARAM_VALUE 0 prog_cnt 1-s32max
PARAM_VALUE 1 flags 3264
DATA_SOURCE 0 prog_cnt r link_count
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &netns_bpf_mutex

kernel/bpf/net_namespace.c netns_bpf_link_attach() -> bpf_prog_array_alloc()

Type Parameter Key Value
PARAM_VALUE 0 prog_cnt 1-64
PARAM_VALUE 1 flags 3264
CAPPED_DATA 0 prog_cnt 1
LOCK2 global &netns_bpf_mutex

kernel/bpf/net_namespace.c netns_bpf_prog_attach() -> bpf_prog_array_alloc()

Type Parameter Key Value
PARAM_VALUE 0 prog_cnt 1
PARAM_VALUE 1 flags 3264
LOCK2 global &netns_bpf_mutex

net/bpf/test_run.c bpf_prog_test_run_sk_lookup() -> bpf_prog_array_alloc()

Type Parameter Key Value
PARAM_VALUE 0 prog_cnt 1
PARAM_VALUE 1 flags 3264

kernel/bpf/cgroup.c compute_effective_progs() -> bpf_prog_array_alloc()

Type Parameter Key Value
PARAM_VALUE 1 flags 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cgroup_mutex

kernel/bpf/core.c bpf_prog_array_copy() -> bpf_prog_array_alloc()

Type Parameter Key Value
PARAM_VALUE 0 prog_cnt 0,2147483649-u32max
PARAM_VALUE 1 flags 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &bpf_event_mutex
HALF_LOCKED2 global &ir_raw_handler_lock