Defined in 2 files as a function:
Referenced in 10 files:
- include/linux/btf.h, line 284
- kernel/trace/trace_output.c, line 777
- tools/bpf/bpftool/btf_dumper.c, line 230
- tools/lib/bpf/btf_dump.c, line 1884
- tools/lib/bpf/btf_relocate.c
- tools/lib/bpf/libbpf.c, line 4190
- tools/lib/bpf/relo_core.c
- tools/testing/selftests/bpf/btf_helpers.c, line 107
- tools/testing/selftests/bpf/prog_tests/btf_write.c, line 36
- tools/testing/selftests/bpf/veristat.c, line 1871
Smatch caller information:
kernel/bpf/relo_core.c __bpf_core_types_match() -> btf_int_encoding()
| 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_int_encoding()
| 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_int_encoding()
| 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_calc_relo() -> btf_int_encoding()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_by_id |
| HALF_LOCKED2 | global &cand_cache_mutex |
kernel/bpf/relo_core.c bpf_core_calc_relo() -> btf_int_encoding()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_by_id |
| HALF_LOCKED2 | global &cand_cache_mutex |
kernel/bpf/btf_relocate.c btf_relocate_map_distilled_base() -> btf_int_encoding()
| 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_int_encoding()
| 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_type_is_signed_int() -> btf_int_encoding()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $0 |