Lines Matching refs:btf
95 struct btf *btf, in codegen_datasec_def() argument
100 const char *sec_name = btf__name_by_offset(btf, sec->name_off); in codegen_datasec_def()
122 const struct btf_type *var = btf__type_by_id(btf, sec_var->type); in codegen_datasec_def()
123 const char *var_name = btf__name_by_offset(btf, var->name_off); in codegen_datasec_def()
138 align = btf__align_of(btf, var->type); in codegen_datasec_def()
188 struct btf *btf = bpf_object__btf(obj); in codegen_datasecs() local
189 int n = btf__get_nr_types(btf); in codegen_datasecs()
193 d = btf_dump__new(btf, NULL, NULL, codegen_btf_dump_printf); in codegen_datasecs()
198 const struct btf_type *t = btf__type_by_id(btf, i); in codegen_datasecs()
203 err = codegen_datasec_def(obj, btf, d, t, obj_name); in codegen_datasecs()
282 struct btf *btf; in do_skeleton() local
383 btf = bpf_object__btf(obj); in do_skeleton()
384 if (btf) { in do_skeleton()