Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 token 4096-ptr_max
PARAM_VALUE 1 cmd 19
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

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

Type Parameter Key Value
PARAM_VALUE 0 token 4096-ptr_max
PARAM_VALUE 1 cmd 18
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

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

Type Parameter Key Value
PARAM_VALUE 0 token 4096-ptr_max
PARAM_VALUE 1 cmd 5
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

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

Type Parameter Key Value
PARAM_VALUE 0 token 4096-ptr_max
PARAM_VALUE 1 cmd 0
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