Searched refs:fn_t (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_global_funcs.c | 93 const struct btf_type *fn_t, *proto_t; local 99 fn_t = btf__type_by_id(btf, rec->type_id); 100 if (!ASSERT_OK_PTR(fn_t, "fn_type")) 102 if (!ASSERT_EQ(btf_kind(fn_t), BTF_KIND_FUNC, "fn_type_kind")) 104 proto_t = btf__type_by_id(btf, fn_t->type); 108 name = btf__name_by_offset(btf, fn_t->name_off);
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 6714 struct btf_type *fn_t, *fn_proto_t, *t; local 6718 fn_t = btf_type_by_id(btf, orig_fn_id); 6719 fn_proto_t = btf_type_by_id(btf, fn_t->type); 6730 fn_name_off = fn_t->name_off; /* we are about to invalidate fn_t */ 6731 linkage = btf_func_linkage(fn_t); 6732 orig_proto_id = fn_t->type; /* original FUNC_PROTO ID */ 6766 fn_t = btf_type_by_id(btf, fn_id); 6767 fn_t->name_off = fn_name_off; /* reuse original string */ 6783 struct btf_type *fn_t, *fn_proto_ local [all...] |
/linux-master/kernel/bpf/ |
H A D | btf.c | 7138 const struct btf_type *t, *ref_t, *fn_t; local 7158 fn_t = btf_type_by_id(btf, btf_id); 7159 if (!fn_t || !btf_type_is_func(fn_t)) { 7167 tname = btf_name_by_offset(btf, fn_t->name_off); 7176 t = btf_type_by_id(btf, fn_t->type); 7212 while ((id = btf_find_next_decl_tag(btf, fn_t, i, "arg:", id)) > 0) {
|
Completed in 188 milliseconds