Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/syscall.c bpf_iter_create() -> bpf_link_put_direct()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
BUF_SIZE 0 link s32min-(-2),1-s32max
BUF_SIZE 0 link s32min-(-2),1-s32max
DATA_SOURCE 0 link r bpf_link_get_from_fd
NOCHECK_CALL

kernel/bpf/syscall.c bpf_link_get_fd_by_id() -> bpf_link_put_direct()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->ops 4096-ptr_max
PARAM_VALUE 0 link->ops->poll 0,4096-ptr_max
DATA_SOURCE 0 link r bpf_link_by_id
CAPABLE 0 21
NOCHECK_CALL

kernel/bpf/syscall.c bpf_link_release() -> bpf_link_put_direct()

Type Parameter Key Value
BUF_SIZE 0 link (-1),26
BUF_SIZE 0 link (-1),26
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/bpf/syscall.c link_detach() -> bpf_link_put_direct()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->ops 4096-ptr_max
PARAM_VALUE 0 link->ops->detach 0,4096-ptr_max
PARAM_VALUE 0 link->ops->poll 0,4096-ptr_max
PARAM_VALUE 0 link->ops->update_map 0,4096-ptr_max
BUF_SIZE 0 link s32min-(-2),1-s32max
BUF_SIZE 0 link s32min-(-2),1-s32max
CAPPED_DATA 0 link 1
DATA_SOURCE 0 link r bpf_link_get_from_fd
NOCHECK_CALL

kernel/bpf/syscall.c link_update() -> bpf_link_put_direct()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->ops 4096-ptr_max
PARAM_VALUE 0 link->ops->update_map 0,3748582149185703936
PARAM_VALUE 0 link->ops->update_prog 0,4096-ptr_max
BUF_SIZE 0 link s32min-(-2),1-s32max
BUF_SIZE 0 link s32min-(-2),1-s32max
CAPPED_DATA 0 link 1
DATA_SOURCE 0 link r bpf_link_get_from_fd
NOCHECK_CALL