Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/bpf/syscall.c bpf_btf_get_fd_by_id() -> bpf_token_put()

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

kernel/bpf/syscall.c bpf_btf_get_fd_by_id() -> bpf_token_put()

Type Parameter Key Value
PARAM_VALUE 0 token 0,4096-ptr_max
BUF_SIZE 0 token s32min-(-2),0-s32max
BUF_SIZE 0 token s32min-(-2),0-s32max
NOCHECK_CALL

kernel/bpf/syscall.c bpf_btf_get_fd_by_id() -> bpf_token_put()

Type Parameter Key Value
PARAM_VALUE 0 token 0,4096-ptr_max
BUF_SIZE 0 token s32min-(-2),0-s32max
BUF_SIZE 0 token s32min-(-2),0-s32max
NOCHECK_CALL

kernel/bpf/syscall.c bpf_btf_load() -> bpf_token_put()

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

kernel/bpf/syscall.c bpf_btf_load() -> bpf_token_put()

Type Parameter Key Value
PARAM_VALUE 0 token 0,4096-ptr_max
BUF_SIZE 0 token s32min-(-2),0-s32max
BUF_SIZE 0 token s32min-(-2),0-s32max
NOCHECK_CALL

kernel/bpf/syscall.c bpf_btf_load() -> bpf_token_put()

Type Parameter Key Value
PARAM_VALUE 0 token 0,4096-ptr_max
BUF_SIZE 0 token s32min-(-2),0-s32max
BUF_SIZE 0 token s32min-(-2),0-s32max
NOCHECK_CALL

kernel/bpf/syscall.c bpf_prog_load() -> bpf_token_put()

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

kernel/bpf/syscall.c bpf_prog_load() -> bpf_token_put()

Type Parameter Key Value
PARAM_VALUE 0 token 0,4096-ptr_max
BUF_SIZE 0 token s32min-(-2),0-s32max
BUF_SIZE 0 token s32min-(-2),0-s32max
NOCHECK_CALL

kernel/bpf/syscall.c map_create() -> bpf_token_put()

Type Parameter Key Value
PARAM_VALUE 0 token 0,4096-ptr_max
NOCHECK_CALL

kernel/bpf/syscall.c map_create() -> bpf_token_put()

Type Parameter Key Value
PARAM_VALUE 0 token 0,4096-ptr_max
NOCHECK_CALL

kernel/bpf/syscall.c map_create_alloc() -> bpf_token_put()

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

kernel/bpf/syscall.c map_create_alloc() -> bpf_token_put()

Type Parameter Key Value
PARAM_VALUE 0 token 0,4096-ptr_max
BUF_SIZE 0 token s32min-(-2),0-s32max
BUF_SIZE 0 token s32min-(-2),0-s32max
NOCHECK_CALL

kernel/bpf/token.c bpf_token_release() -> bpf_token_put()

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

kernel/bpf/core.c bpf_prog_free() -> bpf_token_put()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL