Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/bpf/syscall.c __bpf_prog_get() -> bpf_prog_get_ok()

Type Parameter Key Value
BUF_SIZE 0 prog s32min-(-2),1-s32max
BUF_SIZE 0 prog s32min-(-2),1-s32max
DATA_SOURCE 1 attach_type $1
DATA_SOURCE 2 attach_drv $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

kernel/bpf/inode.c __get_prog_inode() -> bpf_prog_get_ok()

Type Parameter Key Value
PARAM_VALUE 2 attach_drv 0
BUF_SIZE 0 prog s32min-(-2),1-s32max
BUF_SIZE 0 prog s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 prog unit_array_size