Home
last modified time | relevance | path

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

/linux-6.15/tools/lib/bpf/
H A Drelo_core.c567 memset(targ_spec, 0, sizeof(*targ_spec)); in bpf_core_spec_match()
568 targ_spec->btf = targ_btf; in bpf_core_spec_match()
611 targ_spec->len++; in bpf_core_spec_match()
612 targ_spec->raw_spec[targ_spec->raw_len] = targ_acc->idx; in bpf_core_spec_match()
613 targ_spec->raw_len++; in bpf_core_spec_match()
633 targ_spec, &targ_id); in bpf_core_spec_match()
664 targ_spec->len++; in bpf_core_spec_match()
665 targ_spec->raw_spec[targ_spec->raw_len] = targ_acc->idx; in bpf_core_spec_match()
666 targ_spec->raw_len++; in bpf_core_spec_match()
1376 *targ_spec = *cand_spec; in bpf_core_calc_relo_insn()
[all …]
/linux-6.15/tools/bpf/bpftool/
H A Dgen.c2105 static int btfgen_record_field_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec) in btfgen_record_field_relo() argument
2111 unsigned int type_id = targ_spec->root_type_id; in btfgen_record_field_relo()
2121 for (int i = 1; i < targ_spec->raw_len; i++) { in btfgen_record_field_relo()
2131 idx = targ_spec->raw_spec[i]; in btfgen_record_field_relo()
2260 static int btfgen_record_type_match_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec) in btfgen_record_type_match_relo() argument
2262 return btfgen_mark_type_match(info, targ_spec->root_type_id, false); in btfgen_record_type_match_relo()
2265 static int btfgen_record_type_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec) in btfgen_record_type_relo() argument
2267 return btfgen_mark_type(info, targ_spec->root_type_id, true); in btfgen_record_type_relo()
2270 static int btfgen_record_enumval_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec) in btfgen_record_enumval_relo() argument
2272 return btfgen_mark_type(info, targ_spec->root_type_id, false); in btfgen_record_enumval_relo()