Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/bpf/net_namespace.c __netns_bpf_prog_query() -> bpf_prog_array_copy_to_user()

Type Parameter Key Value
PARAM_VALUE 0 array 1-u64max
PARAM_VALUE 1 prog_ids 1-u64max
PARAM_VALUE 2 cnt 1-u32max
LOCK2 global &netns_bpf_mutex

kernel/bpf/cgroup.c __cgroup_bpf_query() -> bpf_prog_array_copy_to_user()

Type Parameter Key Value
PARAM_VALUE 1 prog_ids 1-u64max
CAPPED_DATA 2 cnt 1
LOCK2 global &cgroup_mutex

drivers/media/rc/bpf-lirc.c lirc_prog_query() -> bpf_prog_array_copy_to_user()

Type Parameter Key Value
PARAM_VALUE 0 array 1-u64max
PARAM_VALUE 1 prog_ids 1-u64max
PARAM_VALUE 2 cnt 1-u32max
LOCK2 global &ir_raw_handler_lock