Searched refs:find_btf_type (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | core_reloc.c | 413 static int find_btf_type(const struct btf *btf, const char *name, __u32 kind) in find_btf_type() function 483 exp->local_struct = find_btf_type(local_btf, "a_struct", BTF_KIND_STRUCT); in setup_type_id_case_local() 484 exp->local_union = find_btf_type(local_btf, "a_union", BTF_KIND_UNION); in setup_type_id_case_local() 485 exp->local_enum = find_btf_type(local_btf, "an_enum", BTF_KIND_ENUM); in setup_type_id_case_local() 486 exp->local_int = find_btf_type(local_btf, "int", BTF_KIND_INT); in setup_type_id_case_local() 487 exp->local_struct_typedef = find_btf_type(local_btf, "named_struct_typedef", BTF_KIND_TYPEDEF); in setup_type_id_case_local() 488 exp->local_func_proto_typedef = find_btf_type(local_btf, "func_proto_typedef", BTF_KIND_TYPEDEF); in setup_type_id_case_local() 489 exp->local_arr_typedef = find_btf_type(local_btf, "arr_typedef", BTF_KIND_TYPEDEF); in setup_type_id_case_local() 507 exp->targ_struct = find_btf_type(targ_btf, "a_struct", BTF_KIND_STRUCT); in setup_type_id_case_success() 508 exp->targ_union = find_btf_type(targ_btf, "a_union", BTF_KIND_UNION); in setup_type_id_case_success() [all …]
|