Searched refs:field_type_id (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | relo_core.c | 685 __u32 byte_off, byte_sz, bit_off, bit_sz, field_type_id, elem_id; in bpf_core_calc_field_relo() local 736 mt = skip_mods_and_typedefs(spec->btf, m->type, &field_type_id); in bpf_core_calc_field_relo() 756 sz = btf__resolve_size(spec->btf, field_type_id); in bpf_core_calc_field_relo() 779 t = skip_mods_and_typedefs(spec->btf, field_type_id, &elem_id); in bpf_core_calc_field_relo() 786 *type_id = field_type_id; in bpf_core_calc_field_relo()
|
| H A D | btf.h | 214 LIBBPF_API int btf__add_field(struct btf *btf, const char *name, int field_type_id,
|