Defined in 2 files as a prototype:
- include/linux/btf.h, line 575 (as a prototype)
- tools/lib/bpf/libbpf_internal.h, line 592 (as a prototype)
Defined in 2 files as a function:
Referenced in 5 files:
- tools/bpf/bpftool/gen.c, line 2576
- tools/lib/bpf/btf.c
- tools/lib/bpf/btf_relocate.c
- tools/lib/bpf/linker.c
- tools/testing/selftests/bpf/prog_tests/btf_field_iter.c
Smatch caller information:
kernel/bpf/btf_relocate.c btf_mark_embedded_composite_type_ids() -> btf_field_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | it | 8638434924191191040 |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| PARAM_VALUE | 2 | iter_kind | 0 |
| DATA_SOURCE | 1 | t | r btf_type_by_id |
kernel/bpf/btf_relocate.c btf_relocate_rewrite_strs() -> btf_field_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | it | 7465606511306719232 |
| PARAM_VALUE | 2 | iter_kind | 1 |
| DATA_SOURCE | 1 | t | r btf_type_by_id |
kernel/bpf/btf_relocate.c btf_relocate_rewrite_type_id() -> btf_field_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | it | 3778914031985922048 |
| PARAM_VALUE | 2 | iter_kind | 0 |
| DATA_SOURCE | 1 | t | r btf_type_by_id |