Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/syscall.c bpf_link_prime() -> bpf_link_alloc_id()

Type Parameter Key Value
PARAM_VALUE 0 link 16,4096-ptr_max
PARAM_VALUE 0 link->id 0
PARAM_VALUE 0 link->ops 4096-ptr_max
PARAM_VALUE 0 link->prog 0,4096-ptr_max
PARAM_VALUE 0 link->refcnt.counter 1
PARAM_VALUE 0 link->type 1-15
DATA_SOURCE 0 link $0
HARD_MAX 0 link->type 15
HALF_LOCKED2 &prog->aux->dst_mutex
HALF_LOCKED2 global &rtnl_mutex