Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Drelo_core.c557 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->relo_kind)) { in bpf_core_spec_match()
[all …]