Home
last modified time | relevance | path

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

/tools/bpf/bpftool/
Dbtf_dumper.c329 struct btf_var_secinfo *vsi; in btf_dumper_datasec() local
338 vsi = (struct btf_var_secinfo *)(t + 1); in btf_dumper_datasec()
344 ret = btf_dumper_do_type(d, vsi[i].type, 0, data + vsi[i].offset); in btf_dumper_datasec()
/tools/lib/bpf/
Dbtf.c507 struct btf_var_secinfo *vsi; in btf_fixup_datasec() local
524 for (i = 0, vsi = btf_var_secinfos(t); i < vars; i++, vsi++) { in btf_fixup_datasec()
525 t_var = btf__type_by_id(btf, vsi->type); in btf_fixup_datasec()
549 vsi->offset = off; in btf_fixup_datasec()
552 qsort(t + 1, vars, sizeof(*vsi), compare_vsi_off); in btf_fixup_datasec()