Searched refs:find_btf_type (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | core_reloc.c | 351 static int find_btf_type(const struct btf *btf, const char *name, __u32 kind) in find_btf_type() function 421 exp->local_struct = find_btf_type(local_btf, "a_struct", BTF_KIND_STRUCT); in setup_type_id_case_local() 422 exp->local_union = find_btf_type(local_btf, "a_union", BTF_KIND_UNION); in setup_type_id_case_local() 423 exp->local_enum = find_btf_type(local_btf, "an_enum", BTF_KIND_ENUM); in setup_type_id_case_local() 424 exp->local_int = find_btf_type(local_btf, "int", BTF_KIND_INT); in setup_type_id_case_local() 427 exp->local_arr_typedef = find_btf_type(local_btf, "arr_typedef", BTF_KIND_TYPEDEF); in setup_type_id_case_local() 445 exp->targ_struct = find_btf_type(targ_btf, "a_struct", BTF_KIND_STRUCT); in setup_type_id_case_success() 446 exp->targ_union = find_btf_type(targ_btf, "a_union", BTF_KIND_UNION); in setup_type_id_case_success() 447 exp->targ_enum = find_btf_type(targ_btf, "an_enum", BTF_KIND_ENUM); in setup_type_id_case_success() 448 exp->targ_int = find_btf_type(targ_btf, "int", BTF_KIND_INT); in setup_type_id_case_success() [all …]
|
Completed in 5 milliseconds