Home
last modified time | relevance | path

Searched refs:t_var (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/tools/bpf/bpftool/
Dprog.c304 const struct btf_type *t_datasec, *t_var; in show_prog_metadata() local
345 t_var = btf__type_by_id(btf, vsi->type); in show_prog_metadata()
346 name = btf__name_by_offset(btf, t_var->name_off); in show_prog_metadata()
358 err = btf_dumper_type(&d, t_var->type, value + vsi->offset); in show_prog_metadata()
374 t_var = btf__type_by_id(btf, vsi->type); in show_prog_metadata()
375 name = btf__name_by_offset(btf, t_var->name_off); in show_prog_metadata()
396 err = btf_dumper_type(&d, t_var->type, value + vsi->offset); in show_prog_metadata()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.c2855 const struct btf_type *t_var; in btf_fixup_datasec() local
2880 t_var = btf__type_by_id(btf, vsi->type); in btf_fixup_datasec()
2881 if (!t_var || !btf_is_var(t_var)) { in btf_fixup_datasec()
2886 var = btf_var(t_var); in btf_fixup_datasec()
2890 name = btf__name_by_offset(btf, t_var->name_off); in btf_fixup_datasec()