Lines Matching refs:targ_spec
2705 struct bpf_core_spec *targ_spec) in bpf_core_spec_match() argument
2712 memset(targ_spec, 0, sizeof(*targ_spec)); in bpf_core_spec_match()
2713 targ_spec->btf = targ_btf; in bpf_core_spec_match()
2716 targ_acc = &targ_spec->spec[0]; in bpf_core_spec_match()
2719 targ_type = skip_mods_and_typedefs(targ_spec->btf, targ_id, in bpf_core_spec_match()
2728 targ_spec, &targ_id); in bpf_core_spec_match()
2751 if (targ_spec->raw_len == BPF_CORE_SPEC_MAX_LEN) in bpf_core_spec_match()
2757 targ_spec->len++; in bpf_core_spec_match()
2758 targ_spec->raw_spec[targ_spec->raw_len] = targ_acc->idx; in bpf_core_spec_match()
2759 targ_spec->raw_len++; in bpf_core_spec_match()
2764 targ_spec->offset += local_acc->idx * sz; in bpf_core_spec_match()
3006 struct bpf_core_spec local_spec, cand_spec, targ_spec; in bpf_core_reloc_offset() local
3075 targ_spec = cand_spec; in bpf_core_reloc_offset()
3076 } else if (cand_spec.offset != targ_spec.offset) { in bpf_core_reloc_offset()
3082 targ_spec.offset); in bpf_core_reloc_offset()
3097 local_spec.offset, targ_spec.offset); in bpf_core_reloc_offset()