Defined in 1 files as a struct:
Defined in 2 files as a function:
Referenced in 24 files:
- include/linux/btf.h, line 487
- kernel/bpf/btf.c
- kernel/bpf/inode.c
- kernel/trace/trace_output.c
- tools/bpf/bpftool/btf.c
- tools/bpf/bpftool/btf_dumper.c
- tools/lib/bpf/btf.c
- tools/lib/bpf/btf.h, line 601
- tools/lib/bpf/btf_dump.c
- tools/lib/bpf/btf_iter.c
- tools/lib/bpf/libbpf.c
- tools/lib/bpf/relo_core.c
- tools/perf/builtin-trace.c
- tools/sched_ext/include/scx/compat.h
- tools/testing/selftests/bpf/btf_helpers.c
- tools/testing/selftests/bpf/prog_tests/btf.c, line 8189
- tools/testing/selftests/bpf/prog_tests/btf_dump.c
- tools/testing/selftests/bpf/prog_tests/btf_write.c
- tools/testing/selftests/bpf/prog_tests/core_reloc.c, line 463
- tools/testing/selftests/bpf/prog_tests/libbpf_probes.c
- tools/testing/selftests/bpf/prog_tests/libbpf_str.c
- tools/testing/selftests/bpf/progs/netif_receive_skb.c
- tools/testing/selftests/bpf/test_progs.c
- tools/testing/selftests/bpf/veristat.c
Smatch caller information:
kernel/bpf/inode.c find_btf_enum_const() -> btf_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | t | 0 |
| DATA_SOURCE | 0 | t | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
kernel/bpf/inode.c seq_print_delegate_opts() -> btf_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | t | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &namespace_sem |
kernel/bpf/relo_core.c bpf_core_calc_enumval_relo() -> btf_enum()
| 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_enums_match() -> btf_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t->size | 1 |
| DATA_SOURCE | 0 | t | $1 |
kernel/bpf/relo_core.c bpf_core_enums_match() -> btf_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t->size | 1 |
| DATA_SOURCE | 0 | t | $3 |
kernel/bpf/relo_core.c bpf_core_format_spec() -> btf_enum()
| 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_parse_spec() -> btf_enum()
| 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_enum()
| 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 |