Defined in 2 files as a function:
Referenced in 6 files:
- tools/bpf/bpftool/gen.c, line 2554
- tools/lib/bpf/btf_dump.c
- tools/lib/bpf/libbpf.c
- tools/lib/bpf/relo_core.c
- tools/testing/selftests/bpf/btf_helpers.c, line 132
- tools/testing/selftests/bpf/prog_tests/btf_write.c
Smatch caller information:
kernel/bpf/relo_core.c bpf_core_match_member() -> btf_member_bit_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 1 | member_idx | 0-16777214 |
| CAPPED_DATA | 1 | member_idx | 1 |
| DATA_SOURCE | 0 | t | r skip_mods_and_typedefs |
kernel/bpf/relo_core.c bpf_core_parse_spec() -> btf_member_bit_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 1 | member_idx | 0-16777214 |
| CAPPED_DATA | 1 | member_idx | 1 |
| DATA_SOURCE | 0 | t | r skip_mods_and_typedefs |
| HALF_LOCKED2 | global &cand_cache_mutex |