Home
last modified time | relevance | path

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

/linux-6.12.1/tools/bpf/bpftool/
Dprog.c306 const struct btf_type *t_datasec, *t_var; in show_prog_metadata() local
347 t_var = btf__type_by_id(btf, vsi->type); in show_prog_metadata()
348 name = btf__name_by_offset(btf, t_var->name_off); in show_prog_metadata()
360 err = btf_dumper_type(&d, t_var->type, value + vsi->offset); in show_prog_metadata()
376 t_var = btf__type_by_id(btf, vsi->type); in show_prog_metadata()
377 name = btf__name_by_offset(btf, t_var->name_off); in show_prog_metadata()
398 err = btf_dumper_type(&d, t_var->type, value + vsi->offset); in show_prog_metadata()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c3336 const struct btf_type *t_var; in btf_fixup_datasec() local
3341 t_var = btf__type_by_id(btf, vsi->type); in btf_fixup_datasec()
3342 if (!t_var || !btf_is_var(t_var)) { in btf_fixup_datasec()
3347 var = btf_var(t_var); in btf_fixup_datasec()
3351 var_name = btf__name_by_offset(btf, t_var->name_off); in btf_fixup_datasec()