Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Drelo_core.c267 int access_idx, parsed_len, i; in bpf_core_parse_spec() local
294 if (sscanf(spec_str, "%d%n", &access_idx, &parsed_len) != 1) in bpf_core_parse_spec()
299 spec->raw_spec[spec->raw_len++] = access_idx; in bpf_core_parse_spec()
309 access_idx = spec->raw_spec[0]; in bpf_core_parse_spec()
312 acc->idx = access_idx; 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()
320 name_off = btf_is_enum(t) ? btf_enum(t)[access_idx].name_off in bpf_core_parse_spec()
321 : btf_enum64(t)[access_idx].name_off; in bpf_core_parse_spec()
332 spec->bit_offset = access_idx * sz * 8; in bpf_core_parse_spec()
339 access_idx = spec->raw_spec[i]; in bpf_core_parse_spec()
[all …]