Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
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 …]
Dlibbpf.c5819 const struct btf_type *local_type; in bpf_core_resolve_relo() local
5824 local_type = btf__type_by_id(local_btf, local_id); in bpf_core_resolve_relo()
5825 if (!local_type) in bpf_core_resolve_relo()
5828 local_name = btf__name_by_offset(local_btf, local_type->name_off); in bpf_core_resolve_relo()
5837 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_resolve_relo()
8214 const struct btf_type *local_type; in bpf_object__resolve_ksym_var_btf_id() local
8217 local_type = btf__type_by_id(obj->btf, local_type_id); in bpf_object__resolve_ksym_var_btf_id()
8218 local_name = btf__name_by_offset(obj->btf, local_type->name_off); in bpf_object__resolve_ksym_var_btf_id()
8223 btf_kind_str(local_type), local_name, targ_type_id, in bpf_object__resolve_ksym_var_btf_id()
/linux-6.12.1/drivers/acpi/acpica/
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-6.12.1/tools/bpf/bpftool/
Dgen.c2304 const struct btf_type *local_type; in btfgen_find_cands() local
2314 local_type = btf__type_by_id(local_btf, local_id); in btfgen_find_cands()
2315 if (!local_type) { in btfgen_find_cands()
2320 local_name = btf__name_by_offset(local_btf, local_type->name_off); in btfgen_find_cands()
/linux-6.12.1/kernel/bpf/
Dbtf.c8866 const struct btf_type *local_type; in bpf_core_find_cands() local
8879 local_type = btf_type_by_id(local_btf, local_type_id); in bpf_core_find_cands()
8880 if (!local_type) in bpf_core_find_cands()
8883 name = btf_name_by_offset(local_btf, local_type->name_off); in bpf_core_find_cands()
8890 cands->kind = btf_kind(local_type); in bpf_core_find_cands()
/linux-6.12.1/drivers/net/vxlan/
Dvxlan_core.c3746 int local_type = in vxlan_config_validate() local
3751 if (local_type & IPV6_ADDR_LINKLOCAL) { in vxlan_config_validate()