Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/bpf/
H A Drelo_core.c149 const struct btf_type *local_type, *targ_type; in __bpf_core_types_are_compat() local
153 local_type = btf_type_by_id(local_btf, local_id); in __bpf_core_types_are_compat()
155 if (!btf_kind_core_compat(local_type, targ_type)) in __bpf_core_types_are_compat()
163 local_type = skip_mods_and_typedefs(local_btf, local_id, &local_id); in __bpf_core_types_are_compat()
165 if (!local_type || !targ_type) in __bpf_core_types_are_compat()
168 if (!btf_kind_core_compat(local_type, targ_type)) in __bpf_core_types_are_compat()
171 switch (btf_kind(local_type)) { in __bpf_core_types_are_compat()
183 return btf_int_offset(local_type) == 0 && btf_int_offset(targ_type) == 0; in __bpf_core_types_are_compat()
185 local_id = local_type->type; in __bpf_core_types_are_compat()
189 local_id = btf_array(local_type)->type; in __bpf_core_types_are_compat()
[all …]
H A Dlibbpf.c5749 const struct btf_type *local_type; in bpf_core_resolve_relo() local
5754 local_type = btf__type_by_id(local_btf, local_id); in bpf_core_resolve_relo()
5755 if (!local_type) in bpf_core_resolve_relo()
5758 local_name = btf__name_by_offset(local_btf, local_type->name_off); in bpf_core_resolve_relo()
5767 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_resolve_relo()
7659 const struct btf_type *local_type; in bpf_object__resolve_ksym_var_btf_id() local
7662 local_type = btf__type_by_id(obj->btf, local_type_id); in bpf_object__resolve_ksym_var_btf_id()
7663 local_name = btf__name_by_offset(obj->btf, local_type->name_off); in bpf_object__resolve_ksym_var_btf_id()
7668 btf_kind_str(local_type), local_name, targ_type_id, in bpf_object__resolve_ksym_var_btf_id()
/openbmc/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()
/openbmc/linux/tools/bpf/bpftool/
H A Dgen.c2001 const struct btf_type *local_type; in btfgen_find_cands() local
2011 local_type = btf__type_by_id(local_btf, local_id); in btfgen_find_cands()
2012 if (!local_type) { in btfgen_find_cands()
2017 local_name = btf__name_by_offset(local_btf, local_type->name_off); in btfgen_find_cands()
/openbmc/linux/kernel/bpf/
H A Dbtf.c8340 const struct btf_type *local_type; in bpf_core_find_cands() local
8353 local_type = btf_type_by_id(local_btf, local_type_id); in bpf_core_find_cands()
8354 if (!local_type) in bpf_core_find_cands()
8357 name = btf_name_by_offset(local_btf, local_type->name_off); in bpf_core_find_cands()
8364 cands->kind = btf_kind(local_type); in bpf_core_find_cands()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c3654 int local_type = in vxlan_config_validate() local
3659 if (local_type & IPV6_ADDR_LINKLOCAL) { in vxlan_config_validate()