Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Drelo_core.c558 static int bpf_core_spec_match(struct bpf_core_spec *local_spec, in bpf_core_spec_match() argument
571 targ_spec->relo_kind = local_spec->relo_kind; in bpf_core_spec_match()
573 if (core_relo_is_type_based(local_spec->relo_kind)) { in bpf_core_spec_match()
574 if (local_spec->relo_kind == BPF_CORE_TYPE_MATCHES) in bpf_core_spec_match()
575 return bpf_core_types_match(local_spec->btf, in bpf_core_spec_match()
576 local_spec->root_type_id, in bpf_core_spec_match()
579 return bpf_core_types_are_compat(local_spec->btf, in bpf_core_spec_match()
580 local_spec->root_type_id, in bpf_core_spec_match()
584 local_acc = &local_spec->spec[0]; in bpf_core_spec_match()
587 if (core_relo_is_enumval_based(local_spec->relo_kind)) { in bpf_core_spec_match()
[all …]