Lines Matching refs:btf
124 struct btf *btf, in codegen_datasec_def() argument
129 const char *sec_name = btf__name_by_offset(btf, sec->name_off); in codegen_datasec_def()
143 const struct btf_type *var = btf__type_by_id(btf, sec_var->type); in codegen_datasec_def()
144 const char *var_name = btf__name_by_offset(btf, var->name_off); in codegen_datasec_def()
163 align = btf__align_of(btf, var->type); in codegen_datasec_def()
213 struct btf *btf = bpf_object__btf(obj); in codegen_datasecs() local
214 int n = btf__type_cnt(btf); in codegen_datasecs()
221 d = btf_dump__new(btf, codegen_btf_dump_printf, NULL, NULL); in codegen_datasecs()
238 const struct btf_type *t = btf__type_by_id(btf, i); in codegen_datasecs()
244 name = btf__str_by_offset(btf, t->name_off); in codegen_datasecs()
265 err = codegen_datasec_def(obj, btf, d, sec, obj_name); in codegen_datasecs()
663 struct btf *btf; in do_skeleton() local
820 btf = bpf_object__btf(obj); in do_skeleton()
821 if (btf) { in do_skeleton()