Searched refs:local_spec (Results 1 – 1 of 1) sorted by relevance
4991 static int bpf_core_spec_match(struct bpf_core_spec *local_spec, in bpf_core_spec_match() argument5003 targ_spec->relo_kind = local_spec->relo_kind; in bpf_core_spec_match()5005 if (core_relo_is_type_based(local_spec->relo_kind)) { in bpf_core_spec_match()5006 return bpf_core_types_are_compat(local_spec->btf, in bpf_core_spec_match()5007 local_spec->root_type_id, in bpf_core_spec_match()5011 local_acc = &local_spec->spec[0]; in bpf_core_spec_match()5014 if (core_relo_is_enumval_based(local_spec->relo_kind)) { in bpf_core_spec_match()5044 if (!core_relo_is_field_based(local_spec->relo_kind)) in bpf_core_spec_match()5047 for (i = 0; i < local_spec->len; i++, local_acc++, targ_acc++) { in bpf_core_spec_match()5054 matched = bpf_core_match_member(local_spec->btf, in bpf_core_spec_match()[all …]