Searched refs:local_spec (Results 1 – 1 of 1) sorted by relevance
4932 static int bpf_core_spec_match(struct bpf_core_spec *local_spec, in bpf_core_spec_match() argument4944 targ_spec->relo_kind = local_spec->relo_kind; in bpf_core_spec_match()4946 if (core_relo_is_type_based(local_spec->relo_kind)) { in bpf_core_spec_match()4947 return bpf_core_types_are_compat(local_spec->btf, in bpf_core_spec_match()4948 local_spec->root_type_id, in bpf_core_spec_match()4952 local_acc = &local_spec->spec[0]; in bpf_core_spec_match()4955 if (core_relo_is_enumval_based(local_spec->relo_kind)) { in bpf_core_spec_match()4985 if (!core_relo_is_field_based(local_spec->relo_kind)) in bpf_core_spec_match()4988 for (i = 0; i < local_spec->len; i++, local_acc++, targ_acc++) { in bpf_core_spec_match()4995 matched = bpf_core_match_member(local_spec->btf, in bpf_core_spec_match()[all …]