Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_field_iter.c76 btf__add_func(btf, "func", BTF_FUNC_GLOBAL, 13);/* [14] int func(int p1, int *p2); */ in test_btf_field_iter()
H A Dbtf_distill.c119 btf__add_func(btf2, "fn", BTF_FUNC_STATIC, 14); /* [27] int fn(int p1); */ in test_distilled_base()
H A Dbtf_write.c219 id = btf__add_func(btf, "func1", BTF_FUNC_GLOBAL, 15); in gen_btf()
/linux/tools/lib/bpf/
H A Dlibbpf.map217 btf__add_func;
H A Dbtf.h260 LIBBPF_API int btf__add_func(struct btf *btf, const char *name,
H A Dbtf.c3022 int btf__add_func(struct btf *btf, const char *name, in btf__add_func() function
H A Dlibbpf.c7320 fn_id = btf__add_func(btf, prog->name, linkage, fn_proto_id); in clone_func_btf_info()
/linux/tools/bpf/resolve_btfids/
H A Dmain.c1256 new_func_id = btf__add_func(btf, tmp_name, linkage, proto_id); in process_kfunc_with_implicit_args()