Defined in 2 files as a function:
Referenced in 17 files:
- include/linux/btf.h
- kernel/bpf/btf.c
- tools/bpf/bpftool/btf.c
- tools/bpf/bpftool/btf_dumper.c
- tools/bpf/bpftool/gen.c
-
tools/lib/bpf/btf.c
- line 425
- line 437
- line 459
- line 512
- line 573
- line 643
- line 719
- line 941
- line 989
- line 1036
- line 1137
- line 1143
- line 2128
- line 2696
- line 2811
- line 4369
- line 4585
- line 4622
- line 4648
- line 4795
- line 4796
- line 5029
- line 5030
- line 5188
- line 5189
- line 5292
- line 5391
- line 5533
- line 5557
- line 5576
- line 5955
- line 5975
- line 6012
- tools/lib/bpf/btf.h
- tools/lib/bpf/btf_dump.c
- tools/lib/bpf/btf_iter.c
- tools/lib/bpf/btf_relocate.c
- tools/lib/bpf/libbpf.c
- tools/lib/bpf/linker.c
- tools/lib/bpf/relo_core.c
- tools/testing/selftests/bpf/btf_helpers.c, line 99
- tools/testing/selftests/bpf/prog_tests/btf.c
- tools/testing/selftests/bpf/prog_tests/btf_write.c
- tools/testing/selftests/bpf/prog_tests/test_global_funcs.c
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 |