Defined in 2 files as a function:

Referenced in 17 files:

Smatch caller information:

kernel/bpf/relo_core.c __bpf_core_types_are_compat() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
DATA_SOURCE 0 t r skip_mods_and_typedefs

kernel/bpf/relo_core.c __bpf_core_types_match() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
DATA_SOURCE 0 t r skip_mods_and_typedefs

kernel/bpf/relo_core.c __bpf_core_types_match() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
DATA_SOURCE 0 t r skip_mods_and_typedefs

kernel/bpf/relo_core.c bpf_core_fields_are_compat() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
DATA_SOURCE 0 t r skip_mods_and_typedefs

kernel/bpf/relo_core.c btf_is_array() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
DATA_SOURCE 0 t $0
HALF_LOCKED2 global &cand_cache_mutex

kernel/bpf/relo_core.c btf_is_composite() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
DATA_SOURCE 0 t $0

kernel/bpf/relo_core.c btf_is_enum() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t $0

kernel/bpf/relo_core.c btf_is_int() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t $0
HALF_LOCKED2 global &cand_cache_mutex

kernel/bpf/relo_core.c btf_is_ptr() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t $0
HALF_LOCKED2 global &cand_cache_mutex

kernel/bpf/btf_iter.c btf_field_iter_init() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t $1

kernel/bpf/btf_iter.c btf_field_iter_init() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t $1

kernel/bpf/btf_relocate.c btf_is_composite() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t $0

kernel/bpf/btf_relocate.c btf_mark_embedded_composite_type_ids() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t r btf_type_by_id

kernel/bpf/btf_relocate.c btf_relocate_map_distilled_base() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
DATA_SOURCE 0 t r btf_type_by_id

kernel/bpf/btf_relocate.c btf_relocate_map_distilled_base() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t r btf_type_by_id

kernel/bpf/btf_relocate.c btf_relocate_validate_distilled_base() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t r btf_type_by_id

kernel/bpf/btf.c bpf_core_add_cands() -> btf_kind()

Type Parameter Key Value
DATA_SOURCE 0 t r btf_type_by_id
LOCK2 global &cand_cache_mutex

kernel/bpf/btf.c bpf_core_find_cands() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
CAPPED_DATA 0 t->name_off 1
DATA_SOURCE 0 t r btf_type_by_id
LOCK2 global &cand_cache_mutex

kernel/bpf/btf.c btf_is_int() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-2875726118925660159,2875726118925660161-ptr_max
CAPPED_DATA 0 t->name_off 1
DATA_SOURCE 0 t $0

kernel/bpf/btf.c btf_is_ptr() -> btf_kind()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
DATA_SOURCE 0 t $0