Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/syscall.c bpf_link_cleanup() -> bpf_link_free_id()

Type Parameter Key Value
PARAM_VALUE 0 id 0-s32max
NOCHECK_CALL
HALF_LOCKED2 &prog->aux->dst_mutex
HALF_LOCKED2 global &rtnl_mutex

kernel/bpf/syscall.c bpf_link_free() -> bpf_link_free_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 id 0-s32max
DATA_SOURCE 0 id r bpf_link_alloc_id
NOCHECK_CALL
HALF_LOCKED2 &prog->aux->dst_mutex
HALF_LOCKED2 global &rtnl_mutex