Home
last modified time | relevance | path

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

/linux-6.12.1/tools/bpf/bpftool/Documentation/
Dbpftool-btf.rst178 [18] FUNC_PROTO '(anon)' ret_type_id=3 vlen=2
254 [104854] FUNC_PROTO '(anon)' ret_type_id=18 vlen=1
258 [104857] FUNC_PROTO '(anon)' ret_type_id=18 vlen=2
/linux-6.12.1/tools/lib/bpf/
Dbtf.h231 LIBBPF_API int btf__add_func_proto(struct btf *btf, int ret_type_id);
Dbtf.c2632 int btf__add_func_proto(struct btf *btf, int ret_type_id) in btf__add_func_proto() argument
2637 if (validate_type_id(ret_type_id)) in btf__add_func_proto()
2653 t->type = ret_type_id; in btf__add_func_proto()
Dlibbpf.c6797 int fn_id, fn_proto_id, ret_type_id, orig_proto_id; in clone_func_btf_info() local
6818 ret_type_id = fn_proto_t->type; /* fn_proto_t will be invalidated */ in clone_func_btf_info()
6822 fn_proto_id = btf__add_func_proto(btf, ret_type_id); in clone_func_btf_info()
/linux-6.12.1/kernel/bpf/
Dbtf.c5020 u32 ret_type_id = t->type; in btf_func_proto_check() local
5022 ret_type = btf_type_by_id(btf, ret_type_id); in btf_func_proto_check()
5034 !env_type_is_resolved(env, ret_type_id)) { in btf_func_proto_check()
5035 err = btf_resolve(env, ret_type, ret_type_id); in btf_func_proto_check()
5041 if (!btf_type_id_size(btf, &ret_type_id, NULL)) { in btf_func_proto_check()