Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Drelo_core.c148 const struct btf_type *local_type, *targ_type; in __bpf_core_types_are_compat() local
152 local_type = btf_type_by_id(local_btf, local_id); in __bpf_core_types_are_compat()
154 if (!btf_kind_core_compat(local_type, targ_type)) in __bpf_core_types_are_compat()
162 local_type = skip_mods_and_typedefs(local_btf, local_id, &local_id); in __bpf_core_types_are_compat()
164 if (!local_type || !targ_type) in __bpf_core_types_are_compat()
167 if (!btf_kind_core_compat(local_type, targ_type)) in __bpf_core_types_are_compat()
170 switch (btf_kind(local_type)) { in __bpf_core_types_are_compat()
182 return btf_int_offset(local_type) == 0 && btf_int_offset(targ_type) == 0; in __bpf_core_types_are_compat()
184 local_id = local_type->type; in __bpf_core_types_are_compat()
188 local_id = btf_array(local_type)->type; in __bpf_core_types_are_compat()
[all …]
H A Dlibbpf.c6097 const struct btf_type *local_type; in bpf_core_resolve_relo() local
6102 local_type = btf__type_by_id(local_btf, local_id); in bpf_core_resolve_relo()
6103 if (!local_type) in bpf_core_resolve_relo()
6106 local_name = btf__name_by_offset(local_btf, local_type->name_off); in bpf_core_resolve_relo()
6115 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_resolve_relo()
8778 const struct btf_type *local_type; in bpf_object__resolve_ksym_var_btf_id() local
8781 local_type = btf__type_by_id(obj->btf, local_type_id); in bpf_object__resolve_ksym_var_btf_id()
8782 local_name = btf__name_by_offset(obj->btf, local_type->name_off); in bpf_object__resolve_ksym_var_btf_id()
8787 btf_kind_str(local_type), local_name, targ_type_id, in bpf_object__resolve_ksym_var_btf_id()
/linux/drivers/acpi/acpica/
H A Ddbtest.c245 acpi_object_type local_type; in acpi_db_test_one_object() local
262 local_type = ACPI_TYPE_INTEGER; in acpi_db_test_one_object()
268 local_type = ACPI_TYPE_STRING; in acpi_db_test_one_object()
274 local_type = ACPI_TYPE_BUFFER; in acpi_db_test_one_object()
281 local_type = ACPI_TYPE_PACKAGE; in acpi_db_test_one_object()
289 local_type = ACPI_TYPE_FIELD_UNIT; in acpi_db_test_one_object()
298 local_type = ACPI_TYPE_INTEGER; in acpi_db_test_one_object()
303 local_type = ACPI_TYPE_BUFFER; in acpi_db_test_one_object()
327 switch (local_type) { in acpi_db_test_one_object()
356 local_type); in acpi_db_test_one_object()
/linux/tools/bpf/bpftool/
H A Dgen.c2397 const struct btf_type *local_type; in btfgen_find_cands() local
2407 local_type = btf__type_by_id(local_btf, local_id); in btfgen_find_cands()
2408 if (!local_type) { in btfgen_find_cands()
2413 local_name = btf__name_by_offset(local_btf, local_type->name_off); in btfgen_find_cands()
/linux/kernel/bpf/
H A Dbtf.c9625 const struct btf_type *local_type; in bpf_core_find_cands() local
9638 local_type = btf_type_by_id(local_btf, local_type_id); in bpf_core_find_cands()
9639 if (!local_type) in bpf_core_find_cands()
9642 name = btf_name_by_offset(local_btf, local_type->name_off); in bpf_core_find_cands()
9649 cands->kind = btf_kind(local_type); in bpf_core_find_cands()
/linux/drivers/net/vxlan/
H A Dvxlan_core.c3796 int local_type = in vxlan_config_validate() local
3801 if (local_type & IPV6_ADDR_LINKLOCAL) { in vxlan_config_validate()