Searched refs:t_var (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/tools/bpf/bpftool/ |
D | prog.c | 306 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.6.21/tools/lib/bpf/ |
D | libbpf.c | 2954 const struct btf_type *t_var; in btf_fixup_datasec() local 2959 t_var = btf__type_by_id(btf, vsi->type); in btf_fixup_datasec() 2960 if (!t_var || !btf_is_var(t_var)) { in btf_fixup_datasec() 2965 var = btf_var(t_var); in btf_fixup_datasec() 2969 var_name = btf__name_by_offset(btf, t_var->name_off); in btf_fixup_datasec()
|