Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/bpf/syscall.c map_check_btf() -> btf_parse_fields()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max
PARAM_VALUE 0 btf->kernel_btf 0
PARAM_VALUE 1 t 4096-2875726118925660159,2875726118925660161-ptr_max
PARAM_VALUE 2 field_mask 16063
BUF_SIZE 0 btf s32min-(-2),1-s32max
BUF_SIZE 0 btf s32min-(-2),1-s32max
CAPPED_DATA 3 value_size 1
DATA_SOURCE 0 btf $2
DATA_SOURCE 1 t r btf_type_id_size
UNITS 3 value_size unit_byte

kernel/bpf/btf.c btf_parse_struct_metas() -> btf_parse_fields()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max
PARAM_VALUE 1 t 4096-ptr_max
PARAM_VALUE 2 field_mask 5117
BUF_SIZE 0 btf 248
DATA_SOURCE 0 btf $1
DATA_SOURCE 1 t r btf_type_by_id
UNITS 3 value_size unit_byte