Lines Matching refs:acc
72 const struct bpf_core_accessor *acc,
78 if (!acc->name || arr->nelems > 0)
82 t = btf_type_by_id(btf, acc->type_id);
83 return acc->idx == btf_vlen(t) - 1;
268 struct bpf_core_accessor *acc;
310 acc = &spec->spec[0];
311 acc->type_id = id;
312 acc->idx = access_idx;
322 acc->name = btf__name_by_offset(btf, name_off);
340 acc = &spec->spec[spec->len];
358 acc->type_id = id;
359 acc->idx = access_idx;
360 acc->name = name;
373 flex = is_flex_arr(btf, acc - 1, a);
684 const struct bpf_core_accessor *acc;
702 acc = &spec->spec[spec->len - 1];
703 t = btf_type_by_id(spec->btf, acc->type_id);
706 if (!acc->name) {
710 sz = btf__resolve_size(spec->btf, acc->type_id);
714 *type_id = acc->type_id;
716 sz = btf__resolve_size(spec->btf, acc->type_id);
730 m = btf_members(t) + acc->idx;
733 bit_sz = btf_member_bitfield_size(t, acc->idx);