Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc.c412 static int find_btf_type(const struct btf *btf, const char *name, __u32 kind) in find_btf_type() function
482 exp->local_struct = find_btf_type(local_btf, "a_struct", BTF_KIND_STRUCT); in setup_type_id_case_local()
483 exp->local_union = find_btf_type(local_btf, "a_union", BTF_KIND_UNION); in setup_type_id_case_local()
484 exp->local_enum = find_btf_type(local_btf, "an_enum", BTF_KIND_ENUM); in setup_type_id_case_local()
485 exp->local_int = find_btf_type(local_btf, "int", BTF_KIND_INT); in setup_type_id_case_local()
488 exp->local_arr_typedef = find_btf_type(local_btf, "arr_typedef", BTF_KIND_TYPEDEF); in setup_type_id_case_local()
506 exp->targ_struct = find_btf_type(targ_btf, "a_struct", BTF_KIND_STRUCT); in setup_type_id_case_success()
507 exp->targ_union = find_btf_type(targ_btf, "a_union", BTF_KIND_UNION); in setup_type_id_case_success()
508 exp->targ_enum = find_btf_type(targ_btf, "an_enum", BTF_KIND_ENUM); in setup_type_id_case_success()
509 exp->targ_int = find_btf_type(targ_btf, "int", BTF_KIND_INT); in setup_type_id_case_success()
[all …]