Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/bpf/btf.c btf_parse_kptr() -> btf_try_get_module()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max

kernel/bpf/verifier.c __add_used_btf() -> btf_try_get_module()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max
BUF_SIZE 0 btf s32min-(-1),1-s32max
BUF_SIZE 0 btf s32min-(-1),1-s32max
DATA_SOURCE 0 btf $1

kernel/bpf/verifier.c __find_kfunc_desc_btf() -> btf_try_get_module()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max
BUF_SIZE 0 btf s32min-(-1),1-s32max
BUF_SIZE 0 btf s32min-(-1),1-s32max
DATA_SOURCE 0 btf r fd_array_get_btf

kernel/bpf/verifier.c btf_attach_func_proto() -> btf_try_get_module()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max
CAPPED_DATA 0 btf->start_id 1
DATA_SOURCE 0 btf $1
PARAM_COMPARE 0 btf->nr_types > $0->start_id

kernel/bpf/verifier.c check_struct_ops_btf_id() -> btf_try_get_module()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max

kernel/bpf/bpf_struct_ops.c bpf_struct_ops_map_alloc() -> btf_try_get_module()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max
BUF_SIZE 0 btf s32min-(-2),1-s32max
BUF_SIZE 0 btf s32min-(-2),1-s32max
DATA_SOURCE 0 btf r btf_get_by_fd