Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dlibbpf.c2577 const struct btf_type *local_type, *targ_type; in bpf_core_fields_are_compat() local
2581 targ_type = skip_mods_and_typedefs(targ_btf, targ_id, &targ_id); in bpf_core_fields_are_compat()
2582 if (!local_type || !targ_type) in bpf_core_fields_are_compat()
2585 if (btf_is_composite(local_type) && btf_is_composite(targ_type)) in bpf_core_fields_are_compat()
2587 if (btf_kind(local_type) != btf_kind(targ_type)) in bpf_core_fields_are_compat()
2595 return local_type->size == targ_type->size; in bpf_core_fields_are_compat()
2598 btf_int_offset(targ_type) == 0 && in bpf_core_fields_are_compat()
2599 local_type->size == targ_type->size && in bpf_core_fields_are_compat()
2600 btf_int_bits(local_type) == btf_int_bits(targ_type); in bpf_core_fields_are_compat()
2603 targ_id = btf_array(targ_type)->type; in bpf_core_fields_are_compat()
[all …]