Home
last modified time | relevance | path

Searched refs:raw_len (Results 1 – 3 of 3) sorted by relevance

/tools/lib/bpf/
Drelo_core.c296 if (spec->raw_len == BPF_CORE_SPEC_MAX_LEN) in bpf_core_parse_spec()
299 spec->raw_spec[spec->raw_len++] = access_idx; in bpf_core_parse_spec()
302 if (spec->raw_len == 0) in bpf_core_parse_spec()
316 if (!btf_is_any_enum(t) || spec->raw_len > 1 || access_idx >= btf_vlen(t)) in bpf_core_parse_spec()
334 for (i = 1; i < spec->raw_len; i++) { in bpf_core_parse_spec()
513 if (spec->raw_len == BPF_CORE_SPEC_MAX_LEN) in bpf_core_match_member()
518 spec->raw_spec[spec->raw_len++] = i; in bpf_core_match_member()
547 spec->raw_len--; in bpf_core_match_member()
612 targ_spec->raw_spec[targ_spec->raw_len] = targ_acc->idx; in bpf_core_spec_match()
613 targ_spec->raw_len++; in bpf_core_spec_match()
[all …]
Drelo_core.h42 int raw_len; member
/tools/bpf/bpftool/
Dgen.c1818 for (int i = 1; i < targ_spec->raw_len; i++) { in btfgen_record_field_relo()