Searched refs:local_spec (Results 1 - 1 of 1) sorted by relevance
/third_party/libbpf/src/ |
H A D | relo_core.c | 557 static int bpf_core_spec_match(struct bpf_core_spec *local_spec, in bpf_core_spec_match() argument 570 targ_spec->relo_kind = local_spec->relo_kind; in bpf_core_spec_match() 572 if (core_relo_is_type_based(local_spec->relo_kind)) { in bpf_core_spec_match() 573 if (local_spec->relo_kind == BPF_CORE_TYPE_MATCHES) in bpf_core_spec_match() 574 return bpf_core_types_match(local_spec->btf, in bpf_core_spec_match() 575 local_spec->root_type_id, in bpf_core_spec_match() 578 return bpf_core_types_are_compat(local_spec->btf, in bpf_core_spec_match() 579 local_spec->root_type_id, in bpf_core_spec_match() 583 local_acc = &local_spec->spec[0]; in bpf_core_spec_match() 586 if (core_relo_is_enumval_based(local_spec in bpf_core_spec_match() 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) bpf_core_calc_relo() argument 1288 struct bpf_core_spec *local_spec = &specs_scratch[0]; bpf_core_calc_relo_insn() local [all...] |
Completed in 2 milliseconds