Lines Matching refs:targ_spec

4993 			       struct bpf_core_spec *targ_spec)  in bpf_core_spec_match()  argument
5000 memset(targ_spec, 0, sizeof(*targ_spec)); in bpf_core_spec_match()
5001 targ_spec->btf = targ_btf; in bpf_core_spec_match()
5002 targ_spec->root_type_id = targ_id; in bpf_core_spec_match()
5003 targ_spec->relo_kind = local_spec->relo_kind; in bpf_core_spec_match()
5012 targ_acc = &targ_spec->spec[0]; in bpf_core_spec_match()
5020 targ_type = skip_mods_and_typedefs(targ_spec->btf, targ_id, &targ_id); in bpf_core_spec_match()
5027 targ_name = btf__name_by_offset(targ_spec->btf, e->name_off); in bpf_core_spec_match()
5035 targ_spec->len++; in bpf_core_spec_match()
5036 targ_spec->raw_spec[targ_spec->raw_len] = targ_acc->idx; in bpf_core_spec_match()
5037 targ_spec->raw_len++; in bpf_core_spec_match()
5048 targ_type = skip_mods_and_typedefs(targ_spec->btf, targ_id, in bpf_core_spec_match()
5057 targ_spec, &targ_id); in bpf_core_spec_match()
5082 if (targ_spec->raw_len == BPF_CORE_SPEC_MAX_LEN) in bpf_core_spec_match()
5088 targ_spec->len++; in bpf_core_spec_match()
5089 targ_spec->raw_spec[targ_spec->raw_len] = targ_acc->idx; in bpf_core_spec_match()
5090 targ_spec->raw_len++; in bpf_core_spec_match()
5095 targ_spec->bit_offset += local_acc->idx * sz * 8; in bpf_core_spec_match()
5322 const struct bpf_core_spec *targ_spec, in bpf_core_calc_relo() argument
5339 err = err ?: bpf_core_calc_field_relo(prog, relo, targ_spec, in bpf_core_calc_relo()
5353 new_t = btf__type_by_id(targ_spec->btf, res->new_type_id); in bpf_core_calc_relo()
5383 err = err ?: bpf_core_calc_type_relo(relo, targ_spec, &res->new_val); in bpf_core_calc_relo()
5386 err = err ?: bpf_core_calc_enumval_relo(relo, targ_spec, &res->new_val); in bpf_core_calc_relo()
5729 struct bpf_core_spec local_spec, cand_spec, targ_spec = {}; in bpf_core_apply_relo() local
5822 targ_spec = cand_spec; in bpf_core_apply_relo()
5823 } else if (cand_spec.bit_offset != targ_spec.bit_offset) { in bpf_core_apply_relo()
5829 targ_spec.bit_offset); in bpf_core_apply_relo()