Searched refs:targ_spec (Results 1 - 2 of 2) sorted by relevance
/linux-master/tools/lib/bpf/ |
H A D | relo_core.c | 559 struct bpf_core_spec *targ_spec) 567 memset(targ_spec, 0, sizeof(*targ_spec)); 568 targ_spec->btf = targ_btf; 569 targ_spec->root_type_id = targ_id; 570 targ_spec->relo_kind = local_spec->relo_kind; 584 targ_acc = &targ_spec->spec[0]; 591 targ_type = skip_mods_and_typedefs(targ_spec->btf, targ_id, &targ_id); 603 targ_name = btf__name_by_offset(targ_spec->btf, name_off); 611 targ_spec 557 bpf_core_spec_match(struct bpf_core_spec *local_spec, const struct btf *targ_btf, __u32 targ_id, struct bpf_core_spec *targ_spec) argument 879 bpf_core_calc_relo(const char *prog_name, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_spec *local_spec, const struct bpf_core_spec *targ_spec, struct bpf_core_relo_res *res) argument 1290 struct bpf_core_spec *targ_spec = &specs_scratch[2]; local [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | gen.c | 2056 static int btfgen_record_field_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec) argument 2062 unsigned int type_id = targ_spec->root_type_id; 2072 for (int i = 1; i < targ_spec->raw_len; i++) { 2082 idx = targ_spec->raw_spec[i]; 2211 static int btfgen_record_type_match_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec) argument 2213 return btfgen_mark_type_match(info, targ_spec->root_type_id, false); 2216 static int btfgen_record_type_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec) argument 2218 return btfgen_mark_type(info, targ_spec->root_type_id, true); 2221 static int btfgen_record_enumval_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec) argument 2223 return btfgen_mark_type(info, targ_spec [all...] |
Completed in 122 milliseconds