Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/rc/bpf-lirc.c lirc_bpf_attach() -> bpf_prog_array_copy()

Type Parameter Key Value
PARAM_VALUE 1 exclude_prog 0
PARAM_VALUE 2 include_prog 4096-ptr_max
PARAM_VALUE 2 include_prog->type 6,9,13-16,18,20,22-23,25-26,28-30
PARAM_VALUE 3 bpf_cookie 0
PARAM_VALUE 4 new_array 1882351037369307136
BUF_SIZE 2 include_prog s32min-(-2),1-s32max
BUF_SIZE 2 include_prog s32min-(-2),1-s32max
CAPPED_DATA 2 include_prog->type 1
DATA_SOURCE 2 include_prog $1
LOCK2 global &ir_raw_handler_lock

drivers/media/rc/bpf-lirc.c lirc_bpf_detach() -> bpf_prog_array_copy()

Type Parameter Key Value
PARAM_VALUE 1 exclude_prog 4096-ptr_max
PARAM_VALUE 2 include_prog 0
PARAM_VALUE 3 bpf_cookie 0
PARAM_VALUE 4 new_array 1838878322193174528
BUF_SIZE 1 exclude_prog s32min-(-2),1-s32max
BUF_SIZE 1 exclude_prog s32min-(-2),1-s32max
DATA_SOURCE 1 exclude_prog $1
LOCK2 global &ir_raw_handler_lock

kernel/trace/bpf_trace.c perf_event_attach_bpf_prog() -> bpf_prog_array_copy()

Type Parameter Key Value
PARAM_VALUE 1 exclude_prog 0
PARAM_VALUE 2 include_prog 4096-ptr_max
PARAM_VALUE 2 include_prog->aux 4096-ptr_max
PARAM_VALUE 2 include_prog->type 2,5
PARAM_VALUE 4 new_array 5230372334701744128
BUF_SIZE 2 include_prog s32min-(-2),1-s32max
BUF_SIZE 2 include_prog s32min-(-2),1-s32max
DATA_SOURCE 2 include_prog $1
DATA_SOURCE 3 bpf_cookie $2
LOCK2 global &bpf_event_mutex

kernel/trace/bpf_trace.c perf_event_detach_bpf_prog() -> bpf_prog_array_copy()

Type Parameter Key Value
PARAM_VALUE 0 old_array 1-u64max
PARAM_VALUE 1 exclude_prog 1-u64max
PARAM_VALUE 2 include_prog 0
PARAM_VALUE 3 bpf_cookie 0
PARAM_VALUE 4 new_array 3228999924289912832
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &bpf_event_mutex
HALF_LOCKED2 &event->child_mutex
HALF_LOCKED2 _T->lock