Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dlibbpf.c2369 int access_idx, parsed_len, i; in bpf_core_spec_parse() local
2385 if (sscanf(spec_str, "%d%n", &access_idx, &parsed_len) != 1) in bpf_core_spec_parse()
2390 spec->raw_spec[spec->raw_len++] = access_idx; in bpf_core_spec_parse()
2401 access_idx = spec->raw_spec[0]; in bpf_core_spec_parse()
2403 spec->spec[0].idx = access_idx; in bpf_core_spec_parse()
2409 spec->offset = access_idx * sz; in bpf_core_spec_parse()
2416 access_idx = spec->raw_spec[i]; in bpf_core_spec_parse()
2422 if (access_idx >= btf_vlen(t)) in bpf_core_spec_parse()
2424 if (btf_member_bitfield_size(t, access_idx)) in bpf_core_spec_parse()
2427 offset = btf_member_bit_offset(t, access_idx); in bpf_core_spec_parse()
[all …]