Searched refs:local_spec (Results 1 – 1 of 1) sorted by relevance
4989 static int bpf_core_spec_match(struct bpf_core_spec *local_spec, in bpf_core_spec_match() argument5001 targ_spec->relo_kind = local_spec->relo_kind; in bpf_core_spec_match()5003 if (core_relo_is_type_based(local_spec->relo_kind)) { in bpf_core_spec_match()5004 return bpf_core_types_are_compat(local_spec->btf, in bpf_core_spec_match()5005 local_spec->root_type_id, in bpf_core_spec_match()5009 local_acc = &local_spec->spec[0]; in bpf_core_spec_match()5012 if (core_relo_is_enumval_based(local_spec->relo_kind)) { in bpf_core_spec_match()5042 if (!core_relo_is_field_based(local_spec->relo_kind)) in bpf_core_spec_match()5045 for (i = 0; i < local_spec->len; i++, local_acc++, targ_acc++) { in bpf_core_spec_match()5052 matched = bpf_core_match_member(local_spec->btf, in bpf_core_spec_match()[all …]