Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 2 prog_array 4096-ptr_max
BUF_SIZE 2 prog_array 16-s32max
BUF_SIZE 2 prog_array 16-s32max
DATA_SOURCE 2 prog_array r bpf_prog_array_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &netns_bpf_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->bpf.links 4096-ptr_max
PARAM_VALUE 1 type 0-1
PARAM_VALUE 2 prog_array 4096-ptr_max
BUF_SIZE 2 prog_array 16-s32max
BUF_SIZE 2 prog_array 16-s32max
DATA_SOURCE 0 net $0
DATA_SOURCE 1 type $2
DATA_SOURCE 2 prog_array r bpf_prog_array_alloc
NOCHECK_CALL
LOCK2 global &netns_bpf_mutex