Home
last modified time | relevance | path

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

/Linux-v6.6/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.c5743 const struct btf_type *local_type; in bpf_core_resolve_relo() local
5748 local_type = btf__type_by_id(local_btf, local_id); in bpf_core_resolve_relo()
5749 if (!local_type) in bpf_core_resolve_relo()
5752 local_name = btf__name_by_offset(local_btf, local_type->name_off); in bpf_core_resolve_relo()
5761 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_resolve_relo()
7649 const struct btf_type *local_type; in bpf_object__resolve_ksym_var_btf_id() local
7652 local_type = btf__type_by_id(obj->btf, local_type_id); in bpf_object__resolve_ksym_var_btf_id()
7653 local_name = btf__name_by_offset(obj->btf, local_type->name_off); in bpf_object__resolve_ksym_var_btf_id()
7658 btf_kind_str(local_type), local_name, targ_type_id, in bpf_object__resolve_ksym_var_btf_id()
/Linux-v6.6/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-v6.6/tools/bpf/bpftool/
Dgen.c1998 const struct btf_type *local_type; in btfgen_find_cands() local
2008 local_type = btf__type_by_id(local_btf, local_id); in btfgen_find_cands()
2009 if (!local_type) { in btfgen_find_cands()
2014 local_name = btf__name_by_offset(local_btf, local_type->name_off); in btfgen_find_cands()
/Linux-v6.6/kernel/bpf/
Dbtf.c8333 const struct btf_type *local_type; in bpf_core_find_cands() local
8346 local_type = btf_type_by_id(local_btf, local_type_id); in bpf_core_find_cands()
8347 if (!local_type) in bpf_core_find_cands()
8350 name = btf_name_by_offset(local_btf, local_type->name_off); in bpf_core_find_cands()
8357 cands->kind = btf_kind(local_type); in bpf_core_find_cands()
/Linux-v6.6/drivers/net/vxlan/
Dvxlan_core.c3630 int local_type = in vxlan_config_validate() local
3635 if (local_type & IPV6_ADDR_LINKLOCAL) { in vxlan_config_validate()