Lines Matching full:bit_offset
332 spec->bit_offset = access_idx * sz * 8; in bpf_core_parse_spec()
344 __u32 bit_offset; in bpf_core_parse_spec() local
349 bit_offset = btf_member_bit_offset(t, access_idx); in bpf_core_parse_spec()
350 spec->bit_offset += bit_offset; in bpf_core_parse_spec()
384 spec->bit_offset += access_idx * sz * 8; in bpf_core_parse_spec()
508 __u32 bit_offset; in bpf_core_match_member() local
510 bit_offset = btf_member_bit_offset(targ_type, i); in bpf_core_match_member()
517 spec->bit_offset += bit_offset; in bpf_core_match_member()
546 spec->bit_offset -= bit_offset; in bpf_core_match_member()
671 targ_spec->bit_offset += local_acc->idx * sz * 8; in bpf_core_spec_match()
708 *val = spec->bit_offset / 8; in bpf_core_calc_field_relo()
732 bit_off = spec->bit_offset; in bpf_core_calc_field_relo()
755 byte_off = spec->bit_offset / 8; in bpf_core_calc_field_relo()
1219 if (spec->bit_offset % 8) in bpf_core_format_spec()
1220 append_buf(" @ offset %u.%u)", spec->bit_offset / 8, spec->bit_offset % 8); in bpf_core_format_spec()
1222 append_buf(" @ offset %u)", spec->bit_offset / 8); in bpf_core_format_spec()
1361 } else if (cand_spec->bit_offset != targ_spec->bit_offset) { in bpf_core_calc_relo_insn()
1366 prog_name, relo_idx, cand_spec->bit_offset, in bpf_core_calc_relo_insn()
1367 targ_spec->bit_offset); in bpf_core_calc_relo_insn()