Lines Matching refs:vi
1663 const struct btf_var_secinfo *vi;
1691 vi = btf_var_secinfos(t);
1692 for (j = 0, m = btf_vlen(t); j < m; j++, vi++) {
1693 t = btf__type_by_id(obj->btf, vi->type);
1703 if (btf_id && btf_id != vi->type) {
1705 sym_name, btf_id, vi->type);
1710 *out_btf_id = vi->type;
2141 struct btf_var_secinfo *vi;
2194 vi = btf_var_secinfos(t);
2195 for (j = 0, m = btf_vlen(t); j < m; j++, vi++) {
2196 const struct btf_type *vt = btf__type_by_id(obj->btf, vi->type);
2211 vi->offset = sym->st_value;
2683 struct btf_var_secinfo *vi = &sec->sec_vars[j];
2685 if (btf__add_datasec_var_info(btf, vi->type, vi->offset, vi->size))