Defined in 1 files as a struct:
Defined in 2 files as a function:
Referenced in 20 files:
- include/linux/btf.h, line 482
- kernel/bpf/btf.c
- kernel/bpf/verifier.c
- kernel/trace/trace_probe.c
- tools/bpf/bpftool/btf.c
- tools/bpf/bpftool/btf_dumper.c
- tools/bpf/bpftool/gen.c
- tools/lib/bpf/btf.c
- tools/lib/bpf/btf.h, line 596
- 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
- tools/testing/selftests/bpf/prog_tests/btf.c, line 8193
- tools/testing/selftests/bpf/prog_tests/btf_write.c
- tools/testing/selftests/bpf/prog_tests/core_reloc.c, line 476
- tools/testing/selftests/bpf/veristat.c
Smatch caller information:
kernel/bpf/relo_core.c __bpf_core_types_are_compat() -> btf_array()
| 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_are_compat() -> btf_array()
| 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_array()
| 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_array()
| 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_calc_field_relo() -> btf_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| HALF_LOCKED2 | global &cand_cache_mutex |
kernel/bpf/relo_core.c bpf_core_calc_field_relo() -> btf_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| HALF_LOCKED2 | global &cand_cache_mutex |
kernel/bpf/relo_core.c bpf_core_fields_are_compat() -> btf_array()
| 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_array()
| 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_parse_spec() -> btf_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r skip_mods_and_typedefs |
| HALF_LOCKED2 | global &cand_cache_mutex |
kernel/bpf/relo_core.c bpf_core_spec_match() -> btf_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r skip_mods_and_typedefs |
| HALF_LOCKED2 | global &cand_cache_mutex |
kernel/bpf/btf_relocate.c btf_mark_embedded_composite_type_ids() -> btf_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_by_id |
kernel/bpf/btf.c btf_find_field_one() -> btf_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $2 [m] |
kernel/bpf/verifier.c __btf_type_is_scalar_struct() -> btf_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |